diff options
author | Andrei Karas <akaras@inbox.ru> | 2018-01-16 23:39:13 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2018-01-16 23:40:57 +0300 |
commit | 5799b36c11da8a52713e33508edbe07ef9888a65 (patch) | |
tree | 3795a65a632b0dc167df71f559d2a399ec7961a0 /src/net | |
parent | 8b70550dab4dc90c8b0b1c84b349c4df125ff2bb (diff) | |
download | plus-5799b36c11da8a52713e33508edbe07ef9888a65.tar.gz plus-5799b36c11da8a52713e33508edbe07ef9888a65.tar.bz2 plus-5799b36c11da8a52713e33508edbe07ef9888a65.tar.xz plus-5799b36c11da8a52713e33508edbe07ef9888a65.zip |
Add packet SMSG_PARTY_MEMBER_INFO 0x0ae4.
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/eathena/packetsin.inc | 6 | ||||
-rw-r--r-- | src/net/eathena/partyrecv.cpp | 2 |
2 files changed, 8 insertions, 0 deletions
diff --git a/src/net/eathena/packetsin.inc b/src/net/eathena/packetsin.inc index 08ca43cf9..623c0aace 100644 --- a/src/net/eathena/packetsin.inc +++ b/src/net/eathena/packetsin.inc @@ -993,6 +993,12 @@ if (packets_zero == true) packet(SMSG_ITEM_DROPPED, 0x0add, 22, &ItemRecv::processItemDropped, 20171018); } +// 20171207 +if (packetVersion >= 20171207) +{ + packet(SMSG_PARTY_MEMBER_INFO, 0x0ae4, 89, &PartyRecv::processPartyMemberInfo, 20171207); +} + // 0 // evol always packets packet(SMSG_SERVER_VERSION_RESPONSE, 0x7531, -1, &LoginRecv::processServerVersion, 0); diff --git a/src/net/eathena/partyrecv.cpp b/src/net/eathena/partyrecv.cpp index 31b2db7b3..185295861 100644 --- a/src/net/eathena/partyrecv.cpp +++ b/src/net/eathena/partyrecv.cpp @@ -59,6 +59,8 @@ void PartyRecv::processPartyInvitationStats(Net::MessageIn &msg) void PartyRecv::processPartyMemberInfo(Net::MessageIn &msg) { const BeingId id = msg.readBeingId("account id"); + if (msg.getVersion() >= 20171207) + msg.readBeingId("char id"); const bool leader = msg.readInt32("leader") == 0U; int level = 0; if (msg.getVersion() >= 20170502) |