summaryrefslogtreecommitdiffstats
path: root/src
Commit message (Collapse)AuthorAgeFilesLines
* Added on_remove callback to lua APIPhilipp Sehmisch2009-01-315-15/+31
|
* Merge branch 'master' of git@gitorious.org:tmwserv/mainlinePhilipp Sehmisch2009-01-254-23/+16
|\
| * Fixed Lua files to be included in compileBjørn Lindeijer2009-01-251-4/+4
| | | | | | | | Some slashes were missing.
| * Compile without warnings and made getIP() constBjørn Lindeijer2009-01-253-19/+12
| |
| * Fix order of LUA filesJared Adams2009-01-241-3/+3
| |
* | Added lua script binding chr_get_rights for querying the account level of a ↵Philipp Sehmisch2009-01-251-0/+17
|/ | | | character.
* Reduced the size of lua.cpp by putting the class LuaScript and the utility ↵Philipp Sehmisch2009-01-226-379/+526
| | | | functions in separate files leaving only the script bindings themself. Unified internal and external names of lua script bindings.
* Added script command to get the id of the current map (requested by Invertika).Philipp Sehmisch2009-01-211-0/+13
|
* Made command handler even more helpful when entering an invalid command.Philipp Sehmisch2009-01-181-1/+1
|
* Fixed invalid permission spam for low level accountsPhilipp Sehmisch2009-01-181-3/+3
|
* Added @where and @rights chat commands for querying the own location and ↵Philipp Sehmisch2009-01-181-17/+77
| | | | access level. Improved feedback for erroneous chat commands.
* Filenames of item use scripts are now taken from the items.xmlPhilipp Sehmisch2009-01-173-16/+19
|
* Made script error reports more informative and readablePhilipp Sehmisch2009-01-173-5/+17
|
* Merge branch 'master' of git@gitorious.org:tmwserv/mainlinePhilipp Sehmisch2009-01-179-0/+81
|\
| * Added getting IP, and restricting time between loginsDavid Athay2009-01-126-0/+45
| |
| * Added @announceDavid Athay2009-01-123-0/+36
| |
* | Made respawn location a config optionPhilipp Sehmisch2009-01-091-3/+4
|/
* Add a function to return the type of a given beingJared Adams2009-01-061-0/+19
|
* Removed unused md5sum calculation codeBjørn Lindeijer2008-12-282-199/+0
| | | | Reported by seeseekey
* Fix bug with removing players from guildDavid Athay2008-12-181-7/+5
|
* Fixed game server crash and code styleBjørn Lindeijer2008-12-123-53/+56
| | | | | | | | The game server crashed when it was closed while it still hadn't been able to connect to the account server, due to an uninitialized pointer. Code style fixes. Don't use 'const' for arguments that are passed by value and start variable names with lowercase.
* Fixes map warp issues, and has a better starting locationChuck Miller2008-12-064-6/+22
|
* Added new table to store online users. See mantis #553Andreas Habel2008-12-0113-13/+227
| | | | | | | | This upgrade will be the first, we provide database installation scripts and update scripts to upgrade from the previous version. For more details about database upgrades see http://wiki.themanaworld.org/index.php/Upgrade_Database and feel free to comment.
* Add sync Buffer according to mantis #550Andreas Habel2008-11-3011-54/+316
| | | | | | | | The game server buffers all changes made to a character in a sync buffer. The buffer is sent to the account server if the buffer contains more then 20 message, reaches size of 1kb or at least every 10 seconds. ATM Character attributes, corr points and attribute points and skills are synchronized. TODO: items, location, money...
* Updated Makefile.am and added missing includeBjørn Lindeijer2008-11-292-0/+4
|
* Fixed bug found by b_lindeijerDavid Athay2008-11-271-2/+3
|
* Allows the damage struct to carry more then one used skillChuck Miller2008-11-264-10/+13
|
* Converted some DOS newlines to UNIXBjørn Lindeijer2008-11-261-61/+61
|
* Separated out the handlers for guild and partyDavid Athay2008-11-254-500/+578
|
* Fixed character party information on game server.David Athay2008-11-242-3/+3
|
* Fix crash where player is removed before hes left the partyDavid Athay2008-11-241-3/+5
|
* Stop players inviting themselves to partyDavid Athay2008-11-241-0/+4
|
* Change leader if leader leaves guild.David Athay2008-11-241-0/+7
|
* Refuse to spawn dead monstersBjørn Lindeijer2008-11-225-45/+54
| | | | | The server now warns instead of spawning dead monsters. Since I threw the spawning code around a bit, I hope I didn't break it.
* Fix linker errors with tmwserv-gameBjørn Lindeijer2008-11-211-0/+2
| | | | Added bandwidth.{hpp,cpp} to Makefile.am
* Added bandwidth monitor to account server. Fixes compile errors.David Athay2008-11-214-2/+11
|
* Merge branch 'master' of git@gitorious.org:tmwserv/mainlinePhilipp Sehmisch2008-11-2012-191/+196
|\
| * Changed @level to @setgroupDavid Athay2008-11-201-5/+5
| |
| * Changed from Access Levels to Command Groups for @ commandsDavid Athay2008-11-202-53/+112
| |
| * Made Bandwidth Monitor GlobalDavid Athay2008-11-2010-135/+81
| |
* | Added rectangular attack zones which are faster and simpler than cone-shaped ↵Philipp Sehmisch2008-11-205-12/+90
|/ | | | ones and sufficient for most situations.
* Added bandwidth monitoringDavid Athay2008-11-1912-10/+225
|
* Fixed spellingDavid Athay2008-11-181-1/+1
|
* Fixed a bug in tmw_world_states table script reported by YellowShadow. ↵Andreas Habel2008-11-181-1/+1
| | | | Modified column value to be nullable according to the sqlite table specification.
* Removed the binary sqlite3 databaseBjørn Lindeijer2008-11-161-0/+0
| | | | | | | Easy enough to create, so we shouldn't have this in the repository. Creating it goes like: sqlite3 tmw.db < src/sql/sqlite/createTables.sql
* Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer2008-11-16149-307/+1
|
* Properly handle exceptions when opening databaseBjørn Lindeijer2008-11-152-21/+17
| | | | | | It was throwing a std::string but nobody was dealing with it. The actual problem still needs to be fixed. It seems to be having problems with getting some database version.
* Added check for database version on startup of Accountserver.Andreas Habel2008-11-145-24/+26
| | | | | The provided CreateTable.sql scripts store their versions inline of a database table. The account server checks this version number with its known compatible version. If the numbers don't match, the account server raises an error and shuts down.
* Fixed crash when a script can't be found. No idea why this could happen though.Bjørn Lindeijer2008-11-111-4/+6
|
* Removed some DOS newlines from mixed filesBjørn Lindeijer2008-11-111-23/+23
|