diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 17:15:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 17:15:11 +0300 |
commit | bc0ccd9664c637d6d3fe62b3cd45b72e3a503ab3 (patch) | |
tree | fbd205442586d112b339e484f09316bbc1bf7971 /src | |
parent | f5e4b8888afa9b95469903148e4df1544b755bc8 (diff) | |
download | manaplus-bc0ccd9664c637d6d3fe62b3cd45b72e3a503ab3.tar.gz manaplus-bc0ccd9664c637d6d3fe62b3cd45b72e3a503ab3.tar.bz2 manaplus-bc0ccd9664c637d6d3fe62b3cd45b72e3a503ab3.tar.xz manaplus-bc0ccd9664c637d6d3fe62b3cd45b72e3a503ab3.zip |
eathena: add partial support for packet SMSG_GLADIATOR_FEEL_REQUEST 0x0253.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/beinghandler.cpp | 12 | ||||
-rw-r--r-- | src/net/eathena/beinghandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/packets.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
4 files changed, 16 insertions, 1 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp index 4082d85ef..3d17e8cfc 100644 --- a/src/net/eathena/beinghandler.cpp +++ b/src/net/eathena/beinghandler.cpp @@ -130,6 +130,7 @@ BeingHandler::BeingHandler(const bool enableSync) : SMSG_ALCHEMIST_RANKS_LIST, SMSG_TAEKWON_RANKS_LIST, SMSG_PK_RANKS_LIST, + SMSG_GLADIATOR_FEEL_REQUEST, 0 }; handledMessages = _messages; @@ -378,6 +379,10 @@ void BeingHandler::handleMessage(Net::MessageIn &msg) processPkRanksList(msg); break; + case SMSG_GLADIATOR_FEEL_REQUEST: + processGladiatorFeelRequest(msg); + break; + default: break; } @@ -1818,4 +1823,11 @@ void BeingHandler::processStarsKill(Net::MessageIn &msg) msg.readUInt8("result"); } +void BeingHandler::processGladiatorFeelRequest(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + + msg.readUInt8("which"); +} + } // namespace EAthena diff --git a/src/net/eathena/beinghandler.h b/src/net/eathena/beinghandler.h index 6a32a1d3c..791f6a81e 100644 --- a/src/net/eathena/beinghandler.h +++ b/src/net/eathena/beinghandler.h @@ -148,6 +148,8 @@ class BeingHandler final : public MessageHandler, public Ea::BeingHandler static void processTaekwonRanksList(Net::MessageIn &msg); static void processPkRanksList(Net::MessageIn &msg); + + static void processGladiatorFeelRequest(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h index da115b3bd..c2751005f 100644 --- a/src/net/eathena/packets.h +++ b/src/net/eathena/packets.h @@ -89,7 +89,7 @@ int16_t packet_lengths[] = 12, 0, 0, 0, 0, -1, 0, 0, 282, 0, 4, 0, 6, 0, 0, 0, // #0x0240 -1, 0, -1, 0, 0, 3, 0, 0, 0, 3, 70, 0, 0, 0, 0, 0, - 3, 0, -1, 0, 0, 0, 5, 0, 0, 0, 0, 0, 0, 4, 0, 6, + 3, 0, -1, 3, 0, 0, 5, 0, 0, 0, 0, 0, 0, 4, 0, 6, 6, 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, // #0x0280 diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index 6965e6710..9930bb50f 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -155,6 +155,7 @@ #define SMSG_BEING_ATTRS 0x0b0a #define SMSG_IGNORE_NICK_ACK 0x00d1 #define SMSG_STARS_KILL 0x020e +#define SMSG_GLADIATOR_FEEL_REQUEST 0x0253 #define SMSG_PLAYER_STATUS_CHANGE 0x0229 #define SMSG_PLAYER_STATUS_CHANGE2 0x028a |