summaryrefslogtreecommitdiff
path: root/example
AgeCommit message (Collapse)AuthorFilesLines
2010-12-29Updated the attributes.xml file with a more up-to-date version.Yohann Ferreira1-12/+10
Trivial fix.
2010-12-27Implemented @log and @logsay commands.Philipp Sehmisch1-0/+2
The @log command is the equivalent to tmwAthena's @l. It allows to log a text as a transaction for documentation purpose. The @logsay command works like @t on tmwAthena. It says something in public chat while also logging it as a separate trasaction. Reviewed-by: Thorbjorn
2010-12-27Transaction logging of various command, new transaction codes and style fix.Philipp Sehmisch1-0/+2
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-12-17Implemented @die chat commandPhilipp Sehmisch1-0/+1
The @die chat command kills the evoking character by setting its hit points to 0. The example permissions.xml assigns it to the "tester" rights group and not "players" because server admins who are not aware of this command might run into trouble when they assume that players don't have a method to teleport to their spawn point voluntarily. Resolves: mantis ticket #192 Reviewed-by: Jaxad0127
2010-12-06Improve warp commandsJared Adams1-0/+1
@warp no longer takes a character. @charwarp was added to handle that ('#' still means the player). Both can take a map name, map id (preceded by '#') or '#' for the player's current map. Logging of warp commands now logs destination map and player warped (for @charwarp).
2010-10-26Added an empty npcs.xml file to the client dataThorbjørn Lindeijer1-0/+10
Needed for the Mana client to reach the character selection dialog.
2010-10-23Added example equip.xmlPhilipp Sehmisch1-0/+12
2010-09-18Converted CRLF to LF in attributes.xmlThorbjørn Lindeijer1-82/+82
Somebody needs to check his core.autocrlf setting.
2010-09-16Upgraded the attributes.xml example to something actually usable.Yohann Ferreira1-38/+82
2010-09-12Added an example attributes.xmlThorbjørn Lindeijer1-0/+38
Copied from bertram-experimental-mana-data and updated to new element names.
2010-08-30Added @mute chat command.Philipp Sehmisch1-0/+1
The @mute command stops another character from talking in the public chat for a specified amount of seconds. It doesn't survive a reconnect of the client, but I don't think that this is necessary because a mute by a GM is usually intended as a slap on the wrist with more severe consequences to follow (like @ban).
2010-08-22Added an empty mana-status-effect.xml to the exampleThorbjørn Lindeijer1-0/+3
Avoids an error message.
2010-07-09Added LUA script bindings for manipulating the specials available to a ↵Philipp Sehmisch1-0/+39
character. Added script call for getting the cost of a special (recharge only for now) Deleting specials works server-sided but the client isn't informed about it properly. Specials without recharge cost don't appear for the player. Both of these features require an additional netcode message. Reviewed-by: Freeyorp
2010-05-31Added minimal example global_events.luaPhilipp Sehmisch1-0/+57
Reviewed-by: Thorbjorn
2010-05-30Copied basic Lua libs back from tmwserv-data and added dummy dataThorbjørn Lindeijer7-0/+77
The dummy data is currently mostly empty data though, so still nothing to see as far as the example content is concerned. Reviewed-by: Bertram
2010-05-16Changed and split up the default location for loading dataThorbjørn Lindeijer1-0/+12
Instead of loading data from a 'data' directory in the current working directory, the server now uses clientDataPath and serverDataPath as specified in the configuration. This removes the need to set up symbolic links in order to merge these two types of data. The default values point to example/clientdata and example/serverdata, where a minimal example world can be developed to make setting up an initial server quick and easy. The XML::Document convenience class was copied over from the client. Also, the ResourceManager is now shared between both servers, since the account client is reading items.xml. Reviewed-by: Jared Adams