(01-06-2015, 12:02 AM)Antidote Wrote: So for now we are sure that the event is triggered during the 5 minutes count down. I've tried to optimized the processs, including
- close BS process and restart (failsafe but takes 3 minutes on average to get to main screen)
- click home button on BS, wait 30 seconds, reload games. It still loads on previous screen, you need to close Clash of Clans process by clicking task manager, drag close CoC, but MouseDrag would defeat the purpose of backgrounding.
Does anyone knows how to close an app in BS with command prompt or any shortcut in BS without using gesture? You can go to all apps and click force close but that's not efficient and prone to error
Just to be sure we're on the same page. I don't think the hang happens during the 5 minute countdown. It happens between finding the next target and looking for the next button. In scenario 2 that I mentioned above, once it fails to find the next button, it has already hung / white screen.
In terms of my fixes, I tried to optimize the 5 minute countdown in many different ways and I noticed it would still hang but maybe I didn't find the right combination. But if it does hang before the countdown right before finding the next button, then the issue lies elsewhere.
edit: Added this and gonna let it run for awhile and to confirm if it does hang right before looking for the next button.
Quote: _ScreenCapture_CaptureWnd(@ScriptDir & "\NextButton\" & $Date & " at " & $Time & ".jpg", $HBotWnD) ; DEBUG
SetLog("Cannot locate Next button, Restarting Bot")