diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-10 16:36:52 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-10 16:36:52 +0300 |
commit | b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90 (patch) | |
tree | 07a2236398d464bc81ed38beb2e1b675a92fcdf6 /src/net/eathena/chatrecv.cpp | |
parent | 3131f766339fa58875bce8257f6127136c217a30 (diff) | |
download | mv-b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90.tar.gz mv-b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90.tar.bz2 mv-b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90.tar.xz mv-b3f38fd1cac82b68fb057db5cf6c6e80e0cdfd90.zip |
For unknown packet field values show packet id and field value.
Diffstat (limited to 'src/net/eathena/chatrecv.cpp')
-rw-r--r-- | src/net/eathena/chatrecv.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/net/eathena/chatrecv.cpp b/src/net/eathena/chatrecv.cpp index 553fb748e..2eb763cdf 100644 --- a/src/net/eathena/chatrecv.cpp +++ b/src/net/eathena/chatrecv.cpp @@ -415,7 +415,7 @@ void ChatRecv::processChatRoomLeave(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::ROOM_KICKED, name); break; default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(status); break; } if (localPlayer && name == localPlayer->getName()) @@ -578,7 +578,7 @@ void ChatRecv::processChatRoomCreateAck(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::ROOM_ALREADY_EXISTS); break; default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(result); break; } mChatRoom.clear(); @@ -619,7 +619,7 @@ void ChatRecv::processChatRoomJoinFailed(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::ROOM_ERROR_RACE); break; default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(result); } } @@ -669,7 +669,7 @@ void ChatRecv::processChatRoomRoleChange(Net::MessageIn &msg) // dont show normal role break; default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(role); break; } } @@ -702,7 +702,7 @@ void ChatRecv::processMannerMessage(Net::MessageIn &msg) case 5: break; default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(result); break; } } @@ -721,7 +721,7 @@ void ChatRecv::processChatSilence(Net::MessageIn &msg) NotifyManager::notify(NotifyTypes::MANNER_NEGATIVE_POINTS, name); break; default: - UNIMPLIMENTEDPACKET; + UNIMPLIMENTEDPACKETFIELD(result); break; } } |