Thread Rating:
  • 1 Vote(s) - 5 Average
  • 1
  • 2
  • 3
  • 4
  • 5
General Discussion Thread About v5.4.2.3+ and v5.5
#58
(02-09-2015, 10:04 PM)Sexagrim Wrote:  Can I Slow down the troop deployment in v5.5.1.1?

Yup! go to folder Attack Algorithms > edit script algorithm_AllTroops
Code:
algorithmTH()
         if LauchTroop($eGiant, $nbSides, 1, 1, 1) Then
            If _Sleep(400) Then Return
               EndIf
         if LauchTroop($eBarbarian, $nbSides, 1, 2) Then
            If _Sleep(400) Then Return
               EndIf
         if LauchTroop($eArcher, $nbSides, 1, 2) Then
            If _Sleep(100) Then Return
               EndIf
         If LauchTroop($eBarbarian, $nbSides, 2, 2) Then
            If _Sleep(200) Then Return
            EndIf
         if LauchTroop($eWallbreaker, $nbSides, 1, 1, 1) Then
            If _Sleep(50) Then Return
               EndIf
         If LauchTroop($eGoblin, $nbSides, 1, 2) Then
            If _Sleep(50) Then Return
               EndIf
         If LauchTroop($eArcher, $nbSides, 2, 2) Then
            If _Sleep(50) Then Return
               EndIf
         If LauchTroop($eGoblin, $nbSides, 2, 2) Then
            If _Sleep(50) Then Return
               EndIf

change the if sleep number > the lowest is the fastest / the highest is the slower

just experiment you want ..
Take delight in the LORD, and he will give you the desires of your heart - Psalm 37:4
Reply
 


Messages In This Thread
RE: General Discussion Thread About v5.4.2.3+ and v5.5 - by SongHyeKyo - 02-09-2015, 10:20 PM

Forum Jump:


Users browsing this thread: 5 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