summaryrefslogtreecommitdiff
path: root/src/net/eathena/beinghandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena/beinghandler.cpp')
-rw-r--r--src/net/eathena/beinghandler.cpp10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/eathena/beinghandler.cpp b/src/net/eathena/beinghandler.cpp
index 1ecb8895c..cf5ee0dc2 100644
--- a/src/net/eathena/beinghandler.cpp
+++ b/src/net/eathena/beinghandler.cpp
@@ -44,6 +44,11 @@ BeingHandler::BeingHandler(const bool enableSync) :
void BeingHandler::requestNameById(const BeingId id) const
{
createOutPacket(CMSG_NAME_REQUEST);
+ if (packetVersion >= 20080827 && packetVersion < 20101124)
+ {
+ outMsg.writeInt32(0, "unused");
+ outMsg.writeInt32(0, "unused");
+ }
outMsg.writeBeingId(id, "being id");
}
@@ -89,6 +94,11 @@ void BeingHandler::viewPlayerEquipment(const Being *const being) const
void BeingHandler::requestNameByCharId(const int id) const
{
createOutPacket(CMSG_SOLVE_CHAR_NAME);
+ if (packetVersion >= 20080827 && packetVersion < 20101124)
+ {
+ outMsg.writeInt32(9, "unused");
+ outMsg.writeInt32(9, "unused");
+ }
outMsg.writeInt32(id, "character id");
}