diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-03-12 14:00:24 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-03-12 14:00:24 +0300 |
commit | 5d2962b4a09a71d47a241a762124c9e5526072f8 (patch) | |
tree | 4b0867d8bad910bfaa4462529a6cf8523ccbb794 | |
parent | de361843e60f3a073a76d64d373462ebea824338 (diff) | |
download | manaverse-5d2962b4a09a71d47a241a762124c9e5526072f8.tar.gz manaverse-5d2962b4a09a71d47a241a762124c9e5526072f8.tar.bz2 manaverse-5d2962b4a09a71d47a241a762124c9e5526072f8.tar.xz manaverse-5d2962b4a09a71d47a241a762124c9e5526072f8.zip |
eathena: add partial support for packet SMSG_PLAYER_FAME_TAEKWON 0x0224.
-rw-r--r-- | src/net/eathena/packets.h | 2 | ||||
-rw-r--r-- | src/net/eathena/playerhandler.cpp | 12 | ||||
-rw-r--r-- | src/net/eathena/playerhandler.h | 2 | ||||
-rw-r--r-- | src/net/eathena/protocol.h | 1 |
4 files changed, 16 insertions, 1 deletions
diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h index 93e5f7d52..3ac844106 100644 --- a/src/net/eathena/packets.h +++ b/src/net/eathena/packets.h @@ -85,7 +85,7 @@ int16_t packet_lengths[] = // #0x0200 26, -1, 0, 0, 18, 26, 11, 34, 0, 36, 10, 19, 10, 0, 32, 0, 22, -1, 16, 0, 42, 6, 6, 0, 0, 282, 282, 10, 10, 0, 0, 0, - -1, -1, 0, 8, 0, 0, 0, 0, 0, 15, 0, 0, 0, 19, 71, 5, + -1, -1, 0, 8, 10, 0, 0, 0, 0, 15, 0, 0, 0, 19, 71, 5, 12, 0, 0, 0, 0, -1, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, // #0x0240 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, diff --git a/src/net/eathena/playerhandler.cpp b/src/net/eathena/playerhandler.cpp index 1462343ef..d69d6b6eb 100644 --- a/src/net/eathena/playerhandler.cpp +++ b/src/net/eathena/playerhandler.cpp @@ -67,6 +67,7 @@ PlayerHandler::PlayerHandler() : SMSG_PLAYER_FAME_BLACKSMITH, SMSG_PLAYER_FAME_ALCHEMIST, SMSG_PLAYER_UPGRADE_MESSAGE, + SMSG_PLAYER_FAME_TAEKWON, 0 }; handledMessages = _messages; @@ -166,6 +167,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg) processPlayerUpgradeMessage(msg); break; + case SMSG_PLAYER_FAME_TAEKWON: + processPlayerFameTaekwon(msg); + break; + default: break; } @@ -561,4 +566,11 @@ void PlayerHandler::processPlayerUpgradeMessage(Net::MessageIn &msg) msg.readInt16("item id"); } +void PlayerHandler::processPlayerFameTaekwon(Net::MessageIn &msg) +{ + UNIMPLIMENTEDPACKET; + msg.readInt32("points"); + msg.readInt32("total points"); +} + } // namespace EAthena diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h index 55257768c..9d924beb2 100644 --- a/src/net/eathena/playerhandler.h +++ b/src/net/eathena/playerhandler.h @@ -98,6 +98,8 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler static void processPlayerFameAlchemist(Net::MessageIn &msg); static void processPlayerUpgradeMessage(Net::MessageIn &msg); + + static void processPlayerFameTaekwon(Net::MessageIn &msg); }; } // namespace EAthena diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h index b77604f4a..603fad336 100644 --- a/src/net/eathena/protocol.h +++ b/src/net/eathena/protocol.h @@ -107,6 +107,7 @@ #define SMSG_PLAYER_REPAIR_EFFECT 0x01fe #define SMSG_PLAYER_FAME_BLACKSMITH 0x021b #define SMSG_PLAYER_FAME_ALCHEMIST 0x021c +#define SMSG_PLAYER_FAME_TAEKWON 0x0224 #define SMSG_PLAYER_REFINE_LIST 0x0221 #define SMSG_PLAYER_UPGRADE_MESSAGE 0x0223 #define SMSG_SKILL_FAILED 0x0110 |