diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-05 13:24:56 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-06 01:18:57 +0300 |
commit | adb4df98be7f58e960ec2cf822fc567b55640848 (patch) | |
tree | e8347bca7f085b159289bf37769803774018a835 /src | |
parent | 256d936b71d500fc14ee52c7f55959fc65b289ac (diff) | |
download | plus-adb4df98be7f58e960ec2cf822fc567b55640848.tar.gz plus-adb4df98be7f58e960ec2cf822fc567b55640848.tar.bz2 plus-adb4df98be7f58e960ec2cf822fc567b55640848.tar.xz plus-adb4df98be7f58e960ec2cf822fc567b55640848.zip |
eathena: fix packet SMSG_BEING_STATUS_CHANGE 0x0983.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/packets.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 2 |
3 files changed, 7 insertions, 2 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index d0b76685b..e6e16e0ad 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -898,6 +898,11 @@ void BeingHandler::processBeingStatusChange(Net::MessageIn &msg) const const uint16_t status = msg.readInt16("status"); const int id = msg.readInt32("being id"); const bool flag = msg.readUInt8("flag: 0: stop, 1: start"); + msg.readInt32("total"); + msg.readInt32("left"); + msg.readInt32("val1"); + msg.readInt32("val2"); + msg.readInt32("val3"); Being *const dstBeing = actorManager->findBeing(id); if (dstBeing) diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h index a34ac7962..00ec7628d 100644 --- a/src/net/eathena/packets.h +++ b/src/net/eathena/packets.h @@ -247,7 +247,7 @@ int16_t packet_lengths[] = 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // #0x0980 - 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, + 0, 0, 0, 29, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, -1, -1, 0, 0, 0, 0, 0, 0, 11, 9, 8, 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, diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index b0acb8f93..5566ba125 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -106,7 +106,7 @@ #define SMSG_PLAYER_STATUS_CHANGE 0x0119 #define SMSG_PLAYER_GUILD_PARTY_INFO 0x0195 -#define SMSG_BEING_STATUS_CHANGE 0x0196 +#define SMSG_BEING_STATUS_CHANGE 0x0983 #define SMSG_NPC_MESSAGE 0x00b4 #define SMSG_NPC_NEXT 0x00b5 |