From 7351b88c1423c60768ba1cc0c7f4d79c8969dc5a Mon Sep 17 00:00:00 2001 From: Lemongrass3110 Date: Tue, 6 Jun 2017 21:26:28 +0200 Subject: [PATCH] Follow up to 816d8ab Thanks to @admkakaroto Source: http://ro.gnjoy.com/news/update/View.asp?seq=208 --- db/packet_db.txt | 2 +- src/map/clif.c | 12 ++++++------ 2 files changed, 7 insertions(+), 7 deletions(-) diff --git a/db/packet_db.txt b/db/packet_db.txt index 343c9a284f..06253714d1 100644 --- a/db/packet_db.txt +++ b/db/packet_db.txt @@ -2657,7 +2657,7 @@ packet_keys: 0x4C17382A,0x7ED174C9,0x29961E4F // [Winnie] 0x088D,5,hommenu,2:4 0x0940,36,storagepassword,2:4:20 -// 2017-02-15aRagexeRE +// 2017-05-24aRagexeRE 0x0A43,85 0x0A44,-1 0x0ABD,10 diff --git a/src/map/clif.c b/src/map/clif.c index 2c1540d367..343e88a5e2 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -7335,7 +7335,7 @@ void clif_party_created(struct map_session_data *sd,int result) void clif_party_member_info(struct party_data *p, struct map_session_data *sd) { int i; -#if PACKETVER < 20170215 +#if PACKETVER < 20170524 unsigned char buf[81]; int cmd = 0x1e9; int offset = 0; @@ -7356,7 +7356,7 @@ void clif_party_member_info(struct party_data *p, struct map_session_data *sd) WBUFW(buf, 0) = cmd; WBUFL(buf, 2) = sd->status.account_id; WBUFL(buf, 6) = (p->party.member[i].leader)?0:1; -#if PACKETVER >= 20170215 +#if PACKETVER >= 20170524 WBUFW(buf,10) = sd->status.class_; WBUFW(buf,12) = sd->status.base_level; #endif @@ -7386,7 +7386,7 @@ void clif_party_info(struct party_data* p, struct map_session_data *sd) unsigned char buf[2+2+NAME_LENGTH+(4+NAME_LENGTH+MAP_NAME_LENGTH_EXT+1+1)*MAX_PARTY]; struct map_session_data* party_sd = NULL; int i, c; -#if PACKETVER < 20170215 +#if PACKETVER < 20170524 int cmd = 0xfb; int size = 46; #else @@ -7410,13 +7410,13 @@ void clif_party_info(struct party_data* p, struct map_session_data *sd) mapindex_getmapname_ext(mapindex_id2name(m->map), WBUFCP(buf,28+c*size+28)); WBUFB(buf,28+c*size+44) = (m->leader) ? 0 : 1; WBUFB(buf,28+c*size+45) = (m->online) ? 0 : 1; -#if PACKETVER >= 20170215 +#if PACKETVER >= 20170524 WBUFW(buf,28+c*size+46) = m->class_; WBUFW(buf,28+c*size+48) = m->lv; #endif c++; } -#if PACKETVER < 20170215 +#if PACKETVER < 20170524 WBUFW(buf,2) = 28+c*size; #else WBUFB(buf,28+c*size) = (p->party.item & 1) ? 1 : 0; @@ -7669,7 +7669,7 @@ void clif_party_hp(struct map_session_data *sd) /// Updates the job and level of a party member /// 0abd .L .W .W void clif_party_job_and_level(struct map_session_data *sd){ -#if PACKETVER >= 20170215 +#if PACKETVER >= 20170524 unsigned char buf[10]; nullpo_retv(sd);