The Bytecode Club
Log inJoin the club
Video Game Reverse Engineering

Restarting for hours

Started by Cocsi · Jan 4, 2015

11 replies148,710 views
Jan 4, 2015#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)

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
Jan 4, 2015#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.

Jan 4, 2015#3

same here .. the gui hangs aftee about 5 hours of playing.

Jan 4, 2015#4

@GkevinOD alright, thx for your fast answer 🙂

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

Thx to all the developers out there 🙂

Jan 4, 2015#5

@GkevinOD alright, thx for your fast answer 🙂

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

Thx to all the developers out there 🙂

@GkevinOD 🙂 thanks to developer of this amazing bot 🙂

Jan 4, 2015#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/176gt5qipvu950h/ZSearch%204jan15%20%20IMAGESET%20ABC.rar?dl=0

Must add this screencapture to villagesearch func like this:

				  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.

Jan 4, 2015#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,

"Else Error:"Else" statement with no macthing "if" statement. " On line 1049.

Here the line 1049

Else
Click(750, 500) ;Click Next
EndIf

Jan 4, 2015#8

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,

"Else       Error:"Else" statement with no macthing "if" statement. " On line 1049.

Here the line 1049

Else
    Click(750, 500) ;Click Next
EndIf

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

I changed this one:

   Global $Area[11][4], $IS_x[11][4], $IS_y[11][4], $E[5][11]
Jan 4, 2015#9

just testing the code, working ok until it find the zombie base, the attk working until it finish attk, here the SS

Jan 4, 2015#10

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))

Got something to add?

Log in to post a reply.

Join the conversation