Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
v 5.4.0 quick fix
#1
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


Attached Files
.au3   COC Bot v5.4.0 (edited by Antidote).au3 (Size: 85.34 KB / Downloads: 120)
Reply
 


Messages In This Thread
v 5.4.0 quick fix - by Antidote - 01-05-2015, 06:24 PM
RE: v 5.4.0 quick fix - by bushido-21 - 01-05-2015, 07:07 PM
RE: v 5.4.0 quick fix - by cryzies - 01-05-2015, 07:30 PM
RE: v 5.4.0 quick fix - by dinobot - 01-05-2015, 07:15 PM
RE: v 5.4.0 quick fix - by jack0232 - 01-09-2015, 12:41 AM
RE: v 5.4.0 quick fix - by sefa96 - 01-10-2015, 03:21 AM
RE: v 5.4.0 quick fix - by sefa96 - 01-10-2015, 03:22 AM

Forum Jump:


Users browsing this thread: 2 Guest(s)

About The Bytecode Club

We're a community 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