summaryrefslogtreecommitdiffstats
path: root/example
Commit message (Collapse)AuthorAgeFilesLines
...
* Enabling of warp to respawn location after deathStefan Dombrowski2011-03-021-1/+1
| | | | Reviewed-by: Thorbjorn
* Changed stroll radius to pixels in monsters.xmlYohann Ferreira2011-02-231-3/+3
| | | | | To simply follow the documentation. Monsters behaviour is a bit less strange now.
* Implementing @killmonstersStefan Dombrowski2011-02-221-0/+1
| | | | Reviewed-by: Crush
* Made use of npc_disable(), npc_enable() on the template map.Yohann Ferreira2011-02-201-0/+4
|
* Update barbers and hair display.Yohann Ferreira2011-02-2016-90/+16
|
* Added a merchant and a blacksmith on the template map.Yohann Ferreira2011-02-155-79/+130
| | | | | | They're both using a fully working merchant lua function. Resolves: Mana-mantis #295.
* Finally fix Harmony giving some GP to characters.Yohann Ferreira2011-02-111-7/+4
|
* Implemented LUA binding to get the gender of a characterPhilipp Sehmisch2011-02-081-1/+7
| | | | | | | | | The function is named mana.chr_get_gender. It returns 0 for male and 1 for female. libmana-constants.lua defines the variables GENDER_MALE and GENDER_FEMALE with these values. Also made the banker NPC refer to the gender of the player character. Reviewed-by: Jaxad0127
* Added first visible npcs and play with them a bit.Yohann Ferreira2011-01-315-6/+55
|
* Added the missing Magical dodge monster property.Yohann Ferreira2011-01-301-1/+1
| | | | Now this can be loaded with the 'magic-evade' xml tag.
* Made the monsters' attributes compute fine again.Yohann Ferreira2011-01-301-8/+8
| | | | | | As a consequence, the monsters can spawn again. Reviewed-by: Freeyorp.
* Simply fixing the map script header while i see it.Yohann Ferreira2011-01-271-4/+4
|
* Updates to the example data.Yohann Ferreira2011-01-2742-8/+794
| | | | | | | - Fixed monsters Id. - Added collision layer to the desert map. - Added a few simple NPCs on the map (They still need a sprite.) - Added player and hairstyles sprites files and definition in items.xml.
* Add collisions to the template map.Yohann Ferreira2011-01-272-2/+10
|
* Added new example files needed to start a more complete feature-showing map.Yohann Ferreira2010-12-30120-11/+2304
| | | | | | | | | | | I also replaced certain files with newer version, just as the items.xml file. And I started to split test npcs from the tmwserv repository into reusable pieces. Big but trivial. Part of the Mana-Mantis issue: #231.
* Updated the attributes.xml file with a more up-to-date version.Yohann Ferreira2010-12-291-12/+10
| | | | Trivial fix.
* Implemented @log and @logsay commands.Philipp Sehmisch2010-12-271-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
* Transaction logging of various command, new transaction codes and style fix.Philipp Sehmisch2010-12-271-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
* Implemented @die chat commandPhilipp Sehmisch2010-12-171-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
* Improve warp commandsJared Adams2010-12-061-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).
* Added an empty npcs.xml file to the client dataThorbjørn Lindeijer2010-10-261-0/+10
| | | | Needed for the Mana client to reach the character selection dialog.
* Added example equip.xmlPhilipp Sehmisch2010-10-231-0/+12
|
* Converted CRLF to LF in attributes.xmlThorbjørn Lindeijer2010-09-181-82/+82
| | | | Somebody needs to check his core.autocrlf setting.
* Upgraded the attributes.xml example to something actually usable.Yohann Ferreira2010-09-161-38/+82
|
* Added an example attributes.xmlThorbjørn Lindeijer2010-09-121-0/+38
| | | | | Copied from bertram-experimental-mana-data and updated to new element names.
* Added @mute chat command.Philipp Sehmisch2010-08-301-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).
* Added an empty mana-status-effect.xml to the exampleThorbjørn Lindeijer2010-08-221-0/+3
| | | | Avoids an error message.
* Added LUA script bindings for manipulating the specials available to a ↵Philipp Sehmisch2010-07-091-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
* Added minimal example global_events.luaPhilipp Sehmisch2010-05-311-0/+57
| | | | Reviewed-by: Thorbjorn
* Copied basic Lua libs back from tmwserv-data and added dummy dataThorbjørn Lindeijer2010-05-307-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
* Changed and split up the default location for loading dataThorbjørn Lindeijer2010-05-161-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