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.

redgar72

Members
  • Joined

  • Last visited

  1. I merged the two classes and I am still getting a NPE at the same line
  2. My walk function is in a separate class that does extend the Method Provider. Osbot crashes as this is running so I can not copy paste, However here is a screenshot.
  3. The reason I have that loop there was for testing purposes because in a previous iteration I had a web walk event that led into a NPC interaction and the bot would try to interact with the NPC as it was walking before it got to the actual area and opened the door before the npc
  4. Here is a walk function I made, the error occurs on the execute(walkEvent) line. public void walk(Area area) throws InterruptedException{ WebWalkEvent walkEvent = new WebWalkEvent(area); execute(walkEvent); while (!area.contains(myPlayer().getPosition())) { Thread.sleep(1000); } } This is called like this: walk(new Area(3189, 3273, 3189, 3272)); Does anyone know what is wrong with this function that would be causing it to throw a null pointer exception?

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.