mirror of
https://github.com/EQEmu/Server.git
synced 2026-05-31 00:46:46 +00:00
Fix some unhandled opcode output messages
This commit is contained in:
@@ -458,9 +458,8 @@ int Client::HandlePacket(const EQApplicationPacket *app)
|
|||||||
args.push_back(const_cast<EQApplicationPacket*>(app));
|
args.push_back(const_cast<EQApplicationPacket*>(app));
|
||||||
parse->EventPlayer(EVENT_UNHANDLED_OPCODE, this, "", 0, &args);
|
parse->EventPlayer(EVENT_UNHANDLED_OPCODE, this, "", 0, &args);
|
||||||
|
|
||||||
|
|
||||||
char buffer[64];
|
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){
|
if (logger.log_settings[EQEmuLogSys::Client_Server_Packet].log_to_console > 0){
|
||||||
app->build_header_dump(buffer);
|
app->build_header_dump(buffer);
|
||||||
if (app->size < 1000)
|
if (app->size < 1000)
|
||||||
|
|||||||
Reference in New Issue
Block a user