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.

Rotation API suggestion

Featured Replies

We've been discussing with @FearMe regarding checking NPC's rotation using getRotation() and representation are as follows:

  • North is 1024
  • South is 0
  • West is 512
  • East is 1536

Those numbers might be off but you get the idea. Wouldn't it be easy for us to compare if we had Rotation.NORTH, SOUTH, EAST, WEST, SOUTHEAST, SOUTHWEST, NORTHEAST, NORTHWEST?

It's a fair suggestion, but at the same time anyone who needs to know the angle enough will hopefully have the brain power to figure it out. Something like this is most aptly useful for scripts such as Sorceress' garden.

  • Author

It's a fair suggestion, but at the same time anyone who needs to know the angle enough will hopefully have the brain power to figure it out. Something like this is most aptly useful for scripts such as Sorceress' garden.

 

Yea true end of the day we can figure out most things but it's more efficient to have an API which helps out in terms of coding and allows us to allocate more time into planning out/writing down the logic of the script

  • Author

FearMe was requesting a method to check NPC's rotation, I told him to use getFacingDirection() but he told me he was using getRotation() which would have the values shown above

It goes between 0 and 2047.

0, 256, 512, 768, 1024 and so on. Although it's not a bad suggestion, I think that it's pretty redundant.

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.