dokato Posted June 4, 2015 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
Flamezzz Posted June 4, 2015 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
dokato Posted June 4, 2015 Author 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
FrostBug Posted June 4, 2015 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