summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* Made the logLevel be taken from configuration for both servers.Yohann Ferreira2010-05-293-51/+85
| | | | | | | | | | The new parameters in the manaserv.xml file can be used to do so: log_accountServerLogLevel log_gameServerLogLevel Also, updated the sample manaserv.xml accordingly. Reviewed-by: Thorbjorn.
* Set example paths to those documented on the wikiPhilipp Sehmisch2010-05-291-2/+2
|
* Added path and hp regen in combat config options to example manaserv.xmlPhilipp Sehmisch2010-05-291-3/+7
|
* Made disabling of HP regeneration during combat configurablePhilipp Sehmisch2010-05-291-1/+2
| | | | Reviewed-by: Bertram
* Added some more log infos, and made small cleanups.Yohann Ferreira2010-05-287-34/+59
| | | | Reviewed-by: Thorbjorn, Jaxad0127
* Modified the npc_trade() lua function to permit selling the whole player ↵Yohann Ferreira2010-05-285-20/+133
| | | | | | | | | | | | | | | | | | inventory. It permits to open a sell box with every items in the player inventory as requested by Striker. Also added different return value support to both the buy selling functions, and made fixes where relevant. The test.lua script will be upgraded to show examples in a next commit. What's left to be done is to fix the inventory handling for both selling functions. (Sigh...) Concerns: Manasource mantis: #78, #101. Reviewed-by: Jaxad0127
* Fixes the random drops made by monsters once they've reached their lifetime ↵Yohann Ferreira2010-05-271-11/+12
| | | | | | | | | | limit. This contributes to avoid maps full of loot after a week or so. This also resolves TMW-Mantis: #708 Reviewed-by: Jaxad0127
* Fixes based on cppcheck errors report.Yohann Ferreira2010-05-212-2/+3
| | | | Reviewed-by: Jaxad0127
* Some cleanup in StatusEffect classThorbjørn Lindeijer2010-05-212-14/+14
| | | | No functional changes.
* Added a package loader that goes through the resource managerThorbjørn Lindeijer2010-05-213-1/+41
| | | | | | | | | | Fixes issues with finding Lua scripts after changing the way client and server data paths are set up. Lua scripts can now use 'require' with paths relative from the serverDataPath to include other Lua scripts. Reviewed-by: Jared Adams
* Removed unused parameter from being_get_speed Lua functionThorbjørn Lindeijer2010-05-201-4/+4
| | | | | Also updated the link to the documentation and fixed the documentation for being_set_speed.
* Added .mailmap file to clean up shortlogThorbjørn Lindeijer2010-05-171-0/+4
| | | | | Removed some duplicate entries like Bjørn and Thorbjørn, three different variations of Blue and two for Bertram.
* Fixed CMake build by removing now unused defineThorbjørn Lindeijer2010-05-171-2/+0
|
* Changed contact email address to the Mana developer listThorbjørn Lindeijer2010-05-161-1/+1
| | | | Reviewed-by: Jared Adams
* Random cleanups, adding const, removing unnecessary clear callsThorbjørn Lindeijer2010-05-169-49/+29
| | | | Reviewed-by: Jared Adams
* Added some documentation about the dependenciesThorbjørn Lindeijer2010-05-161-0/+9
| | | | Reviewed-by: Jared Adams
* Don't return configuration value by referenceThorbjørn Lindeijer2010-05-162-3/+3
| | | | | | | | | | | | The lifetime of the default value is often not long enough to survive to the next statement, so returning it by reference is dangereous. At the moment there may not be any place that actually tries to use the returned value as a reference, but it's better not to wait on it to happen. This was already fixed on the client after it lead to strange crashes. Reviewed-by: Jared Adams
* Changed and split up the default location for loading dataThorbjørn Lindeijer2010-05-1619-177/+248
| | | | | | | | | | | | | | | | | 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
* Fixed a forbidden use of char bomBuffer[utf8Bom.length()]; with ISO C++Bertram2010-05-121-8/+8
| | | | | Made-by: thorbjorn Reviewed-by: Bertram
* Floor items are now removed after a (configurable) time.Philipp Sehmisch2010-05-093-7/+35
| | | | Reviewed-by: Thorbjorn Lindeijer
* Compile-fix for manaserv, post protocol merge.Bertram2010-05-062-24/+16
| | | | Please re-merge mana and manamobile to fit the change on actor types.
* synchronised protocol.h between manaserv, mana and manamobile.Maximilian Philipps2010-05-031-37/+65
|
* Added a Byte Order Mask (BOM) filter to the ResourceManager.Bertram2010-04-2510-11/+45
| | | | Reviewed by: Jaxad0127
* Implemented handler for on_chr_death and put the loading of the global ↵Philipp Sehmisch2010-04-114-15/+29
| | | | | | script into a method of class LuaScript Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
* Implemented global event function call to on_chr_deathPhilipp Sehmisch2010-04-114-13/+34
| | | | Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
* Added global lua event script (only on_being_death_accept for now)Philipp Sehmisch2010-04-114-9/+36
| | | | Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
* Remove empty LOG print when deallocatingChuck Miller2010-04-021-2/+0
|
* Fix sitting and standingChuck Miller2010-03-301-5/+6
|
* Remove unneed debug outputChuck Miller2010-03-301-1/+0
| | | | The issue this output was created to help debug has long been fixed
* Fixed a typo in mysql database update script for v7 to v8.Philipp Sehmisch2010-03-181-1/+1
| | | | (trivial change)
* Add methods to get and set being speedJonathan Kolberg2010-03-131-1/+35
| | | | Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
* Remove an unused function and two protocol messages.Bertram2010-03-084-23/+1
| | | | | TMW-Mantis #25 is resolved, btw. Reviewed-by: thorbjorn, Jaxad0127, and Kage.
* We should enable Lua per default as we have no other scripting engine anyway.Bertram2010-03-081-1/+1
|
* Added script bindings for healing characters and other beings.Philipp Sehmisch2010-02-253-0/+55
| | | | Reviewed-by: Jared Adams <jaxad0127@gmail.com>
* Removed some unnecessary log messagesPhilipp Sehmisch2010-02-232-3/+2
|
* Fixed unused variable warningsThorbjørn Lindeijer2010-02-222-3/+1
|
* Send update host also with registration responseThorbjørn Lindeijer2010-02-221-3/+8
| | | | | | | | | | The client would otherwise not know which update host to use after registration. Also, the update host is now always sent, even if it is empty. This makes the message contents more deterministic. Reviewed-by: Jared Adams
* Updated INSTALL fileThorbjørn Lindeijer2010-02-221-20/+94
|
* Update Copyright date for Manaserv.Bertram2010-02-07161-161/+161
|
* Fixed gameserver termination under unices environnements when the account ↵Bertram2010-02-071-1/+1
| | | | server wasn't found.
* Win32 build fixes when building with cmakeBernd Wachter2010-01-301-2/+6
| | | | Add missing zlib dependency, add NOGDI flag to avoid namespace clashes.
* Add files generated by gtags to .gitignoreBernd Wachter2010-01-301-1/+7
|
* Rename enum elements to avoid clashing with macrosBernd Wachter2010-01-294-19/+19
|
* Add/fix win32 build rulesBernd Wachter2010-01-295-1/+74
|
* Switch inverted binary namesBernd Wachter2010-01-291-2/+2
|
* Fix build flags for optional libraries, add extra link librariesBernd Wachter2010-01-291-5/+10
|
* Rename Sqlite-Module to Sqlite3, fix case sensitive variables, use mor ↵Bernd Wachter2010-01-291-13/+13
| | | | readable if-syntax
* Use the module shipped with CMake 2.6 to detect Lua 5.1Bernd Wachter2010-01-292-51/+5
|
* Add CMake generated files to .gitignoreBernd Wachter2010-01-291-0/+6
|
* Upgraded CMakeLists.txt files to deal with compile option. I have still one ↵Bertram2010-01-296-65/+306
| | | | | | | problem with Lua... There must be something wrong in the FindLua.cmake module because the FIND_PACKAGE(Lua) doesn't work and is currently commented out.