summaryrefslogtreecommitdiff
path: root/source/cl_parse.c
diff options
context:
space:
mode:
authorAndrey Nazarov <skuller@skuller.net>2007-10-06 17:53:46 +0000
committerAndrey Nazarov <skuller@skuller.net>2007-10-06 17:53:46 +0000
commit5d3efdeb62fc3253edfc28f0f11db44359c85fab (patch)
tree08ac17310aa9cd1e558f02f3f06e58c55aa69510 /source/cl_parse.c
parent6af9ed32f5d773be5a300511d47cdad42299df11 (diff)
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!
Diffstat (limited to 'source/cl_parse.c')
-rw-r--r--source/cl_parse.c8
1 files changed, 5 insertions, 3 deletions
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();