Thread Rating:
  • 4 Vote(s) - 2.5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
v5.4.0 (development)
#17
it's actually 5 seconds though (5000 milliseconds). You can find it here:

    AUTOIT Programming
  1. Func atkAlgorithmKingQueen()
  2. If (GUICtrlRead($chkKingAttackAllBases) == $GUI_CHECKED) Then
  3. For $i = 0 To 6
  4. If $atkTroops[$i][0] = "King" Then
  5. $kingSlot = $i
  6. Click(68 + (72 * $kingSlot), 595)
  7. SetLog("Dropping King")
  8. If _Sleep(2000) Or $RunState = False Then ExitLoop (2)
  9. Click($TopLeft[0][0], $TopLeft[0][1], 1, 1, $iRandomFactor)
  10. If _Sleep(5000) Or $RunState = False Then ExitLoop (2)
  11. Click(68 + (72 * $kingSlot), 595)
  12. SetLog("Activating King's power")



change 5000 (5 seconds) to whatever number you like
Reply
 


Messages In This Thread
v5.4.0 (development) - by Antidote - 01-06-2015, 11:11 AM
RE: v5.4.0 (natural attack) - by blindpick - 01-06-2015, 11:20 AM
RE: v5.4.0 (natural attack) - by missileplatypus - 01-06-2015, 11:22 AM
RE: v5.4.0 (natural attack) - by Kaz - 01-06-2015, 11:23 AM
RE: v5.4.0 (natural attack) - by Antidote - 01-06-2015, 11:27 AM
RE: v5.4.0 (natural attack) - by blindpick - 01-06-2015, 11:44 AM
RE: v5.4.0 (natural attack) - by Antidote - 01-06-2015, 11:50 AM
RE: v5.4.0 (natural attack) - by blindpick - 01-06-2015, 11:51 AM
RE: v5.4.0 (natural attack) - by Revial - 01-06-2015, 01:34 PM
RE: v5.4.0 (natural attack) - by k3iroll - 01-06-2015, 09:03 PM
RE: v5.4.0 (natural attack) - by Antidote - 01-07-2015, 03:23 AM
RE: v5.4.0 (natural attack) - by cryzies - 01-07-2015, 04:00 AM
RE: v5.4.0 (natural attack) - by Revial - 01-08-2015, 12:20 AM
RE: v5.4.0 (development) - by Antidote - 01-08-2015, 05:25 AM
RE: v5.4.0 (development) - by Cocsi - 01-08-2015, 05:45 AM
RE: v5.4.0 (development) - by pinay26 - 01-08-2015, 05:52 AM
RE: v5.4.0 (development) - by Antidote - 01-08-2015, 06:13 AM
RE: v5.4.0 (development) - by pinay26 - 01-08-2015, 07:41 AM
RE: v5.4.0 (development) - by youbrey - 01-08-2015, 08:22 AM
RE: v5.4.0 (development) - by shock - 01-08-2015, 12:39 PM
RE: v5.4.0 (development) - by GkevinOD - 01-08-2015, 01:29 PM
RE: v5.4.0 (development) - by indy - 01-20-2015, 10:10 PM

Forum Jump:


Users browsing this thread: 8 Guest(s)

About The Bytecode Club

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