Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Troop Deployments 5.5
#1
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.
Reply
#2
+1
would be much much better
Reply
#3
Yes indeed!

+2
Reply
#4
New update here
https://the.bytecode.club/showthread.php?tid=441

v5.5 no ready to release
Reply
#5
(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.
Reply
#6
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
         ; ================================================================================
[Image: undb7ohw.png]
Reply
#7
Remove the if sleep = more speed

Edited and Tested by M Khalid
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
Reply
#8
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.
Reply
#9
(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
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
Reply
#10
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)
Reply
 


Forum Jump:


Users browsing this thread: 7 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website