Skip to content
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

Use simulated mouse clicks at specified coordinates instead of sending commands #82

Closed
WangZP10969 opened this issue Jul 18, 2022 · 1 comment

Comments

@WangZP10969
Copy link

I've been using your script recently and it works perfectly.
I'm wondering if it's possible to simulate mouse click events at some specified locations instead of sending commands to make the process look more normal.

For example, after the game is over, wait for a fixed time, click the OK button to return to the home page, and click on the rank field for the next match, even in the game, click to realize the operation of the game.

I don't know scripting, just some ideas.

@HoruakutiX
Copy link

Agreed.
Actually, it is nearly an inevitable problem that the majsoul website often crash in CN sever when the game is over and the bot refresh it.
The error code is usually 404 or 403 and it can not be solved by using vpn, so it makes the bot can not be used for long time without human check.
I highly recommend that the bot can use clicking to start new game automaticly.
In addition, I guess it will be more difficult for yostar to ban the bot after using clicking instead of sending commands.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants