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.

GroundItem#exists() throws NPE

Featured Replies

Below is the usage and the error. It doesn't kill the script, but it happens a lot. 

 

Btw, I've replicated this by controlling the validity of the item. It doesn't happen 100%, but it does happen.

 

 

85d4fcc991.png




[ERROR][Bot #1][07/03 12:23:09 AM]: Error in script executor!
java.lang.NullPointerException
	at org.osbot.rs07.api.util.NodeDequeIterator.set(NodeDequeIterator.java:20)
	at org.osbot.rs07.api.Map.contains(Map.java:125)
	at org.osbot.rs07.api.model.GroundItem.exists(GroundItem.java:176)
	at com.polycoding.wizardkiller.tasks.combat.Attacking.checkForLoot(Attacking.java:99)
	at com.polycoding.wizardkiller.tasks.combat.Attacking.execute(Attacking.java:46)
	at WizardKiller.onLoop(WizardKiller.java:63)
	at org.osbot.rs07.event.ScriptExecutor$InternalExecutor.run(ScriptExecutor.java:99)
	at java.lang.Thread.run(Unknown Source)

  • Author

Post it in the tracker.

 

Link please? Still rather new, no idea where a few things are yet.

Link please? Still rather new, no idea where a few things are yet.

 

Not entirely sure if you can view it (since you're not an SDN scripter), but here it is:

 

Tracker

  • Author

Not entirely sure if you can view it (since you're not an SDN scripter), but here it is:

 

Tracker

 

I cannot, but thank you anyhow!

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.