Jimboom7 / AlphaJong

A Mahjong AI for Mahjong Soul
GNU General Public License v3.0
396 stars 54 forks source link

Is there a possibility of being banned for using the help mode? #83

Closed NehalemJong closed 1 year ago

NehalemJong commented 2 years ago

I think that the BOT is detected because of the direct communication with the server using the app.NetAgent. So I think that if the BOT is activated in help mode, it will not be BANNED.

Or is it because of the use of view.DesktopMgr to perform actions that are impossible for humans?

Jimboom7 commented 2 years ago

I can't give a definite answer on that. But there have been no reports of bans related to the help mode (and I tried that myself recently - no problems).
The exact reason that leads to the bans is unclear. I suspect that it's related to using the bot for an excessive amount of time. It is likely that the game is able to detect "monotonous" gameplay over a long period of time.
The NetAgent code should not be a problem - in the end it's the same code that is run when you click on a button or perform an action in the game. Same for the DesktopMgr functions.
Whatever the reason: I think using the help mode is safe, but I can't give a guarantee on that.

TRSWNCA commented 2 years ago

I suppose the detection may read some data in localStorage, which is easy and accurate. So a better way is to make a pure extension without using the easily detected data.

Jimboom7 commented 1 year ago

I added a section to the readme that explains how to avoid a ban for sure.