Sign in to follow this  

Player hosted client/server game and cheating

Recommended Posts

I'm working on a small scale multiplayer game with maybe 8-64 players supported per server but I was wondering if I could get some help thinking of what kind of gameplay I can implement where cheating can be mostly mitigated.

I know the player hosting the game can pretty much cheat anyway they want but I want to prevent the other clients from cheating as much as possible. Especially when it comes to interaction between players.

I want to have some form of progression but I don't think I can have anything where players can affect others with their stats or items since those things will be stored client side.

I was thinking I could have levels, but a player could hack their client to say they are max level which I guess isn't that big of a deal.

IDK, maybe someone can help me think of ways to do this.

Share this post

Link to post
Share on other sites
You can have all the game actions verified by the host.

For example, if you were creating a card game, the client, when its player click a card, would only send a request to the server saying "I want to play this card." The server/host would first verify that it is a legal action, then execute it and send the gameplay results back to the client. This way, if the client attempts to do something impossible, the server will reject the request and cheating will be prevented.

However, you must assume that all information sent to the client will be available to the player. So, if you were doing an FPS shooter for example, if you send the locations of all players to each client, then the player will be able to cheat using aimbots.

Share this post

Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this