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.

Camera rotation operations blocking forever?

Featured Replies

EDIT: I did a bit of searching around and apparently there was a bug with the camera rotations in versions prior to 1.8.3, I'm using 1.8.1 which might explain the issue I'm having. I'm going to update to version 1.8.3 and test out the script again. I'll update the topic with the results.

 

 

For the antiban portion of my script I'm trying to get it to move the camera randomly.
 
I've accomplished this by using the rotateCameraPitch(int degrees) and the rotateCameraAngle(int degrees) methods. This works sometimes, but other times I encounter a problem where the script will literally just block (stop, pause, etc.) forever when its supposed to rotate the camera! I thought it might've been the values I was entering into the methods so I tried changing the random intervals with no luck. Anyone have similar problems? Any possible fixes for this?

 

The code I'm using to rotate the camera:

script.myPlayer().getClient().rotateCameraPitch(MethodProvider.random(30, 50));

and 

script.myPlayer().getClient().rotateCameraToAngle(MethodProvider.random(50, 200));

Edited by lare96

  • Author

turned out to be the client I was using, thanks for the advice pain. feel free to lock/move this or whatever.

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.