Welcome!

By registering with us, you'll be able to discuss, share and private message with other members of our community.

Sign up now!

Question Mouse Overlay

Joined
Feb 23, 2019
Messages
34
I see that on some of @tyb51's scripts that there are mouse overlays. The only posts that I can find are old and say that it can't be implemented. Assuming that information is outdated, is there a publicized way to show the mouse's position for debugging purposes? I've noticed that when my script tries to interact with a walking NPC it tends to frantically jump all over the place before going to the desired NPC.
 
cuppa.drink(java);
Joined
Mar 13, 2018
Messages
7,097
I see that on some of @tyb51's scripts that there are mouse overlays. The only posts that I can find are old and say that it can't be implemented. Assuming that information is outdated, is there a publicized way to show the mouse's position for debugging purposes? I've noticed that when my script tries to interact with a walking NPC it tends to frantically jump all over the place before going to the desired NPC.
You can use the runemate Mouse API to get the current mouse pos and then use standard java draw methods to draw on the screen at that coordinate. Offsetting by the current position of your client on screen

As far as I know, there's no runemate API for drawing on screen, you just have to use the regular java one with coords.

Someone correct me if I'm wrong.
 
Bot Consultant
Joined
Nov 17, 2014
Messages
304
You can use the runemate Mouse API to get the current mouse pos and then use standard java draw methods to draw on the screen at that coordinate. Offsetting by the current position of your client on screen

As far as I know, there's no runemate API for drawing on screen, you just have to use the regular java one with coords.

Someone correct me if I'm wrong.

From my understanding and overlay was in the works to be added to the Runemate API but is not of top priority. One could look at the development tools, of which i believe, one of two, are open-source.
 
Joined
Feb 23, 2019
Messages
34
You can use the runemate Mouse API to get the current mouse pos and then use standard java draw methods to draw on the screen at that coordinate. Offsetting by the current position of your client on screen

As far as I know, there's no runemate API for drawing on screen, you just have to use the regular java one with coords.

Someone correct me if I'm wrong.

Thanks, that's what I thought was happening in the scripts I mentioned seeing as there was an additional window that appeared and overlayed the game client.


From my understanding and overlay was in the works to be added to the Runemate API but is not of top priority. One could look at the development tools, of which i believe, one of two, are open-source.

Thanks, but the open source dev tools don't have any sort of overlay.
 
Top