01-06-2015, 12:13 AM
01-06-2015, 01:22 AM
Works with fixes. Though the "dead base" function isn't working well; so what is it based around? Image verification or is it a small written error in the code?
01-06-2015, 01:35 AM
(01-06-2015, 01:22 AM)yuji Wrote: [ -> ]Works with fixes. Though the "dead base" function isn't working well; so what is it based around? Image verification or is it a small written error in the code?
i just modified VillageSearch(), like i reply before, and it show for a sec and then hide again, maybe that one is working right now for searching dead base,
01-06-2015, 01:39 AM
(01-06-2015, 01:35 AM)hervianzhou Wrote: [ -> ](01-06-2015, 01:22 AM)yuji Wrote: [ -> ]Works with fixes. Though the "dead base" function isn't working well; so what is it based around? Image verification or is it a small written error in the code?
i just modified VillageSearch(), like i reply before, and it show for a sec and then hide again, maybe that one is working right now for searching dead base,
Ah, sorry didn't see your post. Will test thank you.
01-06-2015, 02:03 AM
(01-05-2015, 09:04 AM)blindpick Wrote: [ -> ]i tried replacing the coordinates but only level 2 barracks is trying to make troops.I fixed following bellow. Add +100 after $TrainPos[0]
level 5 and 4 barracks is not. it's trying to click upgrade.
Code:
Click($TrainPos[0]+100, $TrainPos[1]) ;Click Train Troops button
If _Sleep(500) Or $RunState = False Then ExitLoop(2)
BTW. I think better if the code located first barack and then use arrow key to next barrack
01-06-2015, 02:10 AM
i already fixed that yesterday but stopped using the version because its causing my vware to bluescreen.
switching back to 5.3.4 using it for almost 4 days now i think no problem at all.
switching back to 5.3.4 using it for almost 4 days now i think no problem at all.
01-06-2015, 03:44 AM
01-06-2015, 05:37 AM
I added +100 but now it still clicks on the barrack and clicks on info instead of train troops. Went back to v5.3.4 (exp)
Click($TrainPos[0]+100, $TrainPos[1]) ;Click Train Troops button
If _Sleep(500) Or $RunState = False Then ExitLoop(2)
Click($TrainPos[0]+100, $TrainPos[1]) ;Click Train Troops button
If _Sleep(500) Or $RunState = False Then ExitLoop(2)
01-06-2015, 06:05 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.had the same issue and now its working! thanks GkeninOD! =D
Code:Local $TrainPos = _PixelSearch(155, 603, 694, 605, Hex(0x603818, 6), 5) ;Finds Train Troops button
also, tested the hide function, and hide the BS screen but the bot get error, like "barrack 2 is unavailable" and if i hide while searching, the bot get fronzen in the village that finds..so i guess its not working for me
01-06-2015, 10:05 AM