Skip 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.

getStore().buy() throws NPE

Featured Replies

1. OSBot Version (do NOT put "current version", be specific)

2.4.147

2. A description of the issue. Include relevant logs.

Calling getStore().buy(itemName, 50) throws an NPE at api.Store.getSlot. The item I am buying is available in store.

image.png.b8e60547e6082919f3b1d2ba8c5f0c79.png

3. Are you receiving any errors in the client canvas or the logger? 

Yes, see above.

4. How can you replicate the issue?

Call getStore().buy(itemName, 50). Not sure if it happens with other buy amounts as this has been reported by a customer I wrote a private script for.

5. Has this issue persisted through multiple versions? If so, how far back?

Was working fine till the recent buy 50 update.

The report is kind of misleading, as it has nothing to do with "buy 50", but buying in general. Still looking into it, locking for now.

  • Alek locked this topic
  • Alek unlocked this topic

Turns out I was never given the new hooks and went down a pretty terrible path of bug testing. Your issue has been resolved on the next release.

  • Alek locked this topic
Guest
This topic is now closed to further replies.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.