Skip to content

[BUG] Mouse Position Not Registered By Client #76

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
GigiaJ opened this issue Oct 17, 2020 · 3 comments
Open

[BUG] Mouse Position Not Registered By Client #76

GigiaJ opened this issue Oct 17, 2020 · 3 comments
Assignees
Labels
bug Denotes that this a bug major very important or causing major difficulties or failure with a feature(odd or poor performance)

Comments

@GigiaJ
Copy link
Collaborator

GigiaJ commented Oct 17, 2020

BEFORE REPORTING
Ensure RuneLite is up to date in IDE and you are using the latest version of the master branch

Describe the bug
Currently the mouse is not registering in the client with the code
System.out.println(((Applet) bot.getClient()).getMousePosition(true));
This returns null if the actual cursor is outside the client.
This would absolutely result in bans.

To Reproduce
Steps to reproduce the behavior:

  1. Insert the line of code after mouse moves
  2. Launch client and observe the mouse move reports and the nulls.

Expected behavior
The nulls shouldn't exist. Our actual mouse is being tracked and this is an issue. Clearly this needs to be looked into.

Screenshots
If applicable, add screenshots to help explain your problem.

Desktop (please complete the following information):

  • OS: [e.g. iOS]

Additional context
Add any other context about the problem here.

@GigiaJ GigiaJ added critical urgent or causing complete failure in entire program (crashing or looping) bug Denotes that this a bug imperative imperitive, needs to be done immediately labels Oct 17, 2020
@GigiaJ GigiaJ self-assigned this Oct 17, 2020
@GigiaJ
Copy link
Collaborator Author

GigiaJ commented Oct 18, 2020

Things to look at currently:

  • The mouse listeners and the data they are receiving
  • The container info such as isShowing, we don't want isShowing to be false

@GigiaJ
Copy link
Collaborator Author

GigiaJ commented Oct 18, 2020

Possibly convert the actual canvas file into one we want?
Instrumentation?

@GigiaJ GigiaJ added major very important or causing major difficulties or failure with a feature(odd or poor performance) and removed critical urgent or causing complete failure in entire program (crashing or looping) imperative imperitive, needs to be done immediately labels Jan 31, 2022
@dginovker
Copy link
Contributor

Tangentially related JoonasVali/NaturalMouseMotion#10

@GigiaJ GigiaJ moved this to Considering in RSB Jun 30, 2022
@GigiaJ GigiaJ added this to RSB Jun 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Denotes that this a bug major very important or causing major difficulties or failure with a feature(odd or poor performance)
Projects
Status: Considering
Development

No branches or pull requests

2 participants