summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2010-05-21Fixes based on cppcheck errors report.Yohann Ferreira2-2/+3
Reviewed-by: Jaxad0127
2010-05-21Some cleanup in StatusEffect classThorbjørn Lindeijer2-14/+14
No functional changes.
2010-05-21Added a package loader that goes through the resource managerThorbjørn Lindeijer3-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
2010-05-20Removed unused parameter from being_get_speed Lua functionThorbjørn Lindeijer1-4/+4
Also updated the link to the documentation and fixed the documentation for being_set_speed.
2010-05-17Added .mailmap file to clean up shortlogThorbjørn Lindeijer1-0/+4
Removed some duplicate entries like Bjørn and Thorbjørn, three different variations of Blue and two for Bertram.
2010-05-17Fixed CMake build by removing now unused defineThorbjørn Lindeijer1-2/+0
2010-05-16Changed contact email address to the Mana developer listThorbjørn Lindeijer1-1/+1
Reviewed-by: Jared Adams
2010-05-16Random cleanups, adding const, removing unnecessary clear callsThorbjørn Lindeijer9-49/+29
Reviewed-by: Jared Adams
2010-05-16Added some documentation about the dependenciesThorbjørn Lindeijer1-0/+9
Reviewed-by: Jared Adams
2010-05-16Don't return configuration value by referenceThorbjørn Lindeijer2-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
2010-05-16Changed and split up the default location for loading dataThorbjørn Lindeijer19-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
2010-05-12Fixed a forbidden use of char bomBuffer[utf8Bom.length()]; with ISO C++Bertram1-8/+8
Made-by: thorbjorn Reviewed-by: Bertram
2010-05-09Floor items are now removed after a (configurable) time.Philipp Sehmisch3-7/+35
Reviewed-by: Thorbjorn Lindeijer
2010-05-06Compile-fix for manaserv, post protocol merge.Bertram2-24/+16
Please re-merge mana and manamobile to fit the change on actor types.
2010-05-03synchronised protocol.h between manaserv, mana and manamobile.Maximilian Philipps1-37/+65
2010-04-25Added a Byte Order Mask (BOM) filter to the ResourceManager.Bertram10-11/+45
Reviewed by: Jaxad0127
2010-04-11Implemented handler for on_chr_death and put the loading of the global ↵Philipp Sehmisch4-15/+29
script into a method of class LuaScript Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
2010-04-11Implemented global event function call to on_chr_deathPhilipp Sehmisch4-13/+34
Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
2010-04-11Added global lua event script (only on_being_death_accept for now)Philipp Sehmisch4-9/+36
Reviewed-by: Jared Adams <Jaxad0127@gmail.com>
2010-04-02Remove empty LOG print when deallocatingChuck Miller1-2/+0
2010-03-30Fix sitting and standingChuck Miller1-5/+6
2010-03-30Remove unneed debug outputChuck Miller1-1/+0
The issue this output was created to help debug has long been fixed
2010-03-18Fixed a typo in mysql database update script for v7 to v8.Philipp Sehmisch1-1/+1
(trivial change)
2010-03-13Add methods to get and set being speedJonathan Kolberg1-1/+35
Signed-off-by: Thorbjørn Lindeijer <thorbjorn@lindeijer.nl>
2010-03-08Remove an unused function and two protocol messages.Bertram4-23/+1
TMW-Mantis #25 is resolved, btw. Reviewed-by: thorbjorn, Jaxad0127, and Kage.
2010-03-08We should enable Lua per default as we have no other scripting engine anyway.Bertram1-1/+1
2010-02-25Added script bindings for healing characters and other beings.Philipp Sehmisch3-0/+55
Reviewed-by: Jared Adams <jaxad0127@gmail.com>
2010-02-23Removed some unnecessary log messagesPhilipp Sehmisch2-3/+2
2010-02-22Fixed unused variable warningsThorbjørn Lindeijer2-3/+1
2010-02-22Send update host also with registration responseThorbjørn Lindeijer1-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
2010-02-22Updated INSTALL fileThorbjørn Lindeijer1-20/+94
2010-02-07Update Copyright date for Manaserv.Bertram161-161/+161
2010-02-07Fixed gameserver termination under unices environnements when the account ↵Bertram1-1/+1
server wasn't found.
2010-01-30Win32 build fixes when building with cmakeBernd Wachter1-2/+6
Add missing zlib dependency, add NOGDI flag to avoid namespace clashes.
2010-01-30Add files generated by gtags to .gitignoreBernd Wachter1-1/+7
2010-01-29Rename enum elements to avoid clashing with macrosBernd Wachter4-19/+19
2010-01-29Add/fix win32 build rulesBernd Wachter5-1/+74
2010-01-29Switch inverted binary namesBernd Wachter1-2/+2
2010-01-29Fix build flags for optional libraries, add extra link librariesBernd Wachter1-5/+10
2010-01-29Rename Sqlite-Module to Sqlite3, fix case sensitive variables, use mor ↵Bernd Wachter1-13/+13
readable if-syntax
2010-01-29Use the module shipped with CMake 2.6 to detect Lua 5.1Bernd Wachter2-51/+5
2010-01-29Add CMake generated files to .gitignoreBernd Wachter1-0/+6
2010-01-29Upgraded CMakeLists.txt files to deal with compile option. I have still one ↵Bertram6-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.
2010-01-28Added WIP entries for Cmake build. This is configurable but non-working atm.Bertram4-1/+339
I'll need a bit more time and help to get this fully working, but it's a good start :) Also corrected a typo in a makefile.am file.
2010-01-26Adding compilation warnings for automake.Bertram1-0/+4
2010-01-23Fix a syntax error in MYSQL createTable scriptBlue Sans Douze1-4/+4
Introduced in commit bb7866f0
2010-01-18Reverted the accountserver-affecting changes of commits a9a87aea and ↵Philipp Sehmisch6-12/+21
dfc6875e - doesn't work out the way I planned.
2010-01-18Updated project filesPhilipp Sehmisch3-0/+7
2010-01-17Removed last traces of hardcoded access levels form game-server, begun with ↵Philipp Sehmisch7-112/+59
using the permission manager in the account-server.
2010-01-17Some refractoring at the command handler for easier maintainabilityPhilipp Sehmisch3-84/+141