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.

getCamera().moveYaw(n) docs are wrong, or there is a bug

Featured Replies

Go to these docs and search for "moveYaw".

Clearly it says:

Quote
Returns:
Will always return true since the camera is asynchronous!

It also specifically says to use 0 for NORTH:

Quote

Rotates the camera yaw to the specified angle. Compass upside pointing to NORTH = 0, SOUTH = 180, WEST = 90, EAST = 270;

In my code, I do the following:

paint.state("Moving camera north...");

if (!moveCameraNorth()) {
    paint.state("Failed to more camera north.");
    return false;
}
private boolean moveCameraNorth() {
    return getCamera().moveYaw(0);
}

I see this in the logger:

Quote

[INFO][Bot #1][05/10 02:45:44 PM]: Moving camera north...
[INFO][Bot #1][05/10 02:45:44 PM]: Failed to more camera north.

Why does this happen? Completely goes against the documentation. There is no stack trace or any other error, just my own logs.

Create an account or sign in to comment

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.