mirror of
https://github.com/EQEmu/Server.git
synced 2025-12-12 17:51:28 +00:00
Fix some unhandled opcode output messages
This commit is contained in:
parent
726b3a33f5
commit
0b687e4779
@ -458,9 +458,8 @@ int Client::HandlePacket(const EQApplicationPacket *app)
|
||||
args.push_back(const_cast<EQApplicationPacket*>(app));
|
||||
parse->EventPlayer(EVENT_UNHANDLED_OPCODE, this, "", 0, &args);
|
||||
|
||||
|
||||
char buffer[64];
|
||||
logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Client_Server_Packet, "Unhandled incoming opcode: %s", buffer);
|
||||
logger.DebugCategory(EQEmuLogSys::Detail, EQEmuLogSys::Client_Server_Packet, "Unhandled incoming opcode: 0x%04x", app->GetOpcode());
|
||||
if (logger.log_settings[EQEmuLogSys::Client_Server_Packet].log_to_console > 0){
|
||||
app->build_header_dump(buffer);
|
||||
if (app->size < 1000)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user