PhilippvK / playforia-minigolf

Client & Server for Minigolf Game known from Playforia/Playray/Appeli. Written in Java.
84 stars 31 forks source link

Detect usage of aimbot on server side #62

Open PhilippvK opened 3 years ago

PhilippvK commented 3 years ago

We should figure out a way to detect the client side aimbot which can be enabled very easy. The is relevant because of #61 as cheating should not contribute to the highscores.

It is up to discuss if players who have the aimbot enabled are allowed to play non-single-player games and if yes, if their aimbot usage should be shown to other players in the UI.

I am aware of the fact, that by the aimbot-checking will be easy to crack (for example by changing the client code) but its better than nothing.

Maumaumon commented 3 years ago

What do I have to do in order to use the aimbot?

PhilippvK commented 3 years ago

@Maumaumon Set allowCheating=true in GameCanvas.java and recompile the client by yourself. The C-Key can be used in a Game to turn in on or off on demand. (You may have to focus the Game Windows with a mouse click before)

Maumaumon commented 3 years ago

Ahhh, now I got it. I ahad already enabled it but didnt know that I need the C-key. Thank you very much Philipp:)

PhilippvK commented 3 years ago

@Maumaumon Great! Please use it wisely.

We are definitely thinking of removing that feature completely or just from multiplayer games.