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.

Area Conversion.

Featured Replies

First off, I would like to point out that i'm aware that the way I declared the points in general isn't the most efficient way of doing it. Nonetheless, I would like to convert this to the Osbot API, and am currently unaware of how to do so. I'm still learning. :3

  public static final Area powerchopZone = new Area(new Tile[] {
            new Tile(Methods.getX(Players.getMyPlayer().getLocation()) - 5, Methods.getY(Players.getMyPlayer().getLocation()) + 5), new Tile(Methods.getX(Players.getMyPlayer().getLocation()) + 5, Methods.getY(Players.getMyPlayer().getLocation()) + 5),
            new Tile(Methods.getX(Players.getMyPlayer().getLocation()) - 5, Methods.getY(Players.getMyPlayer().getLocation()) - 5), new Tile(Methods.getX(Players.getMyPlayer().getLocation()) + 5, Methods.getY(Players.getMyPlayer().getLocation()) - 5)
    });
  • Author

new Area(bottom_left_x, bottom_left_y, top_right_x, top_right_y)

 

And how would I get my local player's current location?

 

There doesn't seem to be anything similar to Players#getMyPlayer()

myX(), myY(), client.getPlane() [height level], client.getMyPlayer().getX(), client.getMyPlayer().getY(), client.getMyPlayer().getZ()

Guest
This topic is now closed to further replies.

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.