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.

RS2Object interact()

Featured Replies

On one of my scripts I interact with bones, and I was using "Use" and not "Bury"

Unfortunately, lately the script has been burying bones on accident quite often, and that basically trashes that part of the script.

 

Has anyone else noticed anything like this? Is it a bug in the client?

 

 

Thanks,

Nezz

The client loves to missclick. Nothing you can really do about it besides write your own method and hope it doesn't missclick when you try to press "use"

this is a method I wrote to quickly withdrawl all from the bank - it may be of some use to you

 public boolean wAll(Bank b) throws InterruptedException {
      if (this.client.getInventory().contains(nats)) {
         Rectangle r = b.getAbsoluteSlotPosition(b.getSlotForId(this.ore_id2));
         MouseDestination md = new RectangleDestination(r);
         this.client.moveMouseTo(md, false, true, true);
         sleep(25);
         if (client.isMenuOpen()) {
            md = new RectangleDestination(new Rectangle(client.getMenuX(), client.getMenuY() + 19 + 5 * 15, client.getMenuWidth(), 14));
            this.client.moveMouseTo(md, false, true, false);
         }
         else {
            return false;
         }
      }
      else {
         stop();
      }
      return true;
   }

Edited by dreamliner

  • Author

The client loves to missclick. Nothing you can really do about it besides write your own method and hope it doesn't missclick when you try to press "use"

this is a method I wrote to quickly withdrawl all from the bank - it may be of some use to you

 public boolean wAll(Bank b) throws InterruptedException {
      if (this.client.getInventory().contains(nats)) {
         Rectangle r = b.getAbsoluteSlotPosition(b.getSlotForId(this.ore_id2));
         MouseDestination md = new RectangleDestination(r);
         this.client.moveMouseTo(md, false, true, true);
         sleep(25);
         if (client.isMenuOpen()) {
            md = new RectangleDestination(new Rectangle(client.getMenuX(), client.getMenuY() + 19 + 5 * 15, client.getMenuWidth(), 14));
            this.client.moveMouseTo(md, false, true, false);
         }
         else {
            return false;
         }
      }
      else {
         stop();
      }
      return true;
   }

Nice! I'll play around with it and see what happens. Thanks. :)

 

I know osb likes to misclick a lot, but to straight up fail an interaction is new to me. It was always consistent in the interaction it used. It just sometimes took a few tries to do it. :P

Nice! I'll play around with it and see what happens. Thanks. smile.png

 

I know osb likes to misclick a lot, but to straight up fail an interaction is new to me. It was always consistent in the interaction it used. It just sometimes took a few tries to do it. tongue.png

With a method similar to that I was able to combine an entire inventory of pots in less than 10 seconds tongue.png

  • Author

Is there a way to search for text in an open menu? Like after right clicking, could I just search for "Use"?

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.