Thread Rating:
  • 3 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
v 5.4.0
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: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: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-05-2015, 09:04 AM)blindpick Wrote:  i tried replacing the coordinates but only level 2 barracks is trying to make troops.
[Image: cfb458781c985a7cb93cc682bc00821b.png]
level 5 and 4 barracks is not. it's trying to click upgrade.
[Image: d367e5782fd78617644661ac5b592dd3.png]
I fixed following bellow. Add +100 after $TrainPos[0]
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
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.
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)
Wink 
(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
had the same issue and now its working! thanks GkeninOD! =D

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 Facelineside
 


Forum Jump:


Users browsing this thread: 14 Guest(s)

About The Bytecode Club

We're a community forum focused on Reverse Engineering, we try to target Java/Android but we also include other langauges/platforms. We pride ourselves in supporting and free and open sourced applications.

Website