diff options
author | /dev/humancontroller <devhc@example.com> | 2014-07-14 00:56:25 +0200 |
---|---|---|
committer | /dev/humancontroller <devhc@example.com> | 2017-03-09 13:51:18 +0100 |
commit | 34d78537d8b33801f8cb477720bd4f826f2d2829 (patch) | |
tree | 7e6e7f5d967611d8eb0c7e9aefdec20d129f3c91 /src/game/g_local.h | |
parent | 488b8162060e68a01d2521398f6587337dc75e04 (diff) |
support GUIDless 1.1 clients
differentiate between 1.1-without-GUID, 1.1-with-GUID, and GPP clients
- mark their group in listplayers
- generate random GUIDs for GUIDless clients, but do not allow them to gain admin levels
- use empty GUID strings for the ban entries of GUIDless clients
Diffstat (limited to 'src/game/g_local.h')
-rw-r--r-- | src/game/g_local.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game/g_local.h b/src/game/g_local.h index 35fafb69..b6d65c78 100644 --- a/src/game/g_local.h +++ b/src/game/g_local.h @@ -264,6 +264,7 @@ typedef struct namelog_s char name[ MAX_NAMELOG_NAMES ][ MAX_NAME_LENGTH ]; addr_t ip[ MAX_NAMELOG_ADDRS ]; char guid[ 33 ]; + qboolean guidless; int slot; qboolean banned; @@ -322,7 +323,9 @@ typedef struct int floodTime; vec3_t lastDeathLocation; + int alternateProtocol; char guid[ 33 ]; + qboolean guidless; addr_t ip; char voice[ MAX_VOICE_NAME_LEN ]; qboolean useUnlagged; |