summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
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.
2009-07-10Changed BindInteger and BindString to BindValueDavid Athay4-52/+33
2009-07-10Changed database to using prepared statements, to stop SQL injection attacksDavid Athay6-72/+298
2009-07-09Fixed bug causing unnecessary special updating when attributes change.Philipp Sehmisch1-2/+2
2009-07-08Merge branch 'master' of git@gitorious.org:tmwserv/mainlinePhilipp Sehmisch1-4/+1
2009-07-08Sending spell recharge status to the clientsPhilipp Sehmisch3-8/+58
2009-07-08changed handleAnnounce to send the full message not only the first wordMaximilian Philipps1-4/+1
2009-07-06GPMSG_PLAYER_ATTRIBUTE_CHANGE should now be using a Word over a ByteChuck Miller2-2/+2
This is to allow for skill IDs >255
2009-07-06Some final skill fixes, they seem to work fine nowChuck Miller3-6/+8
2009-07-06More Skill fixes, this time for getModifiedAttributeChuck Miller2-2/+21
2009-07-04Fix where some basic attrs are treated like skillsChuck Miller1-1/+1
2009-07-03Helps fix one issue with skill levelsChuck Miller2-1/+11
It seems players skill random get a lot of exp in random, unused skill IDs
2009-07-03Makes Skills non hard codedChuck Miller13-136/+93
It should be noted that Jax still needs to update the client Level calulation seems broken now too
2009-07-01Remove a stray comment.Roderic Morris1-2/+0
2009-07-01Remove complex path finding for players. Add a simple path finding algorithm ↵Roderic Morris6-5/+88
to map.
2009-06-30Send a word over a byte for skill expChuck Miller2-2/+2
2009-05-29Fixes crashes that sometimes happens when allocate and deallocating from map ↵Chuck Miller1-29/+29
buckets