From 5d3efdeb62fc3253edfc28f0f11db44359c85fab Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Sat, 6 Oct 2007 17:53:46 +0000 Subject: Added 'uf' userinfo variable. Made 'mvdisconnect' command actually work, added 'mvdkill' command. Properly parse player names out of MVD stream. Added gl_showerrors variable. Fixed SV_OUTPUTBUF_LENGTH so it fits into UDP packet without fragmentation! --- source/cl_parse.c | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'source/cl_parse.c') diff --git a/source/cl_parse.c b/source/cl_parse.c index 2caa165..bf76e4c 100644 --- a/source/cl_parse.c +++ b/source/cl_parse.c @@ -812,7 +812,7 @@ static void CL_ParseServerData( void ) { if( protocol == PROTOCOL_VERSION_OLD ) { Com_DPrintf( "Using protocol %d for compatibility with old demos.\n", PROTOCOL_VERSION_OLD ); } else if( protocol < PROTOCOL_VERSION_DEFAULT || protocol > PROTOCOL_VERSION_Q2PRO ) { - Com_Error( ERR_DROP, "Demo uses unsupported protocol version %d.\n", protocol ); + Com_Error( ERR_DROP, "Demo uses unsupported protocol version %d.", protocol ); } cls.serverProtocol = protocol; } @@ -855,7 +855,8 @@ static void CL_ParseServerData( void ) { } i = MSG_ReadShort(); if( !R1Q2_SUPPORTED( i ) ) { - Com_Error( ERR_DROP, "Unsupported R1Q2 protocol version %d.\n", i ); + Com_Error( ERR_DROP, "Unsupported R1Q2 protocol version %d.\n" + "Current client version is %d.", i, PROTOCOL_VERSION_R1Q2_CURRENT ); } cls.protocolVersion = i; i = MSG_ReadByte(); @@ -870,7 +871,8 @@ static void CL_ParseServerData( void ) { } else if( cls.serverProtocol == PROTOCOL_VERSION_Q2PRO ) { i = MSG_ReadShort(); if( !Q2PRO_SUPPORTED( i ) ) { - Com_Error( ERR_DROP, "Unsupported Q2PRO protocol version %d.\n", i ); + Com_Error( ERR_DROP, "Unsupported Q2PRO protocol version %d.\n" + "Current client version is %d.", i, PROTOCOL_VERSION_Q2PRO_CURRENT ); } cls.protocolVersion = i; cl.gametype = MSG_ReadByte(); -- cgit v1.2.3