diff options
-rw-r--r-- | src/net/eathena/packets.h | 2 | ||||
-rw-r--r-- | src/net/eathena/partyhandler.cpp | 4 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h index cb044e516..3c1848f45 100644 --- a/src/net/eathena/packets.h +++ b/src/net/eathena/packets.h @@ -98,7 +98,7 @@ int16_t packet_lengths[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, -1, -1, 107, 6, -1, 0, 0, 0, 191, 0, 0, 0, 0, 0, 0, // #0x02C0 - 0, -1, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, + 0, -1, 0, 0, 0, 30, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0, 0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0, 10, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/src/net/eathena/partyhandler.cpp b/src/net/eathena/partyhandler.cpp index c53654c57..90f39d89c 100644 --- a/src/net/eathena/partyhandler.cpp +++ b/src/net/eathena/partyhandler.cpp @@ -407,9 +407,9 @@ void PartyHandler::processPartyInviteResponse(Net::MessageIn &msg) const if (!Ea::partyTab) return; - const std::string nick = msg.readString(24); + const std::string nick = msg.readString(24, "nick"); - switch (msg.readUInt8()) + switch (msg.readInt32("result")) { case 0: NotifyManager::notify(NotifyTypes::PARTY_INVITE_ALREADY_MEMBER, diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index fd274c82f..df6da397d 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -143,7 +143,7 @@ #define SMSG_PARTY_CREATE 0x00fa #define SMSG_PARTY_INFO 0x00fb -#define SMSG_PARTY_INVITE_RESPONSE 0x00fd +#define SMSG_PARTY_INVITE_RESPONSE 0x02c5 #define SMSG_PARTY_INVITED 0x00fe #define SMSG_PARTY_SETTINGS 0x07d8 #define SMSG_PARTY_MOVE 0x0104 |