(01-31-2015, 04:51 AM)kojometa Wrote: okay i just recognised that TH attack is based on deadbase func and deadbase func doesnt work when the hidden mode is checked. (forgot about that since i usually never use deadbase search)
this time the bot attacked and dint crash but "Can't get Townhall location". it attacked a base which had the townhall in the middle of the base ^^
yeah thats quite late lol. over here it is 8 pm
cant you set it to ONLY attack if the townhall is outside?
(01-31-2015, 07:24 AM)pinay26 Wrote: @kojo do u know how can i disable the spell creation??Find the following:
Func runBot() ;Bot that runs everything in order
While 1
$Restart = False
$fullArmy = False
If _Sleep(1000) Then ExitLoop
checkMainScreen()
If $locate <> 2 Then
If _Sleep(1000) Then ExitLoop
ZoomOut()
EndIf
If _Sleep(1000) Then ExitLoop
if $locate = 0 Then
Collect()
If _Sleep(1000) Then ExitLoop
Train()
If _Sleep(1000) Then ExitLoop
CreateSpell()
CreateSpell()
;CreateSpell()