The Bytecode Club
Troop Deployments 5.5 - Printable Version

+- The Bytecode Club (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: Troop Deployments 5.5 (/showthread.php?tid=567)

Pages: 1 2


Troop Deployments 5.5 - sevensamurai - 02-05-2015

Is there a way to change the troop deployment style so that it deploys a line of barbarians down one side, then immediately follows up with a line of archers behind it, then proceeds to the other three sides in the same manner.

At the moment it deploys a line of barbarians to all four sides before starting on the archers. This is inefficient as most of the barbs are dead by the time the archers come to assist.


Using 5.5 atm.


Any advice on altering the script to product the effect would be helpful.


Thanks-
SS.


RE: Troop Deployments 5.5 - nonAS - 02-05-2015

+1
would be much much better


RE: Troop Deployments 5.5 - Atomic - 02-05-2015

Yes indeed!

+2


RE: Troop Deployments 5.5 - safar46 - 02-06-2015

New update here
https://the.bytecode.club/showthread.php?tid=441

v5.5 no ready to release


RE: Troop Deployments 5.5 - sevensamurai - 02-06-2015

(02-05-2015, 11:50 PM)Atomic Wrote:  Yes indeed!
+2
I just tested the code you posted. Works well, but it still deploys both sets of barbs on the corners before then proceeding with archers.
Was hoping for barbs and archers behind them straight away.

Thanks to all the dev's working on this! Keep up the good work.


RE: Troop Deployments 5.5 - DrImmo - 02-06-2015

You all can edit it by your self to your needs...
I did it as well...

Just edit the sleeptimes in the attack allgorithm. Fighting has much more success to me, here is my code (v5.5)

Code:
; ================================================================================
         ; ========= 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
         ; ================================================================================



RE: Troop Deployments 5.5 - SongHyeKyo - 02-06-2015

Remove the if sleep = more speed

Edited and Tested by M Khalid


RE: Troop Deployments 5.5 - reztars - 02-07-2015

hi Drllmo!

which Au3 u edited? and which Au3 will the bot be used "algorithm_AllTroops - original" or "algorithm_AllTroops" ?
because each of it have a different timing.


RE: Troop Deployments 5.5 - SongHyeKyo - 02-07-2015

(02-07-2015, 10:34 AM)reztars Wrote:  hi Drllmo!

which Au3 u edited? and which Au3 will the bot be used "algorithm_AllTroops - original" or "algorithm_AllTroops" ?
because each of it have a different timing.

algorithm_AllTroops

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


RE: Troop Deployments 5.5 - reztars - 02-07-2015

just asking, why "algorithm_AllTroops - original" and "algorithm_AllTroops" has a different delay deployment?
the first file (original one) contain a thousand delay (2000, 1000 and 500), the second file contain a hundred delay (400, 200, and 100)