From ea71948915fdfd9e658808a049283cf09a2b1694 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 11 Sep 2014 16:52:02 +0300 Subject: eathena: add packet CMSG_ADMIN_GOTO 0x01bb. --- src/net/eathena/adminhandler.cpp | 2 ++ src/net/eathena/protocol.h | 1 + 2 files changed, 3 insertions(+) (limited to 'src') 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 -- cgit v1.2.3-70-g09d2