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.

getEquipment() causing issues

Featured Replies

As of today my script is no longer working. From looking at the debugger the issue in my script seems to be coming from any instance of getEquipment(). I have been using this script for the past week with no changes for 10 hours plus. Has anything changed?

To be specific I am trying to use it to bank using a ring of dueling I am wearing.

Something like this:

getEquipment().interact(EquipmentSlot.RING, "Clan Wars");

Edited by Eidolic

I second this. Occasionally, getEquipment() returns null for me.

  • Author
38 minutes ago, Explv said:

Is the equipment tab open while you are getting these errors?

Update: I am an idiot and my game was in resizable. Is there some kind of check I can put in my script to change it from resizable to fixed onstart?

1 hour ago, Explv said:

Is the equipment tab open while you are getting these errors?

Does it need to be open?

if it returns null.. try using..

 

	if (getEquipment() != null) {
	//code???
	}

3 hours ago, Explv said:

Is the equipment tab open while you are getting these errors?

The method switches to equipment tab itself

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.