The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

v 5.4.0

Started by GkevinOD · Jan 4, 2015

131 replies1,996,775 viewsLocked
Jan 5, 2015#101

@marvinPro implement the hotfix of #34 and #35, delete your config file, try again

Jan 5, 2015#102

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?

Jan 5, 2015#103

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,

Jan 5, 2015#104

hervianzhou wrote:

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.

Jan 5, 2015#105

i tried replacing the coordinates but only level 2 barracks is trying to make troops.

level 5 and 4 barracks is not. it's trying to click upgrade.

I fixed following bellow. Add +100 after $TrainPos[0]

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

Jan 5, 2015#106

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.

Jan 5, 2015#107

@kojometa I added it but the problem still occur.

Jan 5, 2015#108

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)

Jan 5, 2015#109

😉

@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.

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 😕

Jan 6, 2015#110

@danilp12 What system os are you running?

This discussion is closed.