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.

Bot GUI goes non-responsive when running my script.

Featured Replies

EDIT: Solved

method was throwing Null Pointer Exception

 

 

I haven't tried other scripts, only mine. The paint display doesn't work properly either, but it does show up, it's just the mechanics that aren't working. I'm not really worried about that, I can fix that later. For now, the issue is that I cannot control anything with the bot once I start the script.

 

Here's the script I'm running: http://pastebin.com/8vET2HVq

 

The bot locks up so hard that I can't close it traditionally, I need to open task manager to stop it.

 

Thanks

Edited by ItsCollin

I haven't tried other scripts, only mine. The paint display doesn't work properly either, but it does show up, it's just the mechanics that aren't working. I'm not really worried about that, I can fix that later. For now, the issue is that I cannot control anything with the bot once I start the script.

 

Here's the script I'm running: http://pastebin.com/8vET2HVq

 

The bot locks up so hard that I can't close it traditionally, I need to open task manager to stop it.

 

Thanks

Happens sometimes, most likely an NPE with your script, run it with cmd, see what line it points the error at.

Also your house area code will not work. You need at least 3 positions for an area to make a basic triangle shape. 4 positions to make a rectangle. Any more than that is for any possibility of a polygon.

  • Author

I see, thanks for the help. Didn't really know how getLocalPlayer worked, thought it would select the first item of the player array which would be my player, but I guess not. But now I know how NPEs are handled.

 

Also thanks for the info on Area, I thought it was some sort of rectangle. Still getting used to the API.

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.