diff options
-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; |