diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-11-02 04:46:48 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-11-03 17:12:49 +0300 |
commit | 5014f675f4d49ea4ddcb388c79f8e32c9e291988 (patch) | |
tree | 71b746c92be99773dfe468fcc4b8531178bf6974 /src | |
parent | 84675f75d60f807ebbe932d7c591c8b1d59cfaf1 (diff) | |
download | hercules-5014f675f4d49ea4ddcb388c79f8e32c9e291988.tar.gz hercules-5014f675f4d49ea4ddcb388c79f8e32c9e291988.tar.bz2 hercules-5014f675f4d49ea4ddcb388c79f8e32c9e291988.tar.xz hercules-5014f675f4d49ea4ddcb388c79f8e32c9e291988.zip |
Add packet size 0x097d ZC_ACK_RANKING into packets.h
Diffstat (limited to 'src')
-rw-r--r-- | src/map/clif.c | 5 | ||||
-rw-r--r-- | src/map/packets.h | 8 |
2 files changed, 11 insertions, 2 deletions
diff --git a/src/map/clif.c b/src/map/clif.c index beec3c008..1c0e7ea37 100644 --- a/src/map/clif.c +++ b/src/map/clif.c @@ -14222,11 +14222,12 @@ void clif_ranklist(struct map_session_data *sd, enum fame_list_type type) int fd; int mypoint = 0; int upperMask; + int len = packet_len(0x97d); nullpo_retv(sd); fd = sd->fd; upperMask = sd->class_&MAPID_UPPERMASK; - WFIFOHEAD(fd, 288); + WFIFOHEAD(fd, len); WFIFOW(fd, 0) = 0x97d; WFIFOW(fd, 2) = type; clif_ranklist_sub(WFIFOP(fd,4), type); @@ -14241,7 +14242,7 @@ void clif_ranklist(struct map_session_data *sd, enum fame_list_type type) } WFIFOL(fd, 284) = mypoint; //mypoint - WFIFOSET(fd, 288); + WFIFOSET(fd, len); #endif } diff --git a/src/map/packets.h b/src/map/packets.h index ef4acae95..4d59d42c1 100644 --- a/src/map/packets.h +++ b/src/map/packets.h @@ -2046,14 +2046,22 @@ packet(0x96e,-1,clif->ackmergeitems); packet(0x0916,26,clif->pGuildInvite2,2); #endif +// 2012-05-02aRagexeRE +#if PACKETVER >= 20120502 +// shuffle packets not added + packet(0x097d,288); // ZC_ACK_RANKING +#endif + #ifndef PACKETVER_RE #if PACKETVER >= 20120604 +// shuffle packets not added packet(0x0861,18,clif->pPartyRecruitRegisterReq,2,4,6); #endif #endif //2012-06-18aRagexeRE #if PACKETVER >= 20120618 +// shuffle packets not added packet(0x0983,29); #endif |