Mojo Posted February 19, 2020 Posted February 19, 2020 Title says it all. Been having that issue for a week and cant figure out the fix. My script is just killing NPCS and looting, does not hop. The login handler dies in this case and it just logs out. If I log back in manually the script resumes naturally
Kramnik Posted February 19, 2020 Posted February 19, 2020 I have been having this for at least 9 months so don't think anything would change Tho atm I only get this if my script is in middle of something (for e.g. burying bones) and I try to pause/stop it, when I get this error and my client pretty much crashes
Gunman Posted February 19, 2020 Posted February 19, 2020 6 hours ago, Mojo said: Title says it all. Been having that issue for a week and cant figure out the fix. My script is just killing NPCS and looting, does not hop. The login handler dies in this case and it just logs out. If I log back in manually the script resumes naturally If the script is still running you could try making a thread where if logged out for 15 seconds and none of the random solvers are active restart the script executor. Only thing I got for you. Not idea why this would happen
Mojo Posted February 19, 2020 Author Posted February 19, 2020 (edited) On 2/19/2020 at 7:01 AM, Gunman said: If the script is still running you could try making a thread where if logged out for 15 seconds and none of the random solvers are active restart the script executor. Only thing I got for you. Not idea why this would happen Perfect Ill give that a try. Also I tried to run it in debug mode from cmd line and this happens: https://i.imgur.com/VlVckFd.png Not detecting npcs in debug mode but if i run client normally, the script will work again (until script executor dies) Edited March 3, 2020 by Mojo
Mojo Posted February 20, 2020 Author Posted February 20, 2020 Correction: script doesnt work once this happens, I have to stop and restart it, although if I stop it while its logged in, the client will freeze and I cant close it unless I task manager kill it. Also, login handler is perm broken until I restart the client too. Any staff can clue in a fix?
splatbug Posted February 23, 2020 Posted February 23, 2020 Try downloading the latest version of osbot. https://osbot.org/forum/topic/158582-stable-osbot-2570/ This may fix your problem
Mojo Posted March 3, 2020 Author Posted March 3, 2020 On 2/22/2020 at 8:24 PM, splatbug said: Try downloading the latest version of osbot. https://osbot.org/forum/topic/158582-stable-osbot-2570/ This may fix your problem It did not fix my problem. Still having issues to this day.
Camaro Posted March 3, 2020 Posted March 3, 2020 You must be doing something weird in your code that's causing this issue. I have not seen it.
BravoTaco Posted March 4, 2020 Posted March 4, 2020 Will need more code to find the problem. Do you have any while loops or recursive calls? If so than you might be causing the main thread to hang.