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.

Why would this fail?

Featured Replies

11 minutes ago, dmmslaver said:

Really because I'm sitting here watching a blank script with inventory.getAmount returning zero with the item in inventory.. 

Works fine in my script 

1 hour ago, Juggles said:

Works fine in my script 

You set tab to eg quest tab, then obtain an item from the ground NOT from dropping it, from from rock, tree, etc, and without opening inventory, getAmount returns? i added your skype

Edited by dmmslaver

On 4/6/2017 at 6:13 PM, harrypotter said:

This seems to fail on Low CPU mode. It will continue to pick the bush even when the inventory contains Cadava berries.


                if (!script.inventory.contains("Cadava berries")) {
                    if (!bushArea.contains(script.myPosition())) {
                        script.getWalking().webWalk(bushArea);
                    } else {
                        Entity bush = script.getObjects().closest("Cadava bush");
                        if (bush != null) {
                            if (bush.interact("Pick-from")) {
                                Sleep.sleepUntil(() -> script.inventory.contains("Cadava berries"), 5000);
                            }
                        }
                    }
                }

If I pause the script and resume again it works as expected?



When you're picking the berries, is the inventory OPEN? When you pause/resume does it open the inventory?

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.