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.

NPE on camera functions

Featured Replies

Hello all;

 

I've noticed that I've been getting a few NPE's (two unique ones so far) that I'm getting in *.35 but didn't get in *.31 and prior. I managed to collect data about the first issue, if I encounter the other camera NPE that I've been getting I'll post it as well.

 

Issue: NPE

Using mirror? YES

What: web walking

 

  • Mirror client version - 2.66.177
  • Script that you ran - Custom
  • Hooks that failed
  • JVM/Browser bit version (32 / 64) - 64

 

Call: 

getWalking().webWalk(Constants.LUMBRIDGE_CHURCH.getRandomPosition());

Error:

[ERROR][Bot #1][01/24 08:04:54 AM]: Error executing event : org.osbot.rs07.event.InteractionEvent$CameraControl@5a84f9eb
java.lang.NullPointerException
	at org.osbot.rs07.api.map.Position.isVisible(kh:206)
	at org.osbot.rs07.input.mouse.MainScreenTileDestination.isVisible(ro:178)
	at org.osbot.rs07.event.InteractionEvent$CameraControl.execute(yl:86)
	at org.osbot.rs07.event.EventExecutor$2.run(im:278)
	at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source)
	at java.util.concurrent.FutureTask.run(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
	at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
	at java.lang.Thread.run(Unknown Source)

Note: I did not make any camera calls in my scripts. The only call being made is webWalk.

 

Thank you!

Edited by DeckardCain

  • Author
Quote

I'll see if I can have this fixed for next version ^^

Thank you, good Sir.

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.