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.

Any way to change mouse speed?

Featured Replies

Yes there is, but why would you need this though? The simple setMouseSpeed was removed because we shouldn't need to set the mouse speed.

  • Author

Hahahaha as I was reading your comment I remembered that only mouse clicks are recorded facep.gif ... At least I think

Title says all, wondering if there is a way to change the mouse movement speed.

 

No, this feature was removed.

 

If you need to move the mouse instantly then you can use:

final void moveMouseInstantly(final MouseDestination mouseDestination) {
    Rectangle boundingBox = mouseDestination.getBoundingBox();
    moveMouseInstantly(random((int) boundingBox.getMinX(), (int) boundingBox.getMaxX()), random((int) boundingBox.getMinY(), (int) boundingBox.getMaxY()));
}

final void moveMouseInstantly(final int x, final int y) {
    getBot().getMouseEventHandler().generateBotMouseEvent(MouseEvent.MOUSE_MOVED, System.currentTimeMillis(), 0, x, y, 0, false, MouseEvent.NOBUTTON, true);
}

And I'm sure if you spent some time making your own MouseEvent then you could have it at whatever speed you want. However, the setMouseSpeed feature was removed for a reason.

Edited by Explv

  • Author

No, this feature was removed.

 

If you need to move the mouse instantly then you can use:

final void moveMouseInstantly(final MouseDestination mouseDestination) {
    Rectangle boundingBox = mouseDestination.getBoundingBox();
    moveMouseInstantly(random((int) boundingBox.getMinX(), (int) boundingBox.getMaxX()), random((int) boundingBox.getMinY(), (int) boundingBox.getMaxY()));
}

final void moveMouseInstantly(final int x, final int y) {
    getBot().getMouseEventHandler().generateBotMouseEvent(MouseEvent.MOUSE_MOVED, System.currentTimeMillis(), 0, x, y, 0, false, MouseEvent.NOBUTTON, true);
}

And I'm sure if you spent some time making your own MouseEvent then you could have it at whatever speed you want. However, the setMouseSpeed feature was removed for a reason.

Damn you're always so knowledgeable with the JS! Thanks mah dude

Explv please teach me your ways of knowing the difference between JS and Java. :doge:

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.