The Bytecode Club - Reverse Engineering Forum
Dropping troops - 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: Dropping troops (/showthread.php?tid=241)

Pages: 1 2


Dropping troops - Coldpaw - 01-06-2015

Any chance it could do like lazypressing with dropping troops like going up and down instead of one place?Smile. hope you know what i mean


RE: Dropping troops - kojometa - 01-06-2015

i got no idea what you mean but basically everything is possible Wink


RE: Dropping troops - Coldpaw - 01-06-2015

hmm not sure how to explain itTongue


RE: Dropping troops - Envyus - 01-06-2015

He means like this:

https://www.youtube.com/watch?feature=player_detailpage&v=lTN2rexOnSo#t=46


RE: Dropping troops - cryzies - 01-06-2015

This is doable, but a little too much work for a feature that doesn't add functionality. Probably will be worked on once every kink is worked out.

Cryzies


RE: Dropping troops - Coldpaw - 01-06-2015

ah okieWink


RE: Dropping troops - GkevinOD - 01-06-2015




RE: Dropping troops - keedier - 01-06-2015

This is essentially useful to avoid possible detection. an experienced player drops troops using 2 fingers swiping motion (for barchers). just my 2 cents Smile


RE: Dropping troops - Antidote - 01-06-2015

This is actually quite simple to do. I modified attack function to resemble what you say (if you want to look more naturally random factor can be added to coord as well)
sample code:
[code=autoit]
Local $numBarbPerWave = Ceiling($atkTroops[$Barb][1] / 2)
Local $numArchPerWave = Ceiling($atkTroops[$Arch][1] / 2)

Switch $deploySettings
Case 0 ;Two sides ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
SetLog("~Attacking in two sides...")
If _Sleep(1000) Or $RunState = False Then ExitLoop
;Local $numBarbPerSpot = Ceiling((($atkTroops[$Barb][1] / 2) / 5) / 2)
;Local $numArchPerSpot = Ceiling((($atkTroops[$Arch][1] / 2) / 5) / 2)



SetLog("Dropping first wave of Barbarians")
;Drop first round of Barbarians
Click(68 + (72 * $Barb), 595) ;Select Troop
If _Sleep(100) Or $RunState = False Then ExitLoop (2)

$i = 0
While 1
For $a = 0 To 4
If $i = $numBarbPerWave Or Not $RunState Then ExitLoop(2)
Click($TopLeft[$a][0], $TopLeft[$a][1])
Sleep(Random(150, 200))
$i += 1
Next
For $a = 0 To 4
If $i = $numBarbPerWave Or Not $RunState Then ExitLoop(2)
Click($TopRight[$a][0], $TopRight[$a][1])
Sleep(Random(150, 200))
$i += 1
Next
For $a = 3 To 0 Step -1
If $i = $numBarbPerWave Or Not $RunState Then ExitLoop(2)
Click($TopRight[$a][0], $TopRight[$a][1])
Sleep(Random(150, 200))
$i += 1
Next
For $a = 4 To 1 Step -1
If $i = $numBarbPerWave Or Not $RunState Then ExitLoop(2)
Click($TopLeft[$a][0], $TopLeft[$a][1])
Sleep(Random(150, 200))
$i += 1
Next

[/code]


RE: Dropping troops - Coldpaw - 01-07-2015

(01-06-2015, 11:04 AM)Antidote Wrote: This is actually quite simple to do. I modified attack function to resemble what you say (if you want to look more naturally random factor can be added to coord as well)
sample code:


[/code]

Thx, but did not work got error when it found base matching my settings will post the error code here in some mins