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.

Inventory returning something as true when it should be false.

Featured Replies

I've been checking my inventory for a certain item and if it's no longer in the inventory, I'd set my restock boolean to true. However when I world hop/log back in from a break it occasionally seems to think the item's not in the inventory, although it is. I tried putting in a check for myPlayer.isVisible as well to see if that would fix it but still no luck.. Any ideas?

I'm no crystal-ball-500.jpg  but i feel like Alek is saying to post ur dong or code. I think code. 

2 hours ago, Alek said:

crystal-ball-500.jpg



No code is needed.

@OP you are checking if the item is in your inventory when you are not logged in basically. Wait till after you're in the new world. 

  • Author
4 minutes ago, dmmslaver said:



No code is needed.

@OP you are checking if the item is in your inventory when you are not logged in basically. Wait till after you're in the new world. 

Yeah I thought that. Gonna try checking login state as well as the inv now :) 

4 minutes ago, HeyImJamie said:

Yeah I thought that. Gonna try checking login state as well as the inv now :) 

Look if one of the tab buttons (ex: equipment tab) is visible with widgets to know if you're logged in or not.

You should re-run all checks each time you hop worlds.

  • Author
22 hours ago, liverare said:

You should re-run all checks each time you hop worlds.

I do now, thank you. :)

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.