X-Git-Url: http://de.git.xonotic.org/?a=blobdiff_plain;ds=sidebyside;f=sv_user.c;h=548a1298dd62eafa2469e84d2c283d64201c81a3;hb=5a028cf391c9e69c5015809ca1b6132af2189198;hp=3f68714b15eab2cecf6277a7b437b8af3c79d4ff;hpb=e712f18fc4eea056c6b62a9861a31d513965a2a1;p=xonotic%2Fdarkplaces.git diff --git a/sv_user.c b/sv_user.c index 3f68714b..548a1298 100644 --- a/sv_user.c +++ b/sv_user.c @@ -831,7 +831,9 @@ void SV_ReadClientMessage(void) switch (cmd) { default: - Con_Printf("SV_ReadClientMessage: unknown command char %i\n", cmd); + Con_Printf("SV_ReadClientMessage: unknown command char %i (at offset 0x%x)\n", cmd, msg_readcount); + if (developer_networking.integer) + Com_HexDumpToConsole(net_message.data, net_message.cursize); SV_DropClient (false); return; @@ -877,7 +879,7 @@ void SV_ReadClientMessage(void) clc_stringcmd_invalid: Con_Printf("Received invalid stringcmd from %s\n", host_client->name); - if(developer.integer) + if(developer.integer > 0) Com_HexDumpToConsole((unsigned char *) s, strlen(s)); break;