BUG: 5.3.1: Bot hang/ blank windows
But to be sure does it only happen after the bot click home button in BS and start game again? Anyone can confirm? If that is the case then a fix would be easy I think
But to be sure does it only happen after the bot click home button in BS and start game again? Anyone can confirm? If that is the case then a fix would be easy I think
Oh now I see it. In checkmainscreen once it doesn't find main village it will click home button in BS and start the game again. However the game doesn't load from start but continue at where it was left at, thus stuck at checkmainscreen. After 5 minutes it will quit BS and start
it actually does restart after 5 minutes without getting to mainscreen, it is implemented here: ```autoit If $counter >= 150 Then ;Five minutes SetLog("Could not automatically load Clash Of Clans") If _Sleep(1000) Or $RunState = False Then ExitLoop (2) SetLog("Restarting BlueStac
This has been a persistent issue since 5.3, I'll try to isolate the issue, but it's very likely due to excessive recursion of MainScreenCheck() (whether zoom out cause the trigger or not). It's the classic cause of hanging GUI
You can test this quick fix for locating train troop button issue (Barrack not available message) Change this line in Func Train() ```autoit Local $TrainPos = _PixelSearch(390, 580, 665, 665, Hex(0x687DA1, 6), 10) ;Finds Train Troops button ``` Or refer to this post: https://the.
After testing GkevinOD's v5.4.0 for a while, I noticed some possible issue so I made some quick fix here for anyone having it to test. ========== Change logs: ========== It wasn't able to locate train troop button for mine (clicking Upgrade instead), with this color hex it manage
@coldpaw: here's the compiled version: http://wikisend.com/download/611208/BsSize.exe
I initially thought it has something to do with GUIRegisterMsg and GDI (as someone mentioned here: http://www.autoitscript.com/forum/topic/151396-gdi-hang-guiregistermsg/) but now to think of it it's very possibly be due to screen not completely zoomed out (which messed up all co
@coldpaw: can you try to run this script and see what it output? ```autoit Local $BSsize = [ControlGetPos("BlueStacks App Player", "_ctl.Window", "[CLASS:BlueStacksApp; INSTANCE:1]")[2], ControlGetPos("BlueStacks App Player", "_ctl.Window", "[CLASS:BlueStacksApp; INSTANCE:1]")[3]
@GkevinOD: glad to see you've made it :D I'm not at my PC now but will definitely test it when I go back
@Coldpaw: did you manually restart BS? (right click on icon in system tray, restart)
I managed to reproduce the blank GUI after letting it run for all night. Here's the last logs before it went blank: (after around 8 hours) ``` 2015-01-05 09:10:15 : Cannot locate Next button, Restarting Bot 2015-01-05 09:10:15 : Trying to get to main screen 2015-01-05 09:15:20 :