The Bytecode Club
Developing Bot - Printable Version

+- The Bytecode Club (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: Developing Bot (/showthread.php?tid=155)



RE: Developing Bot - korpsx - 12-28-2014

Zombie = Dead (Abandoned Base)


RE: Developing Bot - k3iroll - 12-28-2014

The below "Click Break Shield" function seems to click on the first village every time the bot goes from home village to attacking mode if there is no break shield to click.

Most of the time since it is clicking on the enemy's village, hence no army is dropped and only the notification of you cannot click on the red area appear. But there is one time that the bot dropped an army due to the empty space on the enemy's village.

I have disabled the Click Break Shield so that it doesn't happen again when I'm running the bot, just have to make sure I'm clicking the Break Shield button manually first if I have a shield.

Just to let you guys know my finding. Need to improve on this.


Code:
Func PrepareAttack()
   While 1
      If $RunState = False Then
         ExitLoop
      EndIf
      ControlClick ($HWnD, "","", "left", "1", 50*$x_ratio, 500*$y_ratio) ;Click Attack
      If $RunState = False Then
         ExitLoop
      EndIf
      Sleep(2000)
      ControlClick ($HWnD, "","", "left", "1", 190*$x_ratio, 420*$y_ratio) ;Click Find a Match
      If $RunState = False Then
         ExitLoop
      EndIf
      Sleep(2000)
      ControlClick ($HWnD, "","", "left", "1", 470*$x_ratio, 330*$y_ratio) ;Click Break Shield
      ExitLoop
   WEnd
EndFunc



RE: Developing Bot - AtoZ - 12-28-2014




RE: Developing Bot - k3iroll - 12-28-2014




RE: Developing Bot - AtoZ - 12-28-2014




RE: Developing Bot - AtoZ - 12-28-2014




RE: Developing Bot - madalilng - 12-28-2014

hey guys once again.. im here to help hope this tweak would help us if you want this tweak i will teach you guys how can you use this.. Smile
http://imgur.com/ot9Vivg


RE: Developing Bot - Layout - 12-28-2014

(12-28-2014, 06:26 PM)madalilng Wrote:  hey guys once again.. im here to help hope this tweak would help us if you want this tweak i will teach you guys how can you use this.. Smile
http://imgur.com/ot9Vivg

interesting looking photo...


RE: Developing Bot - dinobot - 12-28-2014




RE: Developing Bot - AtoZ - 12-28-2014