From b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 10 Mar 2016 16:36:52 +0300 Subject: For unknown packet field values show packet id and field value. --- src/net/ea/beingrecv.cpp | 2 +- src/net/ea/chatrecv.cpp | 2 +- src/net/ea/npcrecv.cpp | 2 +- src/net/ea/partyrecv.cpp | 4 ++-- src/net/ea/playerrecv.cpp | 2 +- 5 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/net/ea') diff --git a/src/net/ea/beingrecv.cpp b/src/net/ea/beingrecv.cpp index 364236a08..aa84b0143 100644 --- a/src/net/ea/beingrecv.cpp +++ b/src/net/ea/beingrecv.cpp @@ -261,7 +261,7 @@ void BeingRecv::processBeingAction(Net::MessageIn &msg) case AttackType::TOUCH_SKILL: case AttackType::MISS: case AttackType::SKILLMISS: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(CAST_S32(type)); break; } BLOCK_END("BeingRecv::processBeingAction") diff --git a/src/net/ea/chatrecv.cpp b/src/net/ea/chatrecv.cpp index 9a49e6f94..4e4695cf6 100644 --- a/src/net/ea/chatrecv.cpp +++ b/src/net/ea/chatrecv.cpp @@ -117,7 +117,7 @@ void ChatRecv::processWhisperResponseContinue(Net::MessageIn &msg, } break; default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(type); break; } BLOCK_END("ChatRecv::processWhisperResponse") diff --git a/src/net/ea/npcrecv.cpp b/src/net/ea/npcrecv.cpp index 89bacfd2d..ad3a6da10 100644 --- a/src/net/ea/npcrecv.cpp +++ b/src/net/ea/npcrecv.cpp @@ -212,7 +212,7 @@ void NpcRecv::processNpcCommand(Net::MessageIn &msg) break; } default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(cmd); break; } } diff --git a/src/net/ea/partyrecv.cpp b/src/net/ea/partyrecv.cpp index c3c87c145..6d7146ab5 100644 --- a/src/net/ea/partyrecv.cpp +++ b/src/net/ea/partyrecv.cpp @@ -86,7 +86,7 @@ void PartyRecv::processPartySettingsContinue(Net::MessageIn &msg, break; default: case PartyShare::UNKNOWN: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(CAST_S32(exp)); break; } @@ -112,7 +112,7 @@ void PartyRecv::processPartySettingsContinue(Net::MessageIn &msg, break; default: case PartyShare::UNKNOWN: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(CAST_S32(item)); break; } } diff --git a/src/net/ea/playerrecv.cpp b/src/net/ea/playerrecv.cpp index a739ece3a..466c73063 100644 --- a/src/net/ea/playerrecv.cpp +++ b/src/net/ea/playerrecv.cpp @@ -209,7 +209,7 @@ void PlayerRecv::processPlayerArrowMessage(Net::MessageIn &msg) // arrows equiped break; default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(type); break; } BLOCK_END("PlayerRecv::processPlayerArrowMessage") -- cgit v1.2.3-70-g09d2