Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Made the logLevel be taken from configuration for both servers. | Yohann Ferreira | 2010-05-29 | 3 | -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 wiki | Philipp Sehmisch | 2010-05-29 | 1 | -2/+2 |
| | |||||
* | Added path and hp regen in combat config options to example manaserv.xml | Philipp Sehmisch | 2010-05-29 | 1 | -3/+7 |
| | |||||
* | Made disabling of HP regeneration during combat configurable | Philipp Sehmisch | 2010-05-29 | 1 | -1/+2 |
| | | | | Reviewed-by: Bertram | ||||
* | Added some more log infos, and made small cleanups. | Yohann Ferreira | 2010-05-28 | 7 | -34/+59 |
| | | | | Reviewed-by: Thorbjorn, Jaxad0127 | ||||
* | Modified the npc_trade() lua function to permit selling the whole player ↵ | Yohann Ferreira | 2010-05-28 | 5 | -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 Ferreira | 2010-05-27 | 1 | -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 Ferreira | 2010-05-21 | 2 | -2/+3 |
| | | | | Reviewed-by: Jaxad0127 | ||||
* | Some cleanup in StatusEffect class | Thorbjørn Lindeijer | 2010-05-21 | 2 | -14/+14 |
| | | | | No functional changes. | ||||
* | Added a package loader that goes through the resource manager | Thorbjørn Lindeijer | 2010-05-21 | 3 | -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 function | Thorbjørn Lindeijer | 2010-05-20 | 1 | -4/+4 |
| | | | | | Also updated the link to the documentation and fixed the documentation for being_set_speed. | ||||
* | Added .mailmap file to clean up shortlog | Thorbjørn Lindeijer | 2010-05-17 | 1 | -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 define | Thorbjørn Lindeijer | 2010-05-17 | 1 | -2/+0 |
| | |||||
* | Changed contact email address to the Mana developer list | Thorbjørn Lindeijer | 2010-05-16 | 1 | -1/+1 |
| | | | | Reviewed-by: Jared Adams | ||||
* | Random cleanups, adding const, removing unnecessary clear calls | Thorbjørn Lindeijer | 2010-05-16 | 9 | -49/+29 |
| | | | | Reviewed-by: Jared Adams | ||||
* | Added some documentation about the dependencies | Thorbjørn Lindeijer | 2010-05-16 | 1 | -0/+9 |
| | | | | Reviewed-by: Jared Adams | ||||
* | Don't return configuration value by reference | Thorbjørn Lindeijer | 2010-05-16 | 2 | -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 data | Thorbjørn Lindeijer | 2010-05-16 | 19 | -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++ | Bertram | 2010-05-12 | 1 | -8/+8 |
| | | | | | Made-by: thorbjorn Reviewed-by: Bertram | ||||
* | Floor items are now removed after a (configurable) time. | Philipp Sehmisch | 2010-05-09 | 3 | -7/+35 |
| | | | | Reviewed-by: Thorbjorn Lindeijer | ||||
* | Compile-fix for manaserv, post protocol merge. | Bertram | 2010-05-06 | 2 | -24/+16 |
| | | | | Please re-merge mana and manamobile to fit the change on actor types. | ||||
* | synchronised protocol.h between manaserv, mana and manamobile. | Maximilian Philipps | 2010-05-03 | 1 | -37/+65 |
| | |||||
* | Added a Byte Order Mask (BOM) filter to the ResourceManager. | Bertram | 2010-04-25 | 10 | -11/+45 |
| | | | | Reviewed by: Jaxad0127 | ||||
* | Implemented handler for on_chr_death and put the loading of the global ↵ | Philipp Sehmisch | 2010-04-11 | 4 | -15/+29 |
| | | | | | | script into a method of class LuaScript Reviewed-by: Jared Adams <Jaxad0127@gmail.com> | ||||
* | Implemented global event function call to on_chr_death | Philipp Sehmisch | 2010-04-11 | 4 | -13/+34 |
| | | | | Reviewed-by: Jared Adams <Jaxad0127@gmail.com> | ||||
* | Added global lua event script (only on_being_death_accept for now) | Philipp Sehmisch | 2010-04-11 | 4 | -9/+36 |
| | | | | Reviewed-by: Jared Adams <Jaxad0127@gmail.com> | ||||
* | Remove empty LOG print when deallocating | Chuck Miller | 2010-04-02 | 1 | -2/+0 |
| | |||||
* | Fix sitting and standing | Chuck Miller | 2010-03-30 | 1 | -5/+6 |
| | |||||
* | Remove unneed debug output | Chuck Miller | 2010-03-30 | 1 | -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 Sehmisch | 2010-03-18 | 1 | -1/+1 |
| | | | | (trivial change) | ||||
* | Add methods to get and set being speed | Jonathan Kolberg | 2010-03-13 | 1 | -1/+35 |
| | | | | Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl> | ||||
* | Remove an unused function and two protocol messages. | Bertram | 2010-03-08 | 4 | -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. | Bertram | 2010-03-08 | 1 | -1/+1 |
| | |||||
* | Added script bindings for healing characters and other beings. | Philipp Sehmisch | 2010-02-25 | 3 | -0/+55 |
| | | | | Reviewed-by: Jared Adams <jaxad0127@gmail.com> | ||||
* | Removed some unnecessary log messages | Philipp Sehmisch | 2010-02-23 | 2 | -3/+2 |
| | |||||
* | Fixed unused variable warnings | Thorbjørn Lindeijer | 2010-02-22 | 2 | -3/+1 |
| | |||||
* | Send update host also with registration response | Thorbjørn Lindeijer | 2010-02-22 | 1 | -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 file | Thorbjørn Lindeijer | 2010-02-22 | 1 | -20/+94 |
| | |||||
* | Update Copyright date for Manaserv. | Bertram | 2010-02-07 | 161 | -161/+161 |
| | |||||
* | Fixed gameserver termination under unices environnements when the account ↵ | Bertram | 2010-02-07 | 1 | -1/+1 |
| | | | | server wasn't found. | ||||
* | Win32 build fixes when building with cmake | Bernd Wachter | 2010-01-30 | 1 | -2/+6 |
| | | | | Add missing zlib dependency, add NOGDI flag to avoid namespace clashes. | ||||
* | Add files generated by gtags to .gitignore | Bernd Wachter | 2010-01-30 | 1 | -1/+7 |
| | |||||
* | Rename enum elements to avoid clashing with macros | Bernd Wachter | 2010-01-29 | 4 | -19/+19 |
| | |||||
* | Add/fix win32 build rules | Bernd Wachter | 2010-01-29 | 5 | -1/+74 |
| | |||||
* | Switch inverted binary names | Bernd Wachter | 2010-01-29 | 1 | -2/+2 |
| | |||||
* | Fix build flags for optional libraries, add extra link libraries | Bernd Wachter | 2010-01-29 | 1 | -5/+10 |
| | |||||
* | Rename Sqlite-Module to Sqlite3, fix case sensitive variables, use mor ↵ | Bernd Wachter | 2010-01-29 | 1 | -13/+13 |
| | | | | readable if-syntax | ||||
* | Use the module shipped with CMake 2.6 to detect Lua 5.1 | Bernd Wachter | 2010-01-29 | 2 | -51/+5 |
| | |||||
* | Add CMake generated files to .gitignore | Bernd Wachter | 2010-01-29 | 1 | -0/+6 |
| | |||||
* | Upgraded CMakeLists.txt files to deal with compile option. I have still one ↵ | Bertram | 2010-01-29 | 6 | -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. |