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.

random breaks

Featured Replies

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 by dokato

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.

  • 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 

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

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.