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.

OSB2 using inventory item on entity

Featured Replies

  • Author

I've reported this since 2.14, been broken since then.

How are you trying to do it? Interact with inventory item "Use" and then "Use" on entity?

How are you trying to do it? Interact with inventory item "Use" and then "Use" on entity?

Yes. You can check if an item in the inventory is selected and get what that item is, so that should help you.

  • Author

Yes. You can check if an item in the inventory is selected and get what that item is, so that should help you.

That's exactly what I'm doing and it won't work. Whats your code?

Select item, move to entity destination, rightclick if more than 1 entity on cursor, find the appropiate menu option by looping through all of them, and select it.

 

That's what I do anyway, so I haven't noticed any problems.

  • Author

Select item, move to entity destination, rightclick if more than 1 entity on cursor, find the appropiate menu option by looping through all of them, and select it.

 

That's what I do anyway, so I haven't noticed any problems.

I did enough rewritting of their shit for OSB1. I'm not wasting my time doing it again when I could be doing other more important things.

It's because the noun part of the interact string contains a color code 'notices the different colored "---->"  (Because it's colored), so you need to account for that.


Here's the string format you need to use:


"<col=ff9040>ITEM_NAME<col=ffffff> -> <col=ffff>NOUN"


  • Author

 

It's because the noun part of the interact string contains a color code 'notices the different colored "---->"  (Because it's colored), so you need to account for that.

Here's the string format you need to use:

"<col=ff9040>ITEM_NAME<col=ffffff> -> <col=ffff>NOUN"

 

No that does not matter.

  • Author

Always mattered in OSB1.

You must do it a different way than me, because I've never bothered using the full color coded string.

.interact(null);

-- will always select the first option, which is perfect if the item is selected.

but this relies on OSBot's interact method which is awful.

Write your own method.

Edited by dreamliner

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.