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.

failing to drop logs

Featured Replies

hey idk what causes this issue but once a while my script fails to drop the log and instead clicks use, and then it just stops droping the logs and moves onto different task, the method im using to drop the logs is inventory.dropAll(treeType);

d8d59ab.png?1

 

It's an API problem. I believe it's fixed in the upcoming stable versions. The bounding boxes for the Drop and Use options intersect (just by 1px), so it will sometimes accidentally use it instead of dropping it.

alright thanks for the heads up

 

You could fix this simply:

if (getInventory().isItemSelected()) getMouse().click(false);
//continue loop

If an item is selected, it will left click. This will remove an item from being selected :)

You could fix this simply:

if (getInventory().isItemSelected()) getMouse().click(false);//continue loop
If an item is selected, it will left click. This will remove an item from being selected :)

Or getInventory().deselectItem()

Or getInventory().deselectItem()

 

That works too, but IMO it's better to rely as little as possible on these smaller "on top" methods, if you will.

That works too, but IMO it's better to rely as little as possible on these smaller "on top" methods, if you will.

That all depends how likely things will break. However, due to the question I think those "On top" methods will suit him better. Since that way he will learn things about the API. Nothing personal too, I get your point. smile.png

Or getInventory().deselectItem()

it will deselect by clicking on the inventory tab. Rather then on the item itself

it will deselect by clicking on the inventory tab. Rather then on the item itself

Didn't check that part. could be indeed.

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.