From e3f53de7742609f7354869b066076e17f9774a11 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 7 Sep 2014 17:21:56 +0300 Subject: eathena: fix packet SMSG_WHISPER_RESPONSE 0x09df. --- src/net/eathena/chathandler.cpp | 1 + src/net/eathena/packets.h | 2 +- src/net/eathena/protocol.h | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 5e1a0679e..ad8c3bcdc 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -334,6 +334,7 @@ void ChatHandler::processWhisperResponse(Net::MessageIn &msg) BLOCK_START("ChatHandler::processWhisperResponse") const uint8_t type = msg.readUInt8("response"); + msg.readInt32("unknown"); processWhisperResponseContinue(type); } diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h index eb16509cf..4196f72ad 100644 --- a/src/net/eathena/packets.h +++ b/src/net/eathena/packets.h @@ -253,7 +253,7 @@ int16_t packet_lengths[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // #0x09C0 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 7, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, //0 1 2 3 4 5 6 7 8 9 a b c d e f diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 396b30214..5a80fce68 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -124,7 +124,7 @@ #define SMSG_NPC_STR_INPUT 0x01d4 /**< String input */ #define SMSG_PLAYER_CHAT 0x008e /**< Player talks */ #define SMSG_WHISPER 0x0097 /**< Whisper Recieved */ -#define SMSG_WHISPER_RESPONSE 0x0098 +#define SMSG_WHISPER_RESPONSE 0x09df #define SMSG_GM_CHAT 0x009a /**< GM announce */ #define SMSG_WALK_RESPONSE 0x0087 -- cgit v1.2.3-60-g2f50