02-01-2015, 01:07 PM
(02-01-2015, 12:50 PM)safar46 Wrote: Thanks all for the reports. update fix work in progress for barrack 4. since now im TH5 i only have 3 barracks, lol.
so, i dont know whats happen if barrack 4 is available.
also fix for atkAlgorithm...
Sorry if this version have many bugs and can't be stable for now. because:
1. im re-modified some code to make it better
2. im not have much time to more test it, so i just release it and then see what users report here...
train code dint click away to close barrack. just add this line from older script. work perfect.
Code:
Else
If _Sleep(500) Then ExitLoop (2)
Click(1, 1, 2, 250); Click away twice with 250ms delay
ExitLoop
EndIf
EndIf
If _Sleep(500) Then ExitLoop (2)
Click(1, 1, 2, 250); Click away twice with 250ms delay
Next
SetLog("Training Troops Complete")
ExitLoop
WEnd
EndFunc ;==>Train