From f2ce478013f9cf60af1978cce37f2c4f32a6d038 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 7 Apr 2018 01:37:41 +0300 Subject: Add packet SMSG_QUEST_NOTIFY_OBJECTIVES 0x08fe. --- src/net/eathena/questrecv.cpp | 13 +++++++++++++ 1 file changed, 13 insertions(+) (limited to 'src/net/eathena/questrecv.cpp') 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"); -- cgit v1.2.3-70-g09d2