summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/packetsin.inc18
-rw-r--r--src/net/eathena/questrecv.cpp8
2 files changed, 25 insertions, 1 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index aa30f5cfc..388511795 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -1364,6 +1364,24 @@ if (packetVersion >= 20181002)
packet(SMSG_BEING_REMOVE_SPECIAL_EFFECT, 0x0b0d, 10, &BeingRecv::processBeingRemoveSpecialEffect, 20181002);
}
+// 20181010 zero
+if (packetVersionZero >= 20181010)
+{
+ packet(SMSG_QUEST_LIST, 0x0aff, -1, &QuestRecv::processAddQuests, 20181010);
+}
+
+// 20181017 main
+if (packetVersionMain >= 20181017)
+{
+ packet(SMSG_QUEST_LIST, 0x0aff, -1, &QuestRecv::processAddQuests, 20181017);
+}
+
+// 20181017 re
+if (packetVersionRe >= 20181017)
+{
+ packet(SMSG_QUEST_LIST, 0x0aff, -1, &QuestRecv::processAddQuests, 20181017);
+}
+
// 20181017 main
if (packetVersionMain >= 20181017)
{
diff --git a/src/net/eathena/questrecv.cpp b/src/net/eathena/questrecv.cpp
index b05d85c64..b77915e3a 100644
--- a/src/net/eathena/questrecv.cpp
+++ b/src/net/eathena/questrecv.cpp
@@ -108,7 +108,13 @@ void QuestRecv::processAddQuests(Net::MessageIn &msg)
const int cnt = msg.readInt16("objectives count");
for (int d = 0; d < cnt; d ++)
{
- if (msg.getVersion() >= 20150513)
+ if (msg.getVersion() >= 20181010)
+ {
+ msg.readInt32("hunt ident");
+ msg.readInt32("hunt ident2");
+ msg.readInt32("mob type");
+ }
+ else if (msg.getVersion() >= 20150513)
{
msg.readInt32("hunt ident");
msg.readInt32("mob type");