From: SourceForge.net <no...@so...> - 2003-03-29 22:43:28
|
Patches item #711973, was opened at 2003-03-29 23:55 You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=303248&aid=711973&group_id=3248 Category: None Group: None Status: Open Resolution: None >Priority: 6 Submitted By: Lars Luthman (larsl) Assigned to: Nobody/Anonymous (nobody) Summary: More CTF cheat prevention Initial Comment: Some people cheat by signing off and joining again really quick to get back to their base if an enemy is there. Since the clients decide where to spawn the tanks, fixing this (without adding some kind of 20 second auto-ban or remembering recent players) requires a client change. This patch adds a new message type to the protocol, but it works with old clients and old servers without breaking anything. The message added is a server message called 'MsgSpawnHere' and it sends a uint_16 that can have two values: SpawnOnBase or SpawnAwayFromBase. This way the server can decide whether or not the player can start at the base, but the client still calculates the exact position. This message is only sent once when the player is connecting, but after 1.7g2 I'd like to move all the spawn position calculation code to the server, and send a MsgSpawnHere with the calculated position every time a player connects or dies. This patch doesn't prevent clients without the patch applied from cheating. If you want the old behaviour where tanks start at their bases, you can use the new command line option '-startatbase'. If that option is given the server will send 'SpawnOnBase' instead. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=303248&aid=711973&group_id=3248 |