01-07-2015, 06:37 AM
(01-05-2015, 08:58 AM)GkevinOD Wrote: @DiviniT3a go to line 1146 try changing the 10 as the last parameter to a lower number like 5. I'll find a better pixel for it because I have max barracks.
Code:Local $TrainPos = _PixelSearch(155, 603, 694, 605, Hex(0x603818, 6), 5) ;Finds Train Troops button
For me this solution is not working.. i have even added the code u posted in post before that one. It finds the barrack.. clicks on it.. but then nothing.. just goes to other one.. and then training complete.. without clicking on train troops.. i tried with nr 5.. with 4.. 3.. 2... 7