clearly distinct between RequestBypassToServer and RequestLinkHtml in C->S packet parser

This commit is contained in:
alexey.min 2012-05-13 19:38:28 +00:00
parent 3d260cdc41
commit 75afe64b36

View File

@ -148,7 +148,10 @@ bool UserAI::UAI_process_RequestBypassToServer( unsigned char *bytes, unsigned i
wchar_t *cmd = p.readUnicodeString();
if( !cmd ) return false;
// parse command // ex.: bypass [L2Detect_resetStats]
log_error( LOG_USERAI, "BypassToServer/LinkHtml: [%S]\n", cmd );
if( opcode == 0x22 )
log_error( LOG_USERAI, "RequestLinkHtml: [%S]\n", cmd );
if( opcode == 0x23 )
log_error( LOG_USERAI, "RequestBypassToServer: [%S]\n", cmd );
if( !wcsstr( cmd, L"L2Detect_" ) )
{
// this is not radar setup bypass, send it to server unchanged