summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/packetsin.inc1
-rw-r--r--src/net/eathena/questrecv.cpp13
-rw-r--r--src/net/eathena/questrecv.h1
3 files changed, 15 insertions, 0 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc
index f927c52ed..4a5e3fbf3 100644
--- a/src/net/eathena/packetsin.inc
+++ b/src/net/eathena/packetsin.inc
@@ -928,6 +928,7 @@ if (packetVersion >= 20150513)
packet(SMSG_QUEST_LIST, 0x09f8, -1, &QuestRecv::processAddQuests, 20150513);
packet(SMSG_QUEST_ADD, 0x09f9, 143, &QuestRecv::processAddQuest, 20150513);
packet(SMSG_QUEST_UPDATE_OBJECTIVES, 0x09fa, -1, &QuestRecv::processUpdateQuestsObjectives, 20150513);
+ packet(SMSG_QUEST_NOTIFY_OBJECTIVES, 0x08fe, -1, &QuestRecv::processUpdateQuestsObjectives2, 20150513);
}
// 20150805
diff --git a/src/net/eathena/questrecv.cpp b/src/net/eathena/questrecv.cpp
index f7ce0b312..b05d85c64 100644
--- a/src/net/eathena/questrecv.cpp
+++ b/src/net/eathena/questrecv.cpp
@@ -194,6 +194,19 @@ void QuestRecv::processUpdateQuestsObjectives(Net::MessageIn &msg)
}
}
+void QuestRecv::processUpdateQuestsObjectives2(Net::MessageIn &msg)
+{
+ // ignored
+ const int num = (msg.readInt16("len") - 4) / 12;
+ for (int f = 0; f < num; f ++)
+ {
+ msg.readInt32("quest id");
+ msg.readInt32("monster id");
+ msg.readInt16("max count");
+ msg.readInt16("count");
+ }
+}
+
void QuestRecv::processRemoveQuest(Net::MessageIn &msg)
{
const int var = msg.readInt32("quest id");
diff --git a/src/net/eathena/questrecv.h b/src/net/eathena/questrecv.h
index 1d7e17b95..f0b1582db 100644
--- a/src/net/eathena/questrecv.h
+++ b/src/net/eathena/questrecv.h
@@ -35,6 +35,7 @@ namespace EAthena
void processAddQuests(Net::MessageIn &msg);
void processAddQuests2(Net::MessageIn &msg);
void processAddQuestsObjectives(Net::MessageIn &msg);
+ void processUpdateQuestsObjectives2(Net::MessageIn &msg);
void processUpdateQuestsObjectives(Net::MessageIn &msg);
void processRemoveQuest(Net::MessageIn &msg);
void processActivateQuest(Net::MessageIn &msg);