diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-02-05 19:49:57 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-11 03:22:46 +0300 |
commit | bcc2cb2ca1663d55dbcad3389e95836481c9ddc3 (patch) | |
tree | 7e6c281c56cca22568d4c071632dda0f4b2ec573 | |
parent | e92580d708be4d2fc2530f795720e08554913576 (diff) | |
download | hercules-bcc2cb2ca1663d55dbcad3389e95836481c9ddc3.tar.gz hercules-bcc2cb2ca1663d55dbcad3389e95836481c9ddc3.tar.bz2 hercules-bcc2cb2ca1663d55dbcad3389e95836481c9ddc3.tar.xz hercules-bcc2cb2ca1663d55dbcad3389e95836481c9ddc3.zip |
Extend class field in packet 0x3835
-rw-r--r-- | src/char/mapif.c | 6 | ||||
-rw-r--r-- | src/map/intif.c | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/src/char/mapif.c b/src/char/mapif.c index f570770de..b35543d31 100644 --- a/src/char/mapif.c +++ b/src/char/mapif.c @@ -578,9 +578,9 @@ static int mapif_guild_memberinfoshort(struct guild *g, int idx) WBUFL(buf, 10) = g->member[idx].char_id; WBUFB(buf, 14) = (unsigned char)g->member[idx].online; WBUFW(buf, 15) = g->member[idx].lv; - WBUFW(buf, 17) = g->member[idx].class; - WBUFL(buf, 19) = g->member[idx].last_login; - mapif->sendall(buf, 23); + WBUFL(buf, 17) = g->member[idx].class; + WBUFL(buf, 21) = g->member[idx].last_login; + mapif->sendall(buf, 25); return 0; } diff --git a/src/map/intif.c b/src/map/intif.c index 144c0195f..758b30148 100644 --- a/src/map/intif.c +++ b/src/map/intif.c @@ -1507,7 +1507,7 @@ static void intif_parse_GuildMemberWithdraw(int fd) // ACK guild member basic info static void intif_parse_GuildMemberInfoShort(int fd) { - guild->recv_memberinfoshort(RFIFOL(fd,2),RFIFOL(fd,6),RFIFOL(fd,10),RFIFOB(fd,14),RFIFOW(fd,15),RFIFOW(fd,17),RFIFOL(fd,19)); + guild->recv_memberinfoshort(RFIFOL(fd,2),RFIFOL(fd,6),RFIFOL(fd,10),RFIFOB(fd,14),RFIFOW(fd,15),RFIFOL(fd,17),RFIFOL(fd,19)); } // ACK guild break @@ -2995,7 +2995,7 @@ void intif_defaults(void) -1,-1,27,-1, -1,-1,37,-1, 7, 0, 0, 0, 0, 0, 0, 0, //0x3800-0x380f -1, 0, 0, 0, 0, 0, 0, 0, -1,11, 0, 0, 0, 0, 0, 0, //0x3810 Achievements [Smokexyz/Hercules] 39,-1,15,15, 14,19, 7,-1, 0, 0, 0, 0, 0, 0, 0, 0, //0x3820 - 10,-1,15, 0, 79,23, 7,-1, 0,-1,-1,-1, 14,67,186,-1, //0x3830 + 10,-1,15, 0, 79,25, 7,-1, 0,-1,-1,-1, 14,67,186,-1, //0x3830 -1, 0, 0,14, 0, 0, 0, 0, -1,74,-1,11, 11,-1, 0, 0, //0x3840 -1,-1, 7, 7, 7,11, 8, 0, 10, 0, 0, 0, 0, 0, 0, 0, //0x3850 Auctions [Zephyrus] itembound[Akinari] Clan System[Murilo BiO] -1, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0x3860 Quests [Kevin] [Inkfish] |