jondra   02-05-2015, 08:16 PM
#15
Which version of the bot are you using ? If I change any of those values and then compile the script it gives me error when searching "Error cannot check for Dead Base, Attacking..." (works good with the orginal script).

Code in v5.4.2.4.2 by safar46 looks like this. For me changing any of those values results in error.

Code:
atkAlgorithmTH()
            PrepareAttack(True) ;Check remaining quantities
        EndIf
         if LauchTroop($eGiant, $nbSides, 1, 1, 1) Then
            If _Sleep(1000) Then Return
               EndIf
         if LauchTroop($eBarbarian, $nbSides, 1, 2) Then
            If _Sleep(1000) Then Return
               EndIf
         if LauchTroop($eWallbreaker, $nbSides, 1, 1, 1) Then
            If _Sleep(500) Then Return
               EndIf
         if LauchTroop($eArcher, $nbSides, 1, 2) Then
            If _Sleep(1000) Then Return
               EndIf
         If _Sleep(2000) Then Return
         If LauchTroop($eBarbarian, $nbSides, 2, 2) Then
            If _Sleep(1000) Then Return
               EndIf
         If LauchTroop($eGoblin, $nbSides, 1, 2) Then
            If _Sleep(500) Then Return
               EndIf
         If LauchTroop($eArcher, $nbSides, 2, 2) Then
            If _Sleep(500) Then Return
               EndIf
         If LauchTroop($eGoblin, $nbSides, 2, 2) Then
            If _Sleep(500) Then Return
               EndIf
  
Users browsing this thread: 1 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.