The Bytecode Club
BUG: 5.3.1: Bot hang/ blank windows - Printable Version

+- The Bytecode Club (https://the.bytecode.club)
+-- Forum: Lobby (https://the.bytecode.club/forumdisplay.php?fid=1)
+--- Forum: Game Cheating, Botting & Reverse Engineering (https://the.bytecode.club/forumdisplay.php?fid=97)
+--- Thread: BUG: 5.3.1: Bot hang/ blank windows (/showthread.php?tid=216)

Pages: 1 2 3 4 5 6 7 8


RE: BUG: 5.3.1: Bot hang/ blank windows - zealous - 01-08-2015

where do i add the code? like which part of the script


RE: BUG: 5.3.1: Bot hang/ blank windows - rezon - 01-08-2015

Might be completely unrelated or placebo, but today my bot for once did not freeze overnight. The only noticeable difference that I can recall of this trial of running the bot was that I did not use a gem boost for the barracks. Has anyone who has encountered this error only have it happen when barracks were boosted?


RE: BUG: 5.3.1: Bot hang/ blank windows - dinobot - 01-08-2015




RE: BUG: 5.3.1: Bot hang/ blank windows - GkevinOD - 01-08-2015

Hello, I haven't been updating lately because I've been busy with school. Anyways, I've though of this but I had no idea how I would do it and it seems that the method you guys came up with works! Also I will be editing the DLL that will help with security and work with background mode later Smile


RE: BUG: 5.3.1: Bot hang/ blank windows - dinobot - 01-08-2015

By the way, just notice that the first cycle of the bot going for attack, the cpu consumption is low 5-25%, when it done with attack and back to base, the cpu consumption goes to around 40-50% and stay constant at that level.. Something that can look into too...


RE: BUG: 5.3.1: Bot hang/ blank windows - mikypark - 01-08-2015

(01-07-2015, 07:17 PM)AtoZ Wrote:  @dinobot
Like these?
Restarter Bot
Code:
#RequireAdmin
#include <MsgBoxConstants.au3>

Global $Title="COC Bot Pre-Alpha v5.4"
Global $BotFile=@ScriptDir&"\COC Bot v5.4.exe"

WinKill($Title)
Sleep(2000)
ShellExecute($BotFile)
WinWaitActive($Title,"",10)
WinActivate($Title)
Sleep(3500)
ControlFocus($Title,"Start", "[CLASS:Button; INSTANCE:2]")
ControlClick($Title,"Start", "[CLASS:Button; INSTANCE:2]")
Sleep(500)
WinMove("COC Bot Pre-Alpha v5.3","",900,100)
Sleep(500)
ControlFocus($Title,"Ok", "[CLASS:Button; INSTANCE:1]")
ControlClick($Title,"Ok", "[CLASS:Button; INSTANCE:1]")

Function in apha bot
Code:
Func RestartBot()
  Local $BotTitle=""
  Local $BotFile= @ScriptDir&"\COC BOT v5 Restarter.au3" ;put filename here
     SetLog("RestartBOT: BOT RESTARTING NOW..")
 ShellExecute($BotFile)
 Sleep(1000)
 ControlFocus($BotTitle,"Ok", "[CLASS:Button; INSTANCE:1]")
 ControlClick($BotTitle,"Ok", "[CLASS:Button; INSTANCE:1]")
EndFunc
where i have to put these 2 codes exactly?
or,give us the edited bot so we can test it,thank you


RE: BUG: 5.3.1: Bot hang/ blank windows - NoFear - 01-08-2015

i think part of the problems can be solved, if somehow we can access Developer Options in bluestacks and disable "Keep-Activies" so this way, when the bot restarts the game and press home button, it will kill CoC app and will start fresh.


RE: BUG: 5.3.1: Bot hang/ blank windows - dinobot - 01-08-2015

Unfortunately the latest version of BS doesn't have developer option..
Anyway, if we are able to resolve the memory leak.. The hang wouldn't have occur..


RE: BUG: 5.3.1: Bot hang/ blank windows - GkevinOD - 01-08-2015




RE: BUG: 5.3.1: Bot hang/ blank windows - dinobot - 01-08-2015

Outside.. Will do it when home.. Anyway restarter is fun.. Lol.. I restart after every attack... Hahaha