diff options
-rw-r--r-- | src/net/eathena/packets.h | 2 | ||||
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 13 | ||||
-rw-r--r-- | src/net/eathena/playerhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
4 files changed, 17 insertions, 1 deletions
diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h index dcdf08998..d3ad5d001 100644 --- a/src/net/eathena/packets.h +++ b/src/net/eathena/packets.h @@ -245,7 +245,7 @@ int16_t packet_lengths[] = 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, 0, - 31, 0, 0, 0, 0, 0, 0, 14, 0, 0, -1, 0, 0, 288, 0, 0, + 31, 0, 0, 0, 0, 0, 0, 14, 0, 0, -1, 0, 0, 288, 12, 0, // #0x0980 0, 0, 0, 29, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 31, -1, -1, -1, -1, -1, -1, 0, 0, 11, 9, 8, 0, 0, 0, 0, diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 94d974be5..9edb50e01 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -71,6 +71,7 @@ PlayerHandler::PlayerHandler() : SMSG_PLAYER_READ_BOOK, SMSG_PLAYER_EQUIP_TICK_ACK, SMSG_AUTOSHADOW_SPELL_LIST, + SMSG_PLAYER_RANK_POINTS, 0 }; handledMessages = _messages; @@ -186,6 +187,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg) processPlayerAutoShadowSpellList(msg); break; + case SMSG_PLAYER_RANK_POINTS: + processPlayerRankPoints(msg); + break; + default: break; } @@ -610,4 +615,12 @@ void PlayerHandler::processPlayerAutoShadowSpellList(Net::MessageIn &msg) msg.readInt16("skill id"); } +void PlayerHandler::processPlayerRankPoints(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt16("type"); + msg.readInt32("points"); + msg.readInt32("fame"); +} + } // namespace EAthena diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h index 016e9baa8..edd6cd897 100644 --- a/src/net/eathena/playerhandler.h +++ b/src/net/eathena/playerhandler.h @@ -106,6 +106,8 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler static void processPlayerEquipTickAck(Net::MessageIn &msg); static void processPlayerAutoShadowSpellList(Net::MessageIn &msg); + + static void processPlayerRankPoints(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index cbd4585c6..9de6db139 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -112,6 +112,7 @@ #define SMSG_PLAYER_FAME_BLACKSMITH 0x021b #define SMSG_PLAYER_FAME_ALCHEMIST 0x021c #define SMSG_PLAYER_FAME_TAEKWON 0x0224 +#define SMSG_PLAYER_RANK_POINTS 0x097e #define SMSG_PLAYER_REFINE_LIST 0x0221 #define SMSG_PLAYER_UPGRADE_MESSAGE 0x0223 #define SMSG_PLAYER_COOKING_LIST 0x025a |