summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-11 16:52:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-11 16:52:02 +0300
commitea71948915fdfd9e658808a049283cf09a2b1694 (patch)
treecc68a6e03c49858728b03411263b03a3b2e95bdd /src
parentdf22a0dfb16eeeadb90ef9944c97b5d49303a306 (diff)
downloadmv-ea71948915fdfd9e658808a049283cf09a2b1694.tar.gz
mv-ea71948915fdfd9e658808a049283cf09a2b1694.tar.bz2
mv-ea71948915fdfd9e658808a049283cf09a2b1694.tar.xz
mv-ea71948915fdfd9e658808a049283cf09a2b1694.zip
eathena: add packet CMSG_ADMIN_GOTO 0x01bb.
Diffstat (limited to 'src')
-rw-r--r--src/net/eathena/adminhandler.cpp2
-rw-r--r--src/net/eathena/protocol.h1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index f470753e9..a64374a38 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -124,6 +124,8 @@ void AdminHandler::resetSkills() const
void AdminHandler::gotoName(const std::string &name) const
{
+ MessageOut outMsg(CMSG_ADMIN_GOTO);
+ outMsg.writeString(name, 24, "name");
}
} // namespace EAthena
diff --git a/src/net/eathena/protocol.h b/src/net/eathena/protocol.h
index d3e02338e..5b8b7e274 100644
--- a/src/net/eathena/protocol.h
+++ b/src/net/eathena/protocol.h
@@ -303,6 +303,7 @@
#define CMSG_ADMIN_KICK_ALL 0x00ce
#define CMSG_ADMIN_MUTE 0x0149
#define CMSG_ADMIN_RESET_PLAYER 0x0197
+#define CMSG_ADMIN_GOTO 0x01bb
#define CMSG_GUILD_CHECK_MASTER 0x014d
#define CMSG_GUILD_REQUEST_INFO 0x014f