Jump to content
View in the app

A better way to browse. Learn more.

OSBot :: 2007 OSRS Botting

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Bug] Script executor is taking too long to suspend; restarting now...

Featured Replies

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 

I have been having this for at least 9 months so don't think anything would change :D 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

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 :feels:

  • Author
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 :feels:

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)

VlVckFd.png

Edited by Mojo

  • Author

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? 

  • Author

Is no one having this issue?

  • 2 weeks later...

You must be doing something weird in your code that's causing this issue. I have not seen it.

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.

Create an account or sign in to comment

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.