Cheating detection in RTS

From what I understand, most games (Like FPS) uses a server that also simulate the game, and can detect cheaters, and has authority on player positions/speed/kills. I am making an RTS, where each player simulate the game deterministically, so they can all verify if a player cheats (e.g. spends money he doesn’t have). So my thinking is that there is no need for the server to simulate the game, just have every player send a message to the server when another player cheats, and punish the cheater (or if not implemented, the cheater would probably crash the game and not get to cheat anyway).

Thoughts on this? I am thinking of using DarkRift server rather than say, Photon, because I heard it has much overhead, and mostly is tailored for FPS’es with authoritative servers. Basically it sounds like I can be more cheap while still avoiding cheating issues. But are there other problems with not having an authoritative server? Also I want players to run their own servers in LAN, at least this seems easy with DarkRift.

Glad to see you’re choosing DarkRift!

Firstly the cheating :slight_smile: You could determine whether someone is cheating by making the other players detect it but for the most part this could probably be done on the server, in terms of players spending too much money DarkRift could easily handle that and it might be a little better for it to. In terms of physics however that would be much simpler to do from the other clients (though that’s not always the case). Simply be aware that a hacked client could try to trick your server into dispatching malicious punishments to innocent users.

DarkRift is certainly powerful enough to simulate the games and it seems to me to be becoming the server of choice for RTS games (I’m not complaining! :stuck_out_tongue: ). Be aware however DarkRift isn’t designed in the slightest for LAN games, it would require your players to portforward their routers manually and you’d also require the Extreme license (although for most games this will be the case in the end); DarkRift is designed to be hosted in the cloud and that’s really where it works best :slight_smile:

Best advice I can give you at the moment is to download the free version and build a prototype!

Jamie (DarkRift guy)