summaryrefslogtreecommitdiff
path: root/src/common/transaction.h
AgeCommit message (Collapse)AuthorFilesLines
2010-12-27Added @kick and @kill commands.Philipp Sehmisch1-1/+2
@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
2010-12-27Transaction logging of various command, new transaction codes and style fix.Philipp Sehmisch1-1/+22
The @mute, @goto, @attribute and @announce commands now logs transactions to the database. Added new transaction codes to database. I've preliminarily added a lot of codes for not yet supported commands so that we needn't do a database update with every single commit which implements one. Also using the equivalent "say" helper function in place of the "GameState::sayTo" method in the command handler. Reviewed-by: Kage
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-0/+67
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.