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.

I can't get OSBot to print the name of this interface. Any help?

Featured Replies

Hello.

 

bD7yGh3.png

 

I'm trying to make it print the interface name In this case, the title of a quest. I want it to print out to a text, QUESTNAME.txt (Black Knight's Fortress.txt, Dragon Slayer.txt) etc; It only prints out as ".txt"

 

However, the code doesn't seem to work. Even though it should. the parent and child ID's are all correct, the interface ID is correct. Why isn't this working?

 

Thanks.

Edited by tivo444

  • Author

this.interfaces.getChild(275,2) ?

It's now printing out: 

org.osbot.rs07.api.ui.RS2InterfaceChild@19a61368.txt

 

It's now printing out: 

org.osbot.rs07.api.ui.RS2InterfaceChild@19a61368.txt

 

That means it's registering the interface, now all u gotta do is pull the text from it

  • Author

That means it's registering the interface, now all u gotta do is pull the text from it

Ooohhhh you're right! Thank you let me try that!

Ooohhhh you're right! Thank you let me try that!

 

Dont forget to null check properly on stored variables, instead of pulling a new instance every time you call it. ^_^

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.