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.

Detecting items in a trade window

Featured Replies

if you used the interface explorer you would find out that trade interface doesn't use inventories..

 

What does it use then?

Ive searched the API and found no dedicated methods to do this.

 

Could you give us a hint @XavierM?

Edited by Kronos

if you used the interface explorer you would find out that trade interface doesn't use inventories..

 

It does? It's just the way that the interfaces are setup in the api, they don't allow child interfaces for child interfaces, or at least a way to get the id of the child interface, and since the inventory on the trade screen is part of a child, that is on the trade screen, we cannot get the items for it.

 

Example

 

Parent 0 (trade screen)

-child 1 (username)

-child/parent 2 (Left side container)

--child 0 (Items)

 

No way for us to access the (items), since you RS2InterfaceChild doesn't support children.

 

Correct me if im wrong.

  • Author

 

if you used the interface explorer you would find out that trade interface doesn't use inventories..

 

It does? It's just the way that the interfaces are setup in the api, they don't allow child interfaces for child interfaces, or at least a way to get the id of the child interface, and since the inventory on the trade screen is part of a child, that is on the trade screen, we cannot get the items for it.

 

Example

 

Parent 0 (trade screen)

-child 1 (username)

-child/parent 2 (Left side container)

--child 0 (Items)

 

No way for us to access the (items), since you RS2InterfaceChild doesn't support children.

 

Correct me if im wrong.

 

 

According to @Merccy it actually required a new hook. He's working on it now.

Xavier actually has the hook for it ;) hence his herb bot and his mercher

  • Author

Xavier actually has the hook for it wink.png hence his herb bot and his mercher

 

I don't think he has stack amount hooked fully though.

Just by looking at his debug it seems it just reads it from the text eg: 145k or 12m ect.

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.