summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-10-10 21:05:40 +0300
committerAndrei Karas <akaras@inbox.ru>2018-10-22 01:42:43 +0300
commitcd98199c9378bc15078317fc79ef7a32ad096f76 (patch)
treefbfe7636e3d9da6ebb9e73ca0c929a1968a7b440 /src
parent2b939af9320e0b6be7b2455cb862c08ebd62eb2d (diff)
downloadhercules-cd98199c9378bc15078317fc79ef7a32ad096f76.tar.gz
hercules-cd98199c9378bc15078317fc79ef7a32ad096f76.tar.bz2
hercules-cd98199c9378bc15078317fc79ef7a32ad096f76.tar.xz
hercules-cd98199c9378bc15078317fc79ef7a32ad096f76.zip
Update packet ZC_UPDATE_MISSION_HUNT_EX
Diffstat (limited to 'src')
-rw-r--r--src/map/clif.c5
-rw-r--r--src/map/packets_struct.h9
2 files changed, 11 insertions, 3 deletions
diff --git a/src/map/clif.c b/src/map/clif.c
index 1e9844f14..a7e8b66b9 100644
--- a/src/map/clif.c
+++ b/src/map/clif.c
@@ -17022,7 +17022,10 @@ static void clif_quest_update_objective(struct map_session_data *sd, struct ques
real_len += sizeof(packet->objectives[i]);
packet->objectives[i].questID = qd->quest_id;
-#if PACKETVER >= 20150513
+#if PACKETVER_ZERO_NUM >= 20181010 || PACKETVER >= 20181017
+ packet->objectives[i].huntIdent = qd->quest_id;
+ packet->objectives[i].huntIdent2 = i;
+#elif PACKETVER >= 20150513
packet->objectives[i].huntIdent = (qd->quest_id * 1000) + i;
#else
packet->objectives[i].mob_id = qi->objectives[i].mob;
diff --git a/src/map/packets_struct.h b/src/map/packets_struct.h
index 9248d96c8..9fde3205c 100644
--- a/src/map/packets_struct.h
+++ b/src/map/packets_struct.h
@@ -383,7 +383,9 @@ enum packet_headers {
#else
questAddType = 0x2b3,
#endif // PACKETVER < 20150513
-#if PACKETVER >= 20150513
+#if PACKETVER_ZERO_NUM >= 20181010 || PACKETVER >= 20181017
+ questUpdateType = 0xafe,
+#elif PACKETVER >= 20150513
questUpdateType = 0x9fa,
#else
questUpdateType = 0x2b5,
@@ -1853,7 +1855,10 @@ struct packet_quest_add_header {
*/
struct packet_quest_update_hunt {
uint32 questID;
-#if PACKETVER >= 20150513
+#if PACKETVER_ZERO_NUM >= 20181010 || PACKETVER >= 20181017
+ uint32 huntIdent;
+ uint32 huntIdent2;
+#elif PACKETVER >= 20150513
uint32 huntIdent;
#else
uint32 mob_id;