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.

Interacting with NPC's menu items?

Featured Replies

Hi

 

I'm trying to interact with the saw-mill operator and click buy all when after I select oak logs. I've been going through the API and can't seem to find the right method to use.

 

Here's what I currently have to interacting with the saw-mill dude. You can see I tried manually buying the logs through the mouse.click method but that didn't seem to be working either... How would I go about using the API for it to detect the menu once I buy-logs from the operator? Thanks

if(sawmilloperator.isVisible()){
    				log("PLANKING!!!!!!!");
    				 sawmilloperator.interact("Buy-Plank");
    				 sleep(3000);
    				Mouse mouse = new Mouse();
    				 mouse.click(334,118,false);


Alright so once you interact with the guy, a widget pops up, you can use the widgets api to interact with that thing. In the bot client, check settings->debug->widgetdebugger to find the widget ids wink.png  

hint: use widgets.get, widgets.isVisible and widgets.interact to program the interaction

Good luck, if you can't find the ids or smth feel free to post here or pm me and I'll visit the saw-mill guy to help you out smile.png

Edited by Flamezzz

  • Author

Alright so once you interact with the guy, a widget pops up, you can use the widgets api to interact with that thing. In the bot client, check settings->debug->widgetdebugger to find the widget ids wink.png  

hint: use widgets.get, widgets.isVisible and widgets.interact to program the interaction

Good luck, if you can't find the ids or smth feel free to post here or pm me and I'll visit the saw-mill guy to help you out smile.png

Ok, I'm trying to use the widget debugger, but I'm a bit confused on how it works. I'll hover over the plank menu, and the log I want to select, but how do I know which one is the parent, child and grandchild? There's three colors it shows when I hover, green, red and white. What does the 'R' and '-' mean?

 

I wish the api provided a bit more information... any tips?

Ok, I'm trying to use the widget debugger, but I'm a bit confused on how it works. I'll hover over the plank menu, and the log I want to select, but how do I know which one is the parent, child and grandchild? There's three colors it shows when I hover, green, red and white. What does the 'R' and '-' mean?

I wish the api provided a bit more information... any tips?

I can help you trough TV. I'll send you my skype

Edited by Psvxe

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.