summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)AuthorFilesLines
2009-12-06Removed "TMW" and "TMWSERV" from header guardsThorbjørn Lindeijer80-192/+192
2009-12-06Fixed crash when an invalid status effect is requestedThorbjørn Lindeijer3-11/+18
Log an error instead.
2009-12-06A host of code style changesThorbjørn Lindeijer24-406/+214
Removed pointless void in method parameter lists, fixed methods and variables that started with upper case, removed pointless 'const' for stuff passed by value, made some getters const, etc.
2009-12-06Moved rectangle intersection to the Rectangle classThorbjørn Lindeijer6-75/+63
Also a bit of pointless cleanup in the math utils.
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-06Made the Being timer accessors constThorbjørn Lindeijer2-20/+25
2009-12-05Fixed a bug which prevented monsters from attackingPhilipp Sehmisch1-1/+0
2009-12-05(refactoring) Replaced various differen tick counting constructs in the ↵Philipp Sehmisch4-42/+86
being classes with a common timer infrastructure
2009-12-04Added server-sided SHA256 encryption of passwords as discussed.Philipp Sehmisch1-8/+4
2009-12-04Moved password hashing during registration to the client.Philipp Sehmisch1-3/+3
2009-12-04register credential information service and basic code structure for captcha ↵Philipp Sehmisch2-10/+50
support
2009-11-05Fix handeling of GameServer portJared Adams3-8/+11
2009-10-26Added optional optimal level mechanic which reduces exp gain of certain ↵Philipp Sehmisch6-9/+32
sources after a certain skill level.
2009-10-24Rebranding tmwserv to manaservThorbjørn Lindeijer14-315/+435
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-18Some random cleanupsThorbjørn Lindeijer8-9/+7
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