summaryrefslogtreecommitdiff
path: root/docs
AgeCommit message (Collapse)AuthorFilesLines
2013-02-25Removed some outdated and not useful documentationThorbjørn Lindeijer3-113/+0
2013-02-24Added possibility to reserve mapsErik Schilling1-0/+9
If you set net_gameServerName you can now reserve maps in the maps.xml. There you have to add the servername - property to the <map> tag. Then the map will only be activated by that server. Also changed the activate sequence that the account server now tells the game server what maps to activate (previously the server requested all maps and the account server said yes or no). TODO: Fix general inter server map switching.
2013-02-24Made the scripts being able to installErik Schilling1-1/+0
The game server will now look for the scripts in this order: - serverPath - config value - current working directory - the PKG_DATADIR #define
2012-05-05Added debugging mode to the protocolThorbjørn Lindeijer1-0/+3
Allows inspection of message data. It is off by default since it consumes additional bandwidth, but it can be turned on using the net_debugMode option in manaserv.xml. Currently the option only affects outgoing data for each host individually. In particular, enabling this debug mode for the server does not automatically make the client annotate its messages. Reviewed-by: Erik Schilling
2012-04-19Fixed guild supportErik Schilling1-0/+1
List of things fixed: - fixed having multiple guild support everywhere - implemented kick code (untested due to missing kick possiblity in client) - fixed giving owner rights to next member when owner leaves guild - fixed potentional segmention fault when trying to access deleted guild after all members left - fixed saving right changes to database - made searching for guilds faster a bit (at least when having many guilds) TODO: + Fix conflict between guild and normal channels + Fix being able to leave guild channel without leaving guild itself + Add kick possiblity to client Reviewed-by: bjorn.
2012-04-12Fixed issues with server behind routerErik Schilling1-0/+6
Tested-by: jurkan. Reviewed-by: Bertram.
2012-03-02Merged all the different Lua states into oneThorbjørn Lindeijer1-1/+1
No more Lua state for each status effect, monster, item effect or map. All scripts are loaded into the same state. This should be more efficient overall and make it easier to implement dynamic reloading of the scripts in the future. Now, this introduces the problem of name collisions between different Lua scripts. For now this is solved by using more specific function names, like 'tick_plague' and 'tick_jump' rather than just 'tick'. The plan is however to get rid of these globals, and register these callbacks from the script, so that they can be local functions without the danger of colliding with other scripts. Reviewed-by: Erik Schilling Reviewed-by: Yohann Ferreira
2012-02-25Merged the example client and server dataThorbjørn Lindeijer1-2/+1
It's easier to just talk about world data and to modify it as a whole. If there is really a need to separate it, a project can still choose to do that (and in whatever suitable way). There is no need to enforce this separation or to do it in our example. Reviewed-by: Erik Schilling
2011-12-16Added explanation for include feature in the configuration fileErik Schilling1-0/+7
Reviewed-by: Bertram.
2011-11-07Merged three global script states into oneThorbjørn Lindeijer1-0/+7
These scripts could trivially share one script state, since the methods called on them from the server are not overlapping. This does leave them open to access each other's global variables, but that's the problem with global variables. The one remaining global script file name is now configurable, so that it may also be set to a script in a different scripting language. The two related script options are: script_mainFile (default: scripts/main.lua) script_defaultEngine (default: lua) - renamed from defaultScriptEngine Reviewed-by: jurkan Reviewed-by: Yohann Ferreira
2011-10-19Synced the manaserv.xml.example file with latest changesYohann Ferreira1-0/+5
on the log system.
2011-01-26Removed the outdated net_clientVersion config options.Yohann Ferreira1-6/+0
This is now set in the manaserv_protocol.h file using the PROTOCOL_VERSION enum.
2010-12-29Updated the manaserv.xml to reflect latest functionalities.Yohann Ferreira1-10/+13
Trivial fix.
2010-10-26Documented the net_clientDataUrl optionThorbjørn Lindeijer1-1/+9
2010-10-17Synchronise defaults between configuration file and source.Freeyorp1-10/+10
Reviewed-by: Bertram
2010-09-29Added the new log options in the manaserv.xml.example file.Yohann Ferreira1-0/+14
Trivial fix.
2010-09-15Reordered the manaserv.xml.example file and made related code cleanups.Yohann Ferreira1-42/+133
Reviewed-by: Thorbjorn.
2010-09-09Documented all the currently available options in manaserv.xml.example.Yohann Ferreira1-7/+33
Reviewed-by: CodyMartin.
2010-09-07Added config options to set stats and log files and paths.Yohann Ferreira1-5/+18
Also turned the absence of an inter-server password into a fatal error while documenting it in the manaserv.xml example file. Reviewed-by: Jaxad0127.
2010-09-06Added <points> tag handling in attributes.xml.Yohann Ferreira1-6/+5
Reviewed-by: Freeyorp, Thorbjorn.
2010-08-22Changed the location of configuration, logs and statsThorbjørn Lindeijer1-1/+1
Instead of searching for the configuration file in ~/.manaserv.xml, the file is now expected to be in the working directory of the server. The logs and statistics will also be written there. This should make it easier to run differently configured servers on the same machine, and should also be a bit more straight-forward to setup. Reviewed-by: Yohann Ferreira
2010-05-30Copied basic Lua libs back from tmwserv-data and added dummy dataThorbjørn Lindeijer1-13/+17
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
2010-05-29Made the logLevel be taken from configuration for both servers.Yohann Ferreira1-0/+12
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.
2010-05-29Set example paths to those documented on the wikiPhilipp Sehmisch1-2/+2
2010-05-29Added path and hp regen in combat config options to example manaserv.xmlPhilipp Sehmisch1-3/+7
2010-05-09Floor items are now removed after a (configurable) time.Philipp Sehmisch1-3/+6
Reviewed-by: Thorbjorn Lindeijer
2009-12-22Updated link to documentation for manaserv.xmlThorbjørn Lindeijer1-1/+1
This documentation should of course be moved to doc.manasource.org
2009-12-15Changed registration to allowed in the example manaserv.xmlPhilipp Sehmisch1-1/+1
2009-12-06A few late rebranding updatesThorbjørn Lindeijer2-22/+22
2009-12-06Fixed the default visual rangeThorbjørn Lindeijer1-1/+1
The client is 800x600 by default, so 320 pixels radius was not enough. Taking into account a bit of network latency as well, 448 should be alright.
2009-12-05Added some new options to example configuration.Philipp Sehmisch1-4/+46
2009-10-24Rebranding tmwserv to manaservThorbjørn Lindeijer3-13/+13
Includes a database update. Use update_6_to_7.sql to update existing sqlite databases.
2009-05-24Updated the keys in the example configuration fileBjørn Lindeijer1-4/+4
These settings grew a net_ prefix.
2008-11-03Added tables and statements to store and retrieve letters. Attachments not ↵Andreas Habel1-0/+0
functional as long as items not stored as individual items.
2008-10-31Changed command system to handle commands without template magic.David Athay1-3/+10
2008-10-26update commands.txt, get rid of packets.txtRoderic Morris2-485/+1
2008-09-19* Doxygen now writes all warnings into a separate fileAndreas Habel1-1/+6
* Added link to wiki documentation as comment into tmwserv.xml * Added table tmw_char_skills to store skills of a character and removed weapon skills from table tmw_characters.
2008-09-17* Added installation scripts to set up database schemas for mysql, sqlite ↵Andreas Habel1-6/+45
and postgresql. The create table statements have been completely removed out from the c++ source into separate, provider specific sql files. Accountserver will no longer create a sqlite file if none present. * Added database specific config parameters to configure each provider independent. * Simplified the connect routine of DALStorage class since every dataprovider is now responsible to retrieve its own parameters. * Extended abstract dataprovider to support transactions, functionally implemented for SQLite and mySQL. * Added methods to retrieve last inserted auto-increment value and the number of modified rows by the last statement. * Rewrite of DALStorage class to be a little more transactional. * Fixed a bug when deleting a character. Old function left data in quests table and guilds table. * Doxygen now also includes non-documented functions and provides a dictionary for all classes
2007-09-10Added first draft of admin/gm commands reference.Eugenio Favalli1-0/+67
2007-01-05Removed log level argument from LOG_FATAL helper macro, with the assumptionBjørn Lindeijer1-2/+20
that fatal messages should always have highest log level.
2006-08-26Added example configuration file.Bjørn Lindeijer1-0/+12
2006-02-18Updated server packets documentation. Some minor updates.Yohann Ferreira1-80/+361
2006-01-14Sever returns infos about position of the selected character (map name, ↵Eugenio Favalli1-0/+19
coordinates).
2005-08-04Added basic inventory (not fully functional)Aaron Marks1-0/+6
Extended GameHandler Extended protocol Fixed problem with SQL query
2005-07-25Updating dev-cpp project file for map loadingEugenio Favalli1-16/+31
2005-06-12Some cleanups mostly in account class formatting.Bjørn Lindeijer1-1/+1
2005-05-13Committed stuff i forgot to commit last night ("Standard Script Lib")Aaron Marks1-0/+1
2005-05-11Added more to scripting definition draft.Aaron Marks2-20/+66
Added stats.txt (which will document the algorithms for calculating being properties & statistics).
2005-05-10Added basic draft scripting specification documentation.Aaron Marks1-0/+46
2005-04-21A few changes to protocol.Bjørn Lindeijer1-31/+64