dokato Posted June 4, 2015 Share Posted June 4, 2015 (edited) ok, so i never had this problem before and all my scripts used to run good. But now it seems the bot or my script (idk) takes like random breaks of like 30 seconds every minute or so, while it should be just doing its thing. It just freezes and waits, like the bot is afk and then resumes. This used to happens before to but now its waaay longer and it rlly effects my exp/h and gp/h. Standard client (not mirror) Can I ifx this? Any reply would be appreciated. Edited June 4, 2015 by dokato Quote Link to comment Share on other sites More sharing options...
wouldcutar Posted June 4, 2015 Share Posted June 4, 2015 Mirror client or standard? 1 Quote Link to comment Share on other sites More sharing options...
dokato Posted June 4, 2015 Author Share Posted June 4, 2015 standard Quote Link to comment Share on other sites More sharing options...
Flamezzz Posted June 4, 2015 Share Posted June 4, 2015 So while this happens, is onLoop still being called?If this is the case, it's your script. If not, and you have no while loops, some API method is most likely blocking.The only method im aware of which may do that is localwalker#walk.It shouldn't be difficult to check where it goes wrong if you just add a shitload of log messages. 2 Quote Link to comment Share on other sites More sharing options...
dokato Posted June 4, 2015 Author Share Posted June 4, 2015 So while this happens, is onLoop still being called? If this is the case, it's your script. If not, and you have no while loops, some API method is most likely blocking. The only method im aware of which may do that is localwalker#walk. It shouldn't be difficult to check where it goes wrong if you just add a shitload of log messages. no while loops Quote Link to comment Share on other sites More sharing options...
FrostBug Posted June 4, 2015 Share Posted June 4, 2015 Add some debugging to your code to figure out what's going on. If onLoop is getting called frequently while "breaking", then it's an issue with your script. If it isn't, then try to figure out where the thread is stalling Pretty much what Flamez said. 1 Quote Link to comment Share on other sites More sharing options...