Skip 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.

Client bug: MenuAPI#getTooltip() sometimes returns second option instead of first

Featured Replies

1. A description of the issue

Calling getMenuAPI().getTooltip() sometimes returns the second option instead of the first.

 

2. Are you receiving any errors?

No.

 

3. How can you replicate the issue?

// UNIT TESTING
// interaction = Talk-to
// target.getName() = Man
// Found a "Man" NPC, and hovered over it.
String strippedTooltip = getMenuAPI().stripFormatting(getMenuAPI().getTooltip());
String estimatedTooltip = interaction + " " + target.getName();
log("Tooltips: [" + strippedTooltip + "] [" + estimatedTooltip + "]");

8a5dab8ce25770a6c94acf739f091d91.png

f3011f840f2b1389b15371a7abf38527.png

 

4. Has the issue persisted through multiple versions?

Yes. This is a problem that means that #interact() will incorrectly left click, so as long as that was present. It's been a problem for a long time.

  • Author

How long does it take to replicate? So I can plan accordingly.

 

It can happen at any time. Seems to happen more likely after another interaction (eg the option is being cached).

For context, I was recording the results of 500 interactions, and I first saw them occur (with NPC#interact()) at around interaction #70 so I had a further look.

Recently Browsing 0

  • No registered users viewing this page.

Account

Navigation

Search

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.