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.

Allow user to click Entity

Featured Replies

I've seen this in other scripts, where you click the Entity when the script starts. However input is disabled by default when a script is running, how can i change this?

>onMouseClick

>iterate all objects/npcs/etc
>>if mouse click point is within the Entity model
>>get that entity

Similar concept as showing/hiding paint on screen with a mouse click. User input doesn't have to be enabled.

  • Author

I have basically this already coded, but it only works when i enable input

  • Author
24 minutes ago, Alek said:

Like the way I have it in all my scripts? It's all Java API for Swing/AWT, human input is not necessary.

I've only used your woodcutter, but yeah pretty much like that. When the script starts you click the tree you want and it gets that entity, how is that not user input?

Currently I can get the entity on cursor, highlight it with paint, set it to interact with mouse click. Only thing I'm missing is the ability to move the mouse around.

 

You cache the first entity/name of entity (whatever you want) they select.

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.