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.

How to get the walk position the mouse hovers over

Featured Replies

Hi!

I am trying to get the walk position that the cursor is hovering over.

If someone knows how to do this, please leave a message :)

When I did it had to do a hacky way.

I can't find the code but 

I made a 25x25 area with mybot as the center and used getPositions  and then filtered potions with ( s->s.isVisible() ) then filtered with something like ( s->new InteractionEvent(bot,s, new String[0]).isHover())

 

new Area( ).getPositions().stream().filter(s->s.isVisible() ).filter( s->new InteractionEvent(bot,s, new String[0]).isHover()).collect(Collectors.toList())

Tell me if this works If not ill look for my code.

 

 

  • Author
1 hour ago, Gunman said:

Idk if you're talking about what the guy above is talking about or if you mean the debug tool. Settings -> Options -> Debug -> Entity hover debug, top left option.

I want to get the Position coordinates like in the debugger but in code format ofc.

Do you know any solutions for this?

46 minutes ago, pigfarmer said:

I want to get the Position coordinates like in the debugger but in code format ofc.

Do you know any solutions for this?

Nope. You will have to do something like what Nbacon said. Grab the tiles and filter them.

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.