summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-10 22:20:36 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-10 22:20:36 +0300
commitacaaee81e79dfca6991636233bcaa4ee7994da93 (patch)
tree585f5940322cc6b9faf873af47e09ed66e56243d
parentab55f44e40262249f247d6001d0e1e7ba9217202 (diff)
downloadmv-acaaee81e79dfca6991636233bcaa4ee7994da93.tar.gz
mv-acaaee81e79dfca6991636233bcaa4ee7994da93.tar.bz2
mv-acaaee81e79dfca6991636233bcaa4ee7994da93.tar.xz
mv-acaaee81e79dfca6991636233bcaa4ee7994da93.zip
eathena: add partial support for packet SMSG_MVP_EXP 0x010b.
-rw-r--r--src/net/eathena/chathandler.cpp11
-rw-r--r--src/net/eathena/chathandler.h2
-rw-r--r--src/net/eathena/protocol.h1
3 files changed, 14 insertions, 0 deletions
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