June 4, 201510 yr 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, 201510 yr by dokato
June 4, 201510 yr 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.
June 4, 201510 yr Author 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
June 4, 201510 yr 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.
Create an account or sign in to comment