Browse Source

Follow up to 7351b88 (#2200)

Merged HerculesWS/Hercules@73db1e2

The exact client date for the implementation of new party ui window is actually 2017-05-02dRagexeRE

Thanks to @4144, @Asheraf and @dastgir
hazimjauhari90 7 years ago
parent
commit
ad80914981
2 changed files with 7 additions and 7 deletions
  1. 1 1
      db/packet_db.txt
  2. 6 6
      src/map/clif.c

+ 1 - 1
db/packet_db.txt

@@ -2666,7 +2666,7 @@ packet_keys: 0x4C17382A,0x7ED174C9,0x29961E4F // [Winnie]
 // 2016-06-01aRagexe
 0x0A7D,-1
 
-// 2017-05-24aRagexeRE
+// 2017-05-02dRagexeRE
 0x0A43,85
 0x0A44,-1
 0x0ABD,10

+ 6 - 6
src/map/clif.c

@@ -7360,7 +7360,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 < 20170524
+#if PACKETVER < 20170502
 	unsigned char buf[81];
 	int cmd = 0x1e9;
 	int offset = 0;
@@ -7381,7 +7381,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 >= 20170524
+#if PACKETVER >= 20170502
 	WBUFW(buf,10) = sd->status.class_;
 	WBUFW(buf,12) = sd->status.base_level;
 #endif
@@ -7411,7 +7411,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 < 20170524
+#if PACKETVER < 20170502
 	int cmd = 0xfb;
 	int size = 46;
 #else
@@ -7435,13 +7435,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 >= 20170524
+#if PACKETVER >= 20170502
 		WBUFW(buf,28+c*size+46) = m->class_;
 		WBUFW(buf,28+c*size+48) = m->lv;
 #endif
 		c++;
 	}
-#if PACKETVER < 20170524
+#if PACKETVER < 20170502
 	WBUFW(buf,2) = 28+c*size;
 #else
 	WBUFB(buf,28+c*size) = (p->party.item & 1) ? 1 : 0;
@@ -7694,7 +7694,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 >= 20170524
+#if PACKETVER >= 20170502
 	unsigned char buf[10];
 
 	nullpo_retv(sd);