Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Restarting for hours
#1
Whenever I am botting for longer hours, I receive this error after about 2-3 hours...

Any idea what the source of this problem is?

I am using 5.3.4 x64 (the one with cc, king and queen)


Code:
2015-01-03 23:57:52 : Cannot locate Next button, Restarting Bot
2015-01-03 23:57:52 : Trying to get to main screen
2015-01-04 00:02:59 : Could not automatically load Clash Of Clans
2015-01-04 00:03:00 : Restarting BlueStacks
2015-01-04 00:03:10 : Trying to get to main screen
2015-01-04 00:08:17 : Could not automatically load Clash Of Clans
2015-01-04 00:08:18 : Restarting BlueStacks
2015-01-04 00:08:38 : Trying to get to main screen
2015-01-04 00:13:45 : Could not automatically load Clash Of Clans
2015-01-04 00:13:46 : Restarting BlueStacks
2015-01-04 00:13:57 : Trying to get to main screen
2015-01-04 00:19:04 : Could not automatically load Clash Of Clans
2015-01-04 00:19:05 : Restarting BlueStacks
2015-01-04 00:19:15 : Trying to get to main screen
2015-01-04 00:24:22 : Could not automatically load Clash Of Clans
2015-01-04 00:24:23 : Restarting BlueStacks
2015-01-04 00:24:33 : Trying to get to main screen
2015-01-04 00:29:40 : Could not automatically load Clash Of Clans
2015-01-04 00:29:41 : Restarting BlueStacks
2015-01-04 00:30:01 : Trying to get to main screen
2015-01-04 00:35:08 : Could not automatically load Clash Of Clans
2015-01-04 00:35:09 : Restarting BlueStacks
2015-01-04 00:35:19 : Trying to get to main screen
2015-01-04 00:40:26 : Could not automatically load Clash Of Clans
2015-01-04 00:40:27 : Restarting BlueStacks
2015-01-04 00:40:37 : Trying to get to main screen
2015-01-04 00:45:44 : Could not automatically load Clash Of Clans
Reply
#2
@Cocsi This problem occurs when the GUI hangs and becomes blank. We are changing the code to try to fix this problem and make the bot run able to run long amounts of hours.
Reply
#3
same here .. the gui hangs aftee about 5 hours of playing.
Reply
#4
@GkevinOD alright, thx for your fast answer Smile

I am so excited to seeing this bot develop and bashing lf and lazypressing Tongue


Thx to all the developers out there Smile
Reply
#5
(01-04-2015, 06:05 PM)Cocsi Wrote:  @GkevinOD alright, thx for your fast answer Smile

I am so excited to seeing this bot develop and bashing lf and lazypressing Tongue


Thx to all the developers out there Smile

@GkevinOD Smile thanks to developer of this amazing bot Smile
Reply
#6
@dinobot

Your private message is disabled. LOL.

Dinobot sent a lot of images to update zombiesearch so I need testers for the 3 imagesets. It's time consuming for me to test all images LOL and I'm busy atm so I need help.

https://www.dropbox.com/s/176gt5qipvu950...C.rar?dl=0

Must add this screencapture to villagesearch func like this:
Code:
                  If ZombieSearch() Then
                     SetLog("~~~~~~~Dead Base Found!~~~~~~~")
                     ExitLoop
                  Else
                        SetLog("~~~~~~~Not dead base, skipping~~~~~~~")
                    Local    $Date = @MDAY & "." & @MON & "." & @YEAR
                    Local    $Time = @HOUR & "." & @MIN
                        _ScreenCapture_CaptureWnd(@ScriptDir & "\SkippedZombies\" & $Date & " at " & $Time & ".jpg", $hWnd)
                     Click(750, 500) ;Click Next
                    
                  EndIf

;-------------------
;Must add this at the top:
DirCreate(@ScriptDir & "\SkippedZombies\")
;------------------

Take note guys which set or settings are more prone to hang.
Reply
#7
let me help u with this, i try using set 2, soon i let u know ok, gonna go to work, brb, sry just added ur script and when try to run it error box appear,
Quote:"Else Error:"Else" statement with no macthing "if" statement. " On line 1049.

Here the line 1049
Quote:Else
Click(750, 500) ;Click Next
EndIf
Reply
#8
(01-04-2015, 09:06 PM)cydin Wrote:  let me help u with this, i try using set 2, soon i let u know ok, gonna go to work, brb, sry just added ur script and when try to run it error box appear,
Quote:"Else       Error:"Else" statement with no macthing "if" statement. " On line 1049.

Here the line 1049

Quote:Else
    Click(750, 500) ;Click Next
EndIf

Sorry my bad. delete one endif. Also pls download again. same link.

I changed this one:
Code:
Global $Area[11][4], $IS_x[11][4], $IS_y[11][4], $E[5][11]
Reply
#9
just testing the code, working ok until it find the zombie base, the attk working until it finish attk, here the SS
[Image: error.png]
Reply
#10
(01-04-2015, 10:17 PM)cydin Wrote:  just testing the code, working ok until it find the zombie base, the attk working until it  finish attk, here the SS
*img*

Global $DAte, $Time. Delete 'Local' in all Local $Date and $Timers.

OR

Use this:
ScreenCapture_CaptureWnd(@ScriptDir & "\Loots\" & @MDAY & "." & @MON & "." & @YEAR & " at " & @HOUR & "." & @MIN & ".jpg", $HWnD)

----------edit------------
*No prob with dates*

This was missing"
  Global $Title = "BlueStacks App Player"
  Global $HWnD = WinGetHandle (WinGetTitle($Title))
Reply
 


Forum Jump:


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