summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2010-05-17Fixed CMake build by removing now unused defineThorbjørn Lindeijer1-2/+0
2010-05-16Random cleanups, adding const, removing unnecessary clear callsThorbjørn Lindeijer9-49/+29
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 Lindeijer18-177/+236
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 Sehmisch2-4/+29
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-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-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-29Rename enum elements to avoid clashing with macrosBernd Wachter4-19/+19
2010-01-29Add/fix win32 build rulesBernd Wachter4-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-29Use the module shipped with CMake 2.6 to detect Lua 5.1Bernd Wachter1-5/+5
2010-01-29Upgraded CMakeLists.txt files to deal with compile option. I have still one ↵Bertram1-64/+94
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.Bertram2-1/+253
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 Sehmisch5-10/+21
dfc6875e - doesn't work out the way I planned.
2010-01-18Updated project filesPhilipp Sehmisch1-0/+2
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
2010-01-17Added some missing headers, and added some missing files to Makefile.amChuck Miller3-2/+7
2010-01-17Merge branch 'master' of gitorious.org:mana/manaservPhilipp Sehmisch3-3/+32
2010-01-17Added commands for setting permissions by aliasPhilipp Sehmisch3-1/+133
2010-01-17Added permission manager. Currently only used for @commands and doesn't ↵Philipp Sehmisch4-90/+255
support <deny> and <alias> yet.
2010-01-16Updates mysql to database version 8Chuck Miller2-2/+31
2010-01-16Correct the database versionThorbjørn Lindeijer1-1/+1
Was forgotten in de7d79c7f42636065ca5281fa3bec151e34a7c48 Problem reported by ChristianK on IRC.
2010-01-16Prevented segmentation fault when calling the lua set_quest_var function ↵Philipp Sehmisch1-1/+6
with an illegal character handle.
2010-01-10Merge branch 'master' of ssh://git@gitorious.org/mana/manaservBlue11-4/+250
2010-01-10Fixing the mysql backend and the mysql createTables scriptBlue3-20/+230
Implementing the prepared statements in mysql backend
2010-01-08Added script binding for checking the kill count for each monster so that ↵Philipp Sehmisch3-0/+46
uninventive server admins can implement their boring kill-ten-rats quests.
2010-01-08Added tracing of kill count for each monster per characterPhilipp Sehmisch10-4/+204
2009-12-28Tweaked the skip detection a bit more to show less groups of small skips in ↵Philipp Sehmisch1-2/+2
the log.