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.

Planes

Featured Replies

So i have an area mapped at plane 2

and used 

if(AREA.contains(myPlayer()){
//DO THIS
}

and do this triggers if i'm in the area on plane 1...

code works slightly better when the check is

if(AREA.contains(myPlayer()) && myPlayer.getPosition.getZ() == 2){
//DO THIS
}

Single area check though doesn't wait until my z = 2.
Just waits until my z > 0 and i'm in the area :(

 

This is intended. Area is simply a 2d boundary on the X and Y coords.

As you stated, the solution is to simply check the Z coordinate as well. Or you could make an extension of the Area class with an added Z coordinate

  • Author

This is intended. Area is simply a 2d boundary on the X and Y coords.

As you stated, the solution is to simply check the Z coordinate as well. Or you could make an extension of the Area class with an added Z coordinate

mmk, I don't know why you'd intend this when the positions you give an area all contain their Z :/

I will work around but it is still kinda strange with the way it handles being there

mmk, I don't know why you'd intend this when the positions you give an area all contain their Z :/

I will work around but it is still kinda strange with the way it handles being there

 

It has constructors that simply take X and Y coordinates; the ones that take Position instances merely grabs their X and Y coords

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.