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.

Rooter

Trade With Caution
  • Joined

  • Last visited

  1. This worked. The confusion happened because I called my own variable for the bank chest "bank". Thanks. What do you mean by call new ConditionalSleep? Am I not calling it by making a new instance of it?
  2. Right, I wasn't even paying attention to the condition so that makes sense. However I tried it and the lagging still happens.
  3. Haven't scripted (or programmed) in years and started again today. I just found that adding a check to see if my bank is open makes my script lag and unusable. I remember this was usually caused by executing some CPU intensive instruction in a loop but surely it's normal that this type of check is placed in a loop? This is the relevant code (don't mind the conditional sleep, it's not finished): RS2Object bank = getObjects().closest("Bank chest"); if (inventory.isFull() && !b.isOpen()) { if (bank != null && bank.isVisible()) { bank.interact("Use"); new ConditionalSleep(random(800, 1500)) { @[member=Override] public boolean condition() throws InterruptedException { return false; } }; } } b is simply an instance of the Bank class. Thanks in advance.

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.