12-27-2014, 04:52 PM
(12-27-2014, 01:46 AM)kojometa Wrote: Okay i worked something out.
Test this and tell me if it works for you!
http://pastebin.com/GQxx4bsG
This is looking for a specific pixelcolor of the sword of the "traintroop" button in the bottom area of bluestacks.
if it finds that color, its gonna click on it.
tell me if it worked because this is the way the bot will detect buttons in the future anyway probably!
(12-27-2014, 03:55 AM)kojometa Wrote: its the searching-area in the bluesracks window.
i enhanced it. take $TrainTroop = PixelSearch(190,550,670,650,0x9F7328,0,1,$HWnD)
change the color if my color still doesnt work for you
(12-27-2014, 03:43 PM)HAX4DAYS Wrote: Will try 003
Please refer to the download above and save as .au3, then change the traintroops coding by kojometa.
I assume your problem is same as lots of people where the barrack after select appear with only 3 or 4 button instead of 5 button as coded in bot003.