The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Suggestions!

Started by b3n3tt3 · Feb 15, 2015

1 replies34,938 views
Feb 15, 2015#1

Ok so I've used this for the past 12 hrs and here are my ideas and mods

☻Random drop location for BK/AQ/CC
☻Scheduled upgrade: upgrade a building based on a position and system time, also position of upgrade button
☻incorporate search delays to the GUI to let the user adjust depending on pc speed (change mine to 1 sec from 3 sec)
☻To conserve BK and AQ -- add check to return if gold <1000 & elixir < 1000 in GoldElixirChange(), didn't try because....
-if u implement this u need also check pixel if base is 1 starred
☻check every 15 seconds instead of 60 seconds in GoldElixirChange(). I think the result is the same but faster? to make it more aggressive

Feb 15, 2015#2
  1. random drop location for BK/AQ/CC

      Local $side = Random(0,3)
      Local $sideslot = Random(0,4)
      If $side = 0 Then
     	dropHeroes($BottomRight[$sideslot][0], $BottomRight[$sideslot][1], $King, $Queen)
                     If _Sleep(1000) Then Return
                     dropCC($BottomRight[$sideslot][0], $BottomRight[$sideslot][1], $CC)
      ElseIf $side = 1 Then
     	dropHeroes($TopLeft[$sideslot][0], $TopLeft[$sideslot][1], $King, $Queen)
      ElseIf $side = 2 Then
     	dropHeroes($BottomLeft[$sideslot][0], $BottomLeft[$sideslot][1], $King, $Queen)
      Else
     	dropHeroes($TopRight[$sideslot][0], $TopRight[$sideslot][1], $King, $Queen)
      EndIf

somewhere along the lines

Got something to add?

Log in to post a reply.

Join the conversation