summaryrefslogtreecommitdiff
path: root/src/common
diff options
context:
space:
mode:
authorPhilipp Sehmisch <mana@crushnet.org>2010-12-27 18:11:27 +0100
committerPhilipp Sehmisch <mana@crushnet.org>2010-12-27 18:11:27 +0100
commitd1ac4d5cd3b605526f2b1a3caa3339718962d415 (patch)
tree2b8e43ae739eed4583d9a82c7d9613fd781a930f /src/common
parenta1514113093733b65e36224dad81f6867edcb93c (diff)
downloadmanaserv-d1ac4d5cd3b605526f2b1a3caa3339718962d415.tar.gz
manaserv-d1ac4d5cd3b605526f2b1a3caa3339718962d415.tar.bz2
manaserv-d1ac4d5cd3b605526f2b1a3caa3339718962d415.tar.xz
manaserv-d1ac4d5cd3b605526f2b1a3caa3339718962d415.zip
Added @kick and @kill commands.
@kick disconnects the client connection of a character. The new error- code 11 (ERRMSG_ADMINISTRATIVE_LOGOFF) is not supported by the client yet. It will show a generic "The connection to server was lost" message instead. @kill kills the character by setting its HP to 0. Added @kick transaction code I forgot in last commit. Considering that this was just minutes ago I think that noone updated his database yet. So I don't think that a new database version is justified for this. Reviewed-by: Bertram
Diffstat (limited to 'src/common')
-rw-r--r--src/common/transaction.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/common/transaction.h b/src/common/transaction.h
index bc5d2a55..fdd0b8f7 100644
--- a/src/common/transaction.h
+++ b/src/common/transaction.h
@@ -82,7 +82,8 @@ enum
TRANS_CMD_SHUTDOWN_ALL,
TRANS_CMD_RESTART_THIS,
TRANS_CMD_RESTART_ALL,
- TRANS_CMD_ATTRIBUTE
+ TRANS_CMD_ATTRIBUTE,
+ TRANS_CMD_KICK
};
#endif