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.

Robo Raptor

Members
  • Joined

  • Last visited

Everything posted by Robo Raptor

  1. Thanks BravoTaco. After I tried this I got the same result but I finally figured out that this is entirely my fault. 16000 ms is not enough time to afk crush an inventory worth and I had a random return condition for onloop which skewed the 16000ms it was terminating at. I extended the maximum condition time and all is working well now. Thanks again for the help.
  2. I'm trying to put together my first basic script, however, I'm having an issue when setting a conditional sleep. The wait condition will randomly end (earlier than the timeout condition), this will happen 5+ times until all the bars are used up. I want the script to sleep until there are no chocolate bars left in the inventory. I've also used !myPlayer().isAnimating() with the same random stops happening. if(inventory.contains("Knife") && inventory.contains("Chocolate bar")){ if (bank.isOpen()){ getKeyboard().typeKey((char) 27);} log("Using knife with chocolate"); inventory.getItem("Knife").interact("Use"); inventory.getItem("Chocolate bar").interact("Use"); log("Sleeping until no bars remain"); Timing.waitCondition(() -> !inventory.contains("Chocolate bar"), 16000); } I'm using the wait condition from The Viking: public static boolean waitCondition(BooleanSupplier condition, int timeout) { return waitCondition(condition, 20, timeout); } If anyone can point me in the right direction it would be helpful.

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.