diff options
author | Dastgir <dastgirpojee@rocketmail.com> | 2016-01-18 16:15:07 +0530 |
---|---|---|
committer | Asheraf <acheraf1998@gmail.com> | 2018-03-12 18:05:50 +0000 |
commit | 6234d9e5a1c7ef248efc743a0e14ec7758f1fdac (patch) | |
tree | 723f02f1fc1393a024ebda992efa71d3bd57fa9e /src/map/clif.c | |
parent | d89690fbdbaa5dc78f98d96ee91403e329c12af1 (diff) | |
download | hercules-6234d9e5a1c7ef248efc743a0e14ec7758f1fdac.tar.gz hercules-6234d9e5a1c7ef248efc743a0e14ec7758f1fdac.tar.bz2 hercules-6234d9e5a1c7ef248efc743a0e14ec7758f1fdac.tar.xz hercules-6234d9e5a1c7ef248efc743a0e14ec7758f1fdac.zip |
Implemented ZC_ALL_QUEST_LIST3 Packet.
Diffstat (limited to 'src/map/clif.c')
-rw-r--r-- | src/map/clif.c | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index cf5edd0e0..2c9995835 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -16126,6 +16126,7 @@ void clif_parse_PartyTick(int fd, struct map_session_data* sd) /// Sends list of all quest states (ZC_ALL_QUEST_LIST). /// 02b1 <packet len>.W <num>.L { <quest id>.L <active>.B }*num /// 097a <packet len>.W <num>.L { <quest id>.L <active>.B <remaining time>.L <time>.L <count>.W { <mob_id>.L <killed>.W <total>.W <mob name>.24B }*count }*num +/// 09f8 <packet len>.W <num>.L { <quest id>.L <active>.B <remaining time>.L <time>.L <count>.W { <hunt identification>.L <mob type>.L <mob_id>.L <min level>.L <max level>.L <killed>.W <total>.W <mob name>.24B }*count }*num void clif_quest_send_list(struct map_session_data *sd) { int i, len, real_len; @@ -16164,8 +16165,16 @@ void clif_quest_send_list(struct map_session_data *sd) real_len += sizeof(info->objectives[j]); mob_data = mob->db(qi->objectives[j].mob); - +#if PACKETVER >= 20150513 + info->objectives[j].huntIdent = (sd->quest_log[i].quest_id * 1000) + j; + info->objectives[j].mobType = 0; // Info Needed +#endif info->objectives[j].mob_id = qi->objectives[j].mob; +#if PACKETVER >= 20150513 + // Info Needed + info->objectives[j].levelMin = 0; + info->objectives[j].levelMax = 0; +#endif info->objectives[j].huntCount = sd->quest_log[i].count[j]; info->objectives[j].maxCount = qi->objectives[j].count; safestrncpy(info->objectives[j].mobName, mob_data->jname, sizeof(info->objectives[j].mobName)); |