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 How to get the actual client mouse position?

Joined
Feb 14, 2024
Messages
8
I've been searching for this one for hours.

So what I mean by actual mouse position,

Mouse.getPosition(); returns the bot mouse position, but that isn't always the mouse position.

For example if I pause the script, then move my actual human mouse into and out of the window, the mouse position resets to 0,0 or -1,-1 i forget which.

However upon resuming the script it reports the mouse position as being the same as before the script was paused. For example, in the middle of the window.

How am I able to get the actual mouse position of which the client is sending to the server?
This is a common ability in the bot platform i am migrating from which shall not be named lol

thanks again so much. this is very important for me

EDIT:

This is a separate issue but am trying to control the mouse behavior when the script pauses, however it seems like any calls to Mouse.move i place inside of the onPause method just simply return false. How can I allow mouse movement inside the onPause method? Otherwise I will have to create my own pause button on the gui
 
Joined
Feb 14, 2024
Messages
8
There isn't anything wrong with the Java class, show us your manifest.

Also, make sure your path to the class files are correct.
Yeah i tried but they got enraged that i asked for this basic thing that any legit bot requires, called me malding and other things, and banned me from this discord lol. Shame they will never know
 
Last edited:
easily triggered ✌
Joined
Dec 31, 2015
Messages
4,585
Yeah i tried but they got enraged that i asked for this basic thing that any legit bot requires, called me malding and other things, and banned me from this discord lol. Shame they will never know
I highly doubt that, what was your discord user
 
Bot Author
Joined
Jan 29, 2016
Messages
1,296
Yeah i tried but they got enraged that i asked for this basic thing that any legit bot requires, called me malding and other things, and banned me from this discord lol. Shame they will never know

You was kicked not banned.

And to answer your question, this isn't something Runemate would provide so I would stop asking for it.
 
Top