Pages (55):    150 51 52 53 54 55   
safar46   02-06-2015, 01:31 AM
(02-06-2015, 01:28 AM)General Sam Wrote: How do we adjust the sleep? I read past pages and I can't figure it out. The deployment in the new version is great, just drops troops too slow.

Really? ok im upload new one.. if you want to change it by yourself search these code
Code:
            If _Sleep(100) Then Return
            If $edge2 <> -1 Then
               Local $posX2 = $maxX2 - (($maxX2 - $minX2) * $i) / ($slotsPerEdge - 1)
               Local $posY2 = $maxY2 - (($maxY2 - $minY2) * $i) / ($slotsPerEdge - 1)
               Click($posX2, $posY2, $nbtroopPerSlot)
               If _Sleep(100) Then Return
               $nbTroopsLeft -= $nbtroopPerSlot
            Else
               $nbTroopsLeft -= $nbtroopPerSlot
            EndIf

And then you know what will you do Wink

Im adjust sleep to 100 because my notebook so sloowww if attacking Sad
General Sam   02-06-2015, 01:41 AM
Got it. I set it to 10 and I will test it out. Which reminds me...I have a TH7 I can lend you to test stuff, I remember you said you have a TH5. Will it help?
dinobot   02-06-2015, 01:41 AM
Think he referring more to the the delay between wave under Func algorithm_AllTroops()

Code:
         if LauchTroop($eGiant, $nbSides, 1, 1, 1) Then
            If _Sleep(1000) Then Return
               EndIf
         if LauchTroop($eBarbarian, $nbSides, 1, 2) Then
            If _Sleep(1000) Then Return
               EndIf
         if LauchTroop($eArcher, $nbSides, 1, 2) Then
            If _Sleep(1000) Then Return
               EndIf
         If _Sleep(2000) Then Return
         If LauchTroop($eBarbarian, $nbSides, 2, 2) Then
            If _Sleep(1000) Then Return
            EndIf
         if LauchTroop($eWallbreaker, $nbSides, 1, 1, 1) Then
            If _Sleep(500) Then Return
               EndIf
         If LauchTroop($eGoblin, $nbSides, 1, 2) Then
            If _Sleep(500) Then Return
               EndIf
         If LauchTroop($eArcher, $nbSides, 2, 2) Then
            If _Sleep(500) Then Return
               EndIf
         If LauchTroop($eGoblin, $nbSides, 2, 2) Then
            If _Sleep(500) Then Return
               EndIf
General Sam   02-06-2015, 01:43 AM
No, not between each wave. That is fine. I am talking about deploying troops, it puts one barb then waits too much for the next one. I want a wave launched faster. When I play on my phone I can launch them really fast.
dinobot   02-06-2015, 01:44 AM
ic
safar46   02-06-2015, 01:45 AM
(02-06-2015, 01:41 AM)General Sam Wrote: Got it. I set it to 10 and I will test it out. Which reminds me...I have a TH7 I can lend you to test stuff, I remember you said you have a TH5. Will it help?

No, i cant make a more test stuff, because my notebook is slow....

It's a reason why i just release the bot though i'm not full testing the bot, lol
themadking87   02-06-2015, 02:06 AM
I get a lot of server out of sync with client errors when using this revision (almost every time I search for matches). Doesn't happen when I use 5.4.2.2 -- any suggestion?
bushido-21   02-06-2015, 02:10 AM
moderator delete karino post on this thread #519
mahimulislam   02-06-2015, 02:10 AM
Troops deployment is perfect,Just needed a little push on the speed
safar46   02-06-2015, 02:15 AM
(02-06-2015, 02:10 AM)mahimulislam Wrote: Troops deployment is perfect,Just needed a little push on the speed

please see previous page for adjust delay
Pages (55):    150 51 52 53 54 55   
  
Users browsing this thread: 3 Guest(s)
Konloch Software - Bytecode Viewer - Reverse Engineering Forum
Copyright © 2014-2025 The Bytecode Club. Powered By MyBB.
CC0 Unless Specified Otherwise.