The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Faster deployment speed

Started by jondra · Feb 4, 2015

52 replies722,396 views
Feb 5, 2015#31

win7 64bit, I always compile it to x64 and it works just perfect with the orginal script, but not after the changes.

Feb 5, 2015#32

@jondra compile the script x86 and enjoy ...
edit: safar versions working in x86 either you are using 32bit or 64bit just compile it x86....

Feb 5, 2015#33

win7 64bit, I always compile it to x64 and it works just perfect with the orginal script, but not after the changes.

If you got "Error cannot check for Dead Base, Attacking"
It because you was Run/Compile Script as x64 (it make dead base error).
TRY TO RUN IT AS X86, If you have the same issue. Try to re-install your AutoIt3

source: https://the.bytecode.club/showthread.php?tid=441

Feb 5, 2015#34

works fine with x86, thanks a lot 🙂

Feb 5, 2015#36

5.4.5.2.2 is really bad 2 line of barbs below then 2 line of barbs above then arch below etc etc.. so slowly by the time the archers went in no more barbs survived then next all archers died before scd wave lol

Feb 5, 2015#37

@jondra try this for more fast
EDIT: (no need anymore after new v5.5.1.1)

Feb 5, 2015#38

SongHyeKyo wrote:

M Khalid wrote:

@jondra try this for more fast
http://www25.zippyshare.com/v/IyBQmpyx/file.html

Thank You for this i copy paste the code to 5.5v

More fast removing the if sleep

I try to combine safar bot ( LF style ) and M Khalid ( edited script ) = more speed

But still lazy pressing is the fastest ...

I like to combine 5.5v + safar bot ( LF style ) and M khalid ( edited script ) but i don't know what should i copy paste from safar bot ( LF STYLE ) script to combine to 5.5v

Feb 5, 2015#39

@songhyekyo removing is more better than negative 1...lol
i think its easy to combine, just copy and paste...

Feb 5, 2015#40

Guys the solution for faster deployment is easy...

(Thx @dinobot)

Just edit the sleeptime in your attack-script
for me it is in "COC-Bot-v5.5\COCBot\functions\Attack\Attack Algorithms\algorithm_AllTroops.au3"
(bot v5.5)

		 ; ================================================================================
		 ; ========= Here is coded the main attack strategy ===============================
		 ; ========= Feel free to experiment something else ===============================
		 ; ================================================================================
		 algorithmTH()
		 if LauchTroop($eGiant, $nbSides, 1, 1, 1) Then
			If _Sleep(200) Then Return
			   EndIf
		 if LauchTroop($eBarbarian, $nbSides, 1, 2) Then
			If _Sleep(200) Then Return
			   EndIf
		 if LauchTroop($eArcher, $nbSides, 1, 2) Then
			If _Sleep(100) Then Return
			   EndIf
		 If _Sleep(200) Then Return
		 If LauchTroop($eBarbarian, $nbSides, 2, 2) Then
			If _Sleep(100) Then Return
			EndIf
		 if LauchTroop($eWallbreaker, $nbSides, 1, 1, 1) Then
			If _Sleep(50) Then Return
			   EndIf
		 If LauchTroop($eGoblin, $nbSides, 1, 2) Then
			If _Sleep(50) Then Return
			   EndIf
		 If LauchTroop($eArcher, $nbSides, 2, 2) Then
			If _Sleep(50) Then Return
			   EndIf
		 If LauchTroop($eGoblin, $nbSides, 2, 2) Then
			If _Sleep(50) Then Return
			   EndIf
		 ; ================================================================================

Play around with those sleep-values, as mine above maybe dosn't fit your needs...

Got something to add?

Log in to post a reply.

Join the conversation