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.

NPE on World Hop

Featured Replies

Ran across a NPE when trying to world hop

 

NPE:



[1-EXCEPTION-17:25:54.120 >TaskScript.onLoop] java.lang.NullPointerException
        at org.osbot.rs07.api.Worlds.initInstantWorlds(en:78)
        at org.osbot.rs07.api.Worlds.worldSwitch(en:178)
        at org.osbot.rs07.api.Worlds.hopToP2PWorld(en:193)

Thanks for reporting. Can you give a little bit of the background though? Was it on the logout tab, the world hop tab, did it try clicking, etc.

  • Author

Thanks for reporting. Can you give a little bit of the background though? Was it on the logout tab, the world hop tab, did it try clicking, etc.

 

Sorry! I accidentally hit submit before I was done writing about the bug. lol but it happened on the world hop tab if I can remember correctly!

 

Also running injection version 2.3.114

Uhhh... that's really strange for you to be getting a null pointer there. Does this happen all the time or only sometimes?

  • Author

Uhhh... that's really strange for you to be getting a null pointer there. Does this happen all the time or only sometimes?

That was the first or second time, but I think I might have an idea why it was thrown. My player was trying to hop worlds again when it wasn't possible to.

For example, I had a condition to make it hop, so it hopped worlds, and before it was about to click the welcome screen after you world hop, the script met the condition to hop again, but it wasn't possible for it to click to hop worlds because the hop worlds interface wasn't present at the time of log in when clicking the "continue" button on the welcome screen.

You might be able to add a check to hop worlds and say that if myPlayer().isVisible() or something? Just a guess because I've ran into similar problems like this before.

Edited by ProjectPact

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.