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.

inventory.interact question

Featured Replies

Sorry about all the spam lately, I'm just really wanting to learn. I'm trying my best to do this on my own, but its just the random shit that stumps me. 

 

Anyways, can anyone explain to me why my interacts aren't working? 

 

Example: http://imgur.com/UTTqY8u

 

The script clearly knows where the cursor is suppose to be, but why isn't it "interacting" with it?

 

Like I said in my second sentence I'm stumped.

 

Any help is appreciated. 

Did you try writing the interact options? ie Use,Fill,Drink,etc

 

There are usually scripters/people versed in scripting in the Chat Box during all times of the day you should go there

Edited by Aibanker

  • Author

 

this, or:

inventory.interact(action, item);

 

 

inventory.getItem("Basket").interact("Fill");

 

This is where I went wrong:

 public boolean basket() throws InterruptedException {
        if (inventory.interact(this.basketsName, "Basket")) {
            if (inventory.interact(this.basketsName, "Fill"));

Did you try writing the interact options? ie Use,Fill,Drink,etc

 

There are usually scripters/people versed in scripting in the Chat Box during all times of the day you should go there

 

And thank you for that advice. I'll ask the chat box next time so I stop flooding the forum with simple questions. My apologies.

This is where I went wrong:

 public boolean basket() throws InterruptedException {
        if (inventory.interact(this.basketsName, "Basket")) {
            if (inventory.interact(this.basketsName, "Fill"));

And thank you for that advice. I'll ask the chat box next time so I stop flooding the forum with simple questions. My apologies.

if (inventory.interact(this.basketsName, "Basket")) {

There is no action option "Basket". That is why the mouse only hovers it. Also, do a null check before interacting with items.

Item item = inventory.get 
if item != null
item.interact("Fill")

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.