diff options
author | Andrei Karas <akaras@inbox.ru> | 2019-02-05 20:03:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2019-02-11 03:22:46 +0300 |
commit | 734371e81026b74bad3b6e5c1d9466a1a122669a (patch) | |
tree | 8d1985c39d97ea7559e905c52a978fa7de617bc0 /src/char | |
parent | 772578af2f989b5f44df5f6514804a36181224bf (diff) | |
download | hercules-734371e81026b74bad3b6e5c1d9466a1a122669a.tar.gz hercules-734371e81026b74bad3b6e5c1d9466a1a122669a.tar.bz2 hercules-734371e81026b74bad3b6e5c1d9466a1a122669a.tar.xz hercules-734371e81026b74bad3b6e5c1d9466a1a122669a.zip |
Extend class and level field in packet 0x3080
Diffstat (limited to 'src/char')
-rw-r--r-- | src/char/inter.c | 2 | ||||
-rw-r--r-- | src/char/mapif.c | 14 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/char/inter.c b/src/char/inter.c index 418c9b0a1..0a7573d2f 100644 --- a/src/char/inter.c +++ b/src/char/inter.c @@ -78,7 +78,7 @@ static int inter_recv_packet_length[] = { -1,-1,10,10, 0,-1,12, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 3050- Auction System [Zephyrus], Item Bound [Mhalicot] 6,-1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 3060- Quest system [Kevin] [Inkfish] -1,10, 6,-1, 0, 0, 0, 0, 0, 0, 0, 0, -1,10, 6,-1, // 3070- Mercenary packets [Zephyrus], Elemental packets [pakpil] - 52,14,-1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 3080- + 56,14,-1, 6, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // 3080- -1,10,-1, 6, 0, 20,10,11, -1,6 + NAME_LENGTH, 0, 0, 0, 0, 0, 0, // 3090- Homunculus packets [albator], RoDEX packets }; diff --git a/src/char/mapif.c b/src/char/mapif.c index 7dd2aba98..73b7fd46d 100644 --- a/src/char/mapif.c +++ b/src/char/mapif.c @@ -1521,15 +1521,15 @@ static int mapif_parse_CreatePet(int fd) account_id = RFIFOL(fd, 2); pet = inter_pet->create(account_id, RFIFOL(fd, 6), - RFIFOW(fd, 10), - RFIFOW(fd, 12), + RFIFOL(fd, 10), RFIFOL(fd, 14), RFIFOL(fd, 18), - RFIFOW(fd, 22), - RFIFOW(fd, 24), - RFIFOB(fd, 26), - RFIFOB(fd, 27), - RFIFOP(fd, 28)); + RFIFOL(fd, 22), + RFIFOW(fd, 26), + RFIFOW(fd, 28), + RFIFOB(fd, 30), + RFIFOB(fd, 31), + RFIFOP(fd, 32)); if (pet != NULL) mapif->pet_created(fd, account_id, pet); |