diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-01-16 23:45:44 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-01-16 23:45:44 +0300 |
commit | 7c6d3721e2a0cbf31213c344ac48765d34ad39a5 (patch) | |
tree | f62b71116fb66e7045738c74de5bda361a2bb783 /src/net/eathena | |
parent | 5799b36c11da8a52713e33508edbe07ef9888a65 (diff) | |
download | plus-7c6d3721e2a0cbf31213c344ac48765d34ad39a5.tar.gz plus-7c6d3721e2a0cbf31213c344ac48765d34ad39a5.tar.bz2 plus-7c6d3721e2a0cbf31213c344ac48765d34ad39a5.tar.xz plus-7c6d3721e2a0cbf31213c344ac48765d34ad39a5.zip |
Add packet SMSG_PARTY_INFO 0x0ae5.
Diffstat (limited to 'src/net/eathena')
-rw-r--r-- | src/net/eathena/packetsin.inc | 1 | ||||
-rw-r--r-- | src/net/eathena/partyrecv.cpp | 2 |
2 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 623c0aace..e9a11cd56 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -997,6 +997,7 @@ if (packets_zero == true) if (packetVersion >= 20171207) { packet(SMSG_PARTY_MEMBER_INFO, 0x0ae4, 89, &PartyRecv::processPartyMemberInfo, 20171207); + packet(SMSG_PARTY_INFO, 0x0ae5, -1, &PartyRecv::processPartyInfo, 20171207); } // 0 diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp index 185295861..336c7cfd0 100644 --- a/src/net/eathena/partyrecv.cpp +++ b/src/net/eathena/partyrecv.cpp @@ -212,6 +212,8 @@ void PartyRecv::processPartyInfo(Net::MessageIn &msg) for (int i = 0; i < count; i++) { const BeingId id = msg.readBeingId("account id"); + if (msg.getVersion() >= 20171207) + msg.readBeingId("char id"); std::string nick = msg.readString(24, "nick"); std::string map = msg.readString(16, "map name"); const bool leader = msg.readUInt8("leader") == 0U; |