summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-03-13 01:20:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-03-13 01:20:46 +0300
commit2eb0a7d5c06b0505d862fde29dd9d9807933959b (patch)
tree347693f8b06f32853af56970c096bd3b34eaf09f /src/net/eathena
parent8f3d15a15e53ddda5930e0a10e17e19d85141ccb (diff)
downloadplus-2eb0a7d5c06b0505d862fde29dd9d9807933959b.tar.gz
plus-2eb0a7d5c06b0505d862fde29dd9d9807933959b.tar.bz2
plus-2eb0a7d5c06b0505d862fde29dd9d9807933959b.tar.xz
plus-2eb0a7d5c06b0505d862fde29dd9d9807933959b.zip
eathena: add partial support for packet SMSG_PLAYER_EQUIP_TICK_ACK 0x02d9.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/packets.h2
-rw-r--r--src/net/eathena/playerhandler.cpp12
-rw-r--r--src/net/eathena/playerhandler.h2
-rw-r--r--src/net/eathena/protocol.h1
4 files changed, 16 insertions, 1 deletions
diff --git a/src/net/eathena/packets.h b/src/net/eathena/packets.h
index 2b78d47b4..63b41c21c 100644
--- a/src/net/eathena/packets.h
+++ b/src/net/eathena/packets.h
@@ -99,7 +99,7 @@ int16_t packet_lengths[] =
0, -1, -1, 107, 6, -1, 0, 7, 22, 191, 0, 8, 0, 0, 0, 0,
// #0x02C0
0, -1, 0, 0, 0, 30, 30, 0, 0, 3, 0, 65, 4, 71, 10, 0,
- 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 3, 0, 0, 0, 0, 0,
+ 0, 0, 0, 0, 0, 0, 0, 0, 0, 10, 3, 0, 0, 0, 0, 0,
0, 33, 0, 0, 0, 0, 0, 0, 0, 0, 0, 13, 0, 0, 0, 0,
10, 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/playerhandler.cpp b/src/net/eathena/playerhandler.cpp
index e38aab489..500ece81e 100644
--- a/src/net/eathena/playerhandler.cpp
+++ b/src/net/eathena/playerhandler.cpp
@@ -69,6 +69,7 @@ PlayerHandler::PlayerHandler() :
SMSG_PLAYER_UPGRADE_MESSAGE,
SMSG_PLAYER_FAME_TAEKWON,
SMSG_PLAYER_READ_BOOK,
+ SMSG_PLAYER_EQUIP_TICK_ACK,
0
};
handledMessages = _messages;
@@ -176,6 +177,10 @@ void PlayerHandler::handleMessage(Net::MessageIn &msg)
processPlayerReadBook(msg);
break;
+ case SMSG_PLAYER_EQUIP_TICK_ACK:
+ processPlayerEquipTickAck(msg);
+ break;
+
default:
break;
}
@@ -585,4 +590,11 @@ void PlayerHandler::processPlayerReadBook(Net::MessageIn &msg)
msg.readInt32("page");
}
+void PlayerHandler::processPlayerEquipTickAck(Net::MessageIn &msg)
+{
+ UNIMPLIMENTEDPACKET;
+ msg.readInt32("unused");
+ msg.readInt32("flag");
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/playerhandler.h b/src/net/eathena/playerhandler.h
index 470dcfdc6..1ff72b067 100644
--- a/src/net/eathena/playerhandler.h
+++ b/src/net/eathena/playerhandler.h
@@ -102,6 +102,8 @@ class PlayerHandler final : public MessageHandler, public Ea::PlayerHandler
static void processPlayerFameTaekwon(Net::MessageIn &msg);
static void processPlayerReadBook(Net::MessageIn &msg);
+
+ static void processPlayerEquipTickAck(Net::MessageIn &msg);
};
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index 4e3c6189d..5779d743a 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -112,6 +112,7 @@
#define SMSG_PLAYER_UPGRADE_MESSAGE 0x0223
#define SMSG_PLAYER_COOKING_LIST 0x025a
#define SMSG_PLAYER_READ_BOOK 0x0294
+#define SMSG_PLAYER_EQUIP_TICK_ACK 0x02d9
#define SMSG_SKILL_FAILED 0x0110
#define SMSG_SKILL_DAMAGE 0x01de
#define SMSG_SKILL_AUTO_CAST 0x0147