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.

Get model center point?

Featured Replies

I'm having problems with clicking a relatively large model, and was wondering if there's a way to just get the center of the model's point on the screen.

  • Administrator

I'm having problems with clicking a relatively large model, and was wondering if there's a way to just get the center of the model's point on the screen.

 

 

I'm pretty sure a conscious decision was made to not include this. In any case, a model in RS is composed of many triangles. To get the center, you'd have to use some sort of hulling algorithm to generate a shape, then get the center of that. If I recall, RS just checks whether your mouse is over any of the triangles, which is why we just move the mouse to any point/triangle.

May I ask what model you're trying to click?

 

Also, I'm moving this to API Issues because I will actually see it there.

  • Author

Rooftop agility has some huge, transparent "objects" comprised of only a rectangle (two triangles) where the clickable region is smaller than the actual area that the model takes up.

  • Author

It's mostly ones like jump gap, such as Draynor.

  • Administrator

I see, I may have to take a look at this area myself when I get the chance. I don't know when I will though since finals are next week, so it may be a while. You might be able to get someone else to look.

Guest
This topic is now closed to further replies.

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.