Follow up to 816d8ab

Thanks to @admkakaroto

Source: http://ro.gnjoy.com/news/update/View.asp?seq=208
This commit is contained in:
Lemongrass3110 2017-06-06 21:26:28 +02:00
parent b2d72ca625
commit 7351b88c14
2 changed files with 7 additions and 7 deletions

View File

@ -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

View File

@ -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 <account id>.L <job>.W <level>.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);