summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2009-10-24Rebranding tmwserv to manaservThorbjørn Lindeijer22-359/+479
Includes a database update. Use update_6_to_7.sql to update existing sqlite databases.
2009-10-24Don't log the sitting/standing action change transaction. Mantis #950.Bertram1-6/+18
2009-10-21Fixed compileThorbjørn Lindeijer1-1/+2
For some reason qApp was missing for seeseekey.
2009-10-18Some random cleanupsThorbjørn Lindeijer8-9/+7
2009-10-17Added the initial version of a server monitorThorbjørn Lindeijer4-0/+287
It launches the account and game servers and restarts them when they quit unexpectedly. When a core file is found after a server quit, a backtrace is emailed when the CRASH_REPORT_RECEIVER environment variable is set. The monitor should be terminated with the TERM signal, which makes sure the servers get some time to shutdown gracefully.
2009-10-17Also close gracefully on receiving the TERM signalThorbjørn Lindeijer2-0/+2
Probably the most important signal to handle gracefully...
2009-10-14lua_tofloat doesn't exist in Lua 5.1Jared Adams1-3/+4
Also make that parameter optional
2009-10-15Speed code unification part 1: Made the server accept speed values in tiles ↵Bertram9-22/+50
per second.
2009-10-13Add script bindings for being directionsJared Adams1-2/+44
2009-10-13Add being action getter and setterJared Adams1-0/+42
2009-10-11Only use the first 1000 skills in level calulationChuck Miller1-3/+7
After 1000 is reserved for crafting skills
2009-10-09Mostly synced the client and server code for path finding.Bertram5-43/+50
2009-10-09Synced the protocol file with client in protocol.h, letting other defines in ↵Bertram30-368/+380
defines.h, and removing some overheading along the way.
2009-10-09Adds the option for a configuable hard cap on skill levelsChuck Miller1-3/+15
To use, use the option "maxSkillCap", and set it to desired exp
2009-10-07Added a warning to accountserver when using the default inter-server password.Philipp Sehmisch1-0/+7
2009-10-07Adds server auth, also adds the "net_password" configure optionChuck Miller3-3/+31
2009-10-04Fixes infinite loopChuck Miller1-0/+1
2009-10-03Limit login attempt frequency based on IP addressThorbjørn Lindeijer6-60/+28
The previous method was broken because it set the "last time" to the current time when the client connected. So login would fail when the username and password were sent within a second from connecting, which is not desirable. If I'd have fixed this by setting the "last time" to login time minus one second, then an attacker would just need to reconnect for each login attempt. So now it uses an IP address based approach, where each IP can only try to log in once per second.
2009-10-03Some cleanupThorbjørn Lindeijer6-148/+150
* Removed unsigned/signed warning by just using signed integers. * Made AccountHandler message handler functions members again instead of static functions. * Renamed 'computer' to 'client' since that is a less confusing name.
2009-10-03Fixed a line where anger was not addedChuck Miller1-1/+1
2009-10-03Adds the changeAnger method to monstersChuck Miller2-10/+25
2009-10-02UNIX compilation fix for last commitPhilipp Sehmisch1-1/+7
2009-10-02Game-server now tries again when failing to connect to account-server. ↵Philipp Sehmisch1-2/+15
Reconnect intervals become longer and longer.
2009-10-01Adds code for saving and getting status effects from the databaseChuck Miller7-1/+141
2009-09-30Adds tmw_char_status_effects tables to mySQL and SQLiteChuck Miller5-3/+59
2009-09-27Added script bindings and netcode for creating being-bound effects.Philipp Sehmisch5-12/+70
2009-09-23added script functions for monster attacksPhilipp Sehmisch5-7/+23
2009-09-17Added the possibility to define a monster script for a whole monster class ↵Philipp Sehmisch3-3/+33
in monsters.xml
2009-09-16Allow for basic scripted monstersChuck Miller3-0/+71
2009-09-15Fixed crash when column value is a real NULL value instead of empty string.Andreas Habel1-1/+3
2009-09-09Fixed superfluous semicolon in sqlite3 createTables.sql fileThorbjørn Lindeijer1-1/+1
It was causing problems with sqlite 3.6.10.
2009-08-25Merge branch 'master' of git@gitorious.org:tmwserv/mainlinePhilipp Sehmisch5-15/+245
2009-08-25Made the STL container -> LUA table wrappers more flexible.Philipp Sehmisch2-19/+28
2009-08-23Added table and view to prepare reporting of transaction log.Andreas Habel4-9/+226
Fixed database update "3 to 4". Added database update "4 to 5". Added indexes to table tmw_transaction for faster search when it gets bigger. Refactored layout of sqlite database script.
2009-08-21Merge branch 'master' of git@gitorious.org:tmwserv/mainlineAndreas Habel13-128/+36
2009-08-20Remove attackzone from MakefileJared Adams1-2/+0
2009-08-20Removed remnants of attack zones. Monsters AI now works properly again.Philipp Sehmisch7-64/+12
2009-08-19Performance improvement of range calculation (suggested by Octalot)Philipp Sehmisch1-4/+4
2009-08-19Removed attack shape from items. Added distance check on attacks (values ↵Philipp Sehmisch8-64/+26
still hardcoded). performAttack now takes a target and a range argument instead of determining the target with accumulate&fire
2009-08-17Update table tmw_accounts. Added columns to store secret key and expirationAndreas Habel3-10/+25
time for password recovery via tmwweb/email.
2009-08-14Bugfix for storing transaction messages for new created characters.Andreas Habel1-2/+3
First flush the new character to the database to get it's new DatabaseID. Calling ->getDatabaseID() before flush() will give a wrong, uninitialized value.
2009-08-01Simplifies Movement to not send path destinations, but rather just the ↵Chuck Miller4-40/+6
current pos
2009-07-30Add missing files to the Code::Blocks projectJared Adams1-0/+4
2009-07-20Have the game server reconnect with the account-server if account-server is ↵Chuck Miller8-18/+98
restarted
2009-07-18Change status effects to prevent duplicationJared Adams3-13/+101
Also add some functions for manipulating status effects: * removeStatusEffect * getStatusEffectTime * setStatusEffectTime
2009-07-17Adds scripted status effectsChuck Miller9-0/+393
2009-07-16Set a map for the mScript when a item is usedChuck Miller1-0/+1
2009-07-14Remove a used lineChuck Miller1-1/+0
2009-07-12Allow npc_choice to take tables of stringsJared Adams1-3/+21
2009-07-10Prevent Actors from getting ID 0Jared Adams1-0/+1
Causes client problems.