From acaaee81e79dfca6991636233bcaa4ee7994da93 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 10 Mar 2015 22:20:36 +0300 Subject: eathena: add partial support for packet SMSG_MVP_EXP 0x010b. --- src/net/eathena/chathandler.cpp | 11 +++++++++++ src/net/eathena/chathandler.h | 2 ++ src/net/eathena/protocol.h | 1 + 3 files changed, 14 insertions(+) (limited to 'src') diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 515a5923d..4e4231561 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -67,6 +67,7 @@ ChatHandler::ChatHandler() : SMSG_GM_CHAT2, SMSG_MVP_EFFECT, SMSG_MVP_ITEM, + SMSG_MVP_EXP, SMSG_IGNORE_ALL_RESPONSE, SMSG_COLOR_MESSAGE, SMSG_CHAT_IGNORE_LIST, @@ -144,6 +145,10 @@ void ChatHandler::handleMessage(Net::MessageIn &msg) processMVPItem(msg); break; + case SMSG_MVP_EXP: + processMVPExp(msg); + break; + case SMSG_IGNORE_ALL_RESPONSE: processIgnoreAllResponse(msg); break; @@ -856,4 +861,10 @@ void ChatHandler::processMVPItem(Net::MessageIn &msg) msg.readInt16("item id"); } +void ChatHandler::processMVPExp(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("exo"); +} + } // namespace EAthena diff --git a/src/net/eathena/chathandler.h b/src/net/eathena/chathandler.h index 27104edfd..e2ccb960d 100644 --- a/src/net/eathena/chathandler.h +++ b/src/net/eathena/chathandler.h @@ -141,6 +141,8 @@ class ChatHandler final : public MessageHandler, public Ea::ChatHandler static void processChatRoleChange(Net::MessageIn &msg); static void processMVPItem(Net::MessageIn &msg); + + static void processMVPExp(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index da0517938..1c3846ebc 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -252,6 +252,7 @@ #define SMSG_QUEST_NPC_EFFECT 0x0446 #define SMSG_MVP_ITEM 0x010a +#define SMSG_MVP_EXP 0x010b #define SMSG_MVP_EFFECT 0x010c #define SMSG_RANKS_LIST 0x097d -- cgit v1.2.3-70-g09d2