The Bytecode Club - Reverse Engineering Forum
v 5.4.0 quick fix - Printable Version

+- The Bytecode Club - Reverse Engineering Forum (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: v 5.4.0 quick fix (/showthread.php?tid=236)



v 5.4.0 quick fix - Antidote - 01-05-2015

After testing GkevinOD's v5.4.0 for a while, I noticed some possible issue so I made some quick fix here for anyone having it to test.

==========
Change logs:
==========

It wasn't able to locate train troop button for mine (clicking Upgrade instead), with this color hex it manages to find train troop button
    AUTOIT Programming
  1. Func Train()
  2.   Local $TrainPos = _PixelSearch(390, 580, 665, 665, Hex(0x687DA1, 6), 10) ;Finds Train Troops button



Change maximum zoom to 40 as 20 won't completely zoom out in some case
    AUTOIT Programming
  1. Func ZoomOut()
  2.   If $i = 40 Then ;20 sometimes not completely zoom out
  3.      ExitLoop
  4.   EndIf



Optimize Start/Stop button a bit (prevent pressing twice)

Other than that it has been running good, I can finally let it run continuously now. Good job GkevinOD


RE: v 5.4.0 quick fix - bushido-21 - 01-05-2015

(01-05-2015, 06:24 PM)Antidote Wrote:  After testing GkevinOD's v5.4.0 for a while, I noticed some possible issue so I made some quick fix here for anyone having it to test.

==========
Change logs:
==========

It wasn't able to locate train troop button for mine (clicking Upgrade instead), with this color hex it manages to find train troop button

Code:
Func Train()
  Local $TrainPos = _PixelSearch(390, 580, 665, 665, Hex(0x687DA1, 6), 10) ;Finds Train Troops button

Change maximum zoom to 40 as 20 won't completely zoom out in some case

Code:
Func ZoomOut()
  If $i = 40 Then ;20 sometimes not completely zoom out
     ExitLoop
  EndIf

Optimize Start/Stop button a bit (prevent pressing twice)

Other than that it has been running good, I can finally let it run continuously now. Good job GkevinOD

@ antidote i want to ask why king is disable on the latest version v5.4.0 quick fix thanks


RE: v 5.4.0 quick fix - dinobot - 01-05-2015

For info, 5.4 was done up by GKevinOD and it was release for people to test out basic function. Lets' be patience and get the basic problem sort out first. If you really need King, use older version.

Thanks.


RE: v 5.4.0 quick fix - cryzies - 01-05-2015

(01-05-2015, 07:07 PM)bushido-21 Wrote:  
(01-05-2015, 06:24 PM)Antidote Wrote:  After testing GkevinOD's v5.4.0 for a while, I noticed some possible issue so I made some quick fix here for anyone having it to test.

==========
Change logs:
==========

It wasn't able to locate train troop button for mine (clicking Upgrade instead), with this color hex it manages to find train troop button


Code:
Func Train()
  Local $TrainPos = _PixelSearch(390, 580, 665, 665, Hex(0x687DA1, 6), 10) ;Finds Train Troops button

Change maximum zoom to 40 as 20 won't completely zoom out in some case


Code:
Func ZoomOut()
  If $i = 40 Then ;20 sometimes not completely zoom out
     ExitLoop
  EndIf

Optimize Start/Stop button a bit (prevent pressing twice)

Other than that it has been running good, I can finally let it run continuously now. Good job GkevinOD

@ antidote i want to ask why king is disable on the latest version v5.4.0 quick fix thanks

Because King drop was put in v5.3.4 and GkevinOD's v5.4 is based off of v5.3 so it skipped when updating to v5.4. Developers are using the latest stable release to add features. But we're pretty unorganized new group so things should settle down in a week or two.

Cheers,
Cryzies


RE: v 5.4.0 quick fix - jack0232 - 01-09-2015

guys, add this line:

SetLog("(" & $SearchCount + 1 & ") [G]: " & $searchGold & Tab($searchGold, 12) & "[E]: " & $searchElixir & Tab($searchElixir, 12) & "[D]: " & $searchDark & Tab($searchDark, 12) & "[T]: " & $searchTrophy)


Could you set addthousand steps, is looking way better


RE: v 5.4.0 quick fix - sefa96 - 01-10-2015

[Image: N9O5XY.png] The attack does not make that kind of help, and please come error


RE: v 5.4.0 quick fix - sefa96 - 01-10-2015

http://i.hizliresim.com/N9O5XY.png