summaryrefslogtreecommitdiff
AgeCommit message (Collapse)AuthorFilesLines
2008-12-01Added new table to store online users. See mantis #553Andreas Habel13-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.
2008-12-01Added some more files to the .gitignore file.Andreas Habel1-0/+15
2008-11-30Add sync Buffer according to mantis #550Andreas Habel11-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...
2008-11-29Updated Makefile.am and added missing includeBjørn Lindeijer2-0/+4
2008-11-27Fixed bug found by b_lindeijerDavid Athay1-2/+3
2008-11-26Allows the damage struct to carry more then one used skillChuck Miller4-10/+13
2008-11-26Converted some DOS newlines to UNIXBjørn Lindeijer1-61/+61
2008-11-25Separated out the handlers for guild and partyDavid Athay5-500/+580
2008-11-24Fixed character party information on game server.David Athay2-3/+3
2008-11-24Fix crash where player is removed before hes left the partyDavid Athay1-3/+5
2008-11-24Updated codeblocks projectDavid Athay2-0/+5
2008-11-24Stop players inviting themselves to partyDavid Athay1-0/+4
2008-11-24Change leader if leader leaves guild.David Athay1-0/+7
2008-11-22Refuse to spawn dead monstersBjørn Lindeijer5-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.
2008-11-21Fix linker errors with tmwserv-gameBjørn Lindeijer1-0/+2
Added bandwidth.{hpp,cpp} to Makefile.am
2008-11-21Added bandwidth monitor to account server. Fixes compile errors.David Athay4-2/+11
2008-11-20Merge branch 'master' of git@gitorious.org:tmwserv/mainlinePhilipp Sehmisch12-191/+196
2008-11-20Changed @level to @setgroupDavid Athay1-5/+5
2008-11-20Changed from Access Levels to Command Groups for @ commandsDavid Athay2-53/+112
2008-11-20Added rectangular attack zones which are faster and simpler than cone-shaped ↵Philipp Sehmisch6-12/+98
ones and sufficient for most situations.
2008-11-20Made Bandwidth Monitor GlobalDavid Athay10-135/+81
2008-11-19Added bandwidth monitoringDavid Athay12-10/+225
2008-11-18Fixed spellingDavid Athay1-1/+1
2008-11-18Fixed a bug in tmw_world_states table script reported by YellowShadow. ↵Andreas Habel1-1/+1
Modified column value to be nullable according to the sqlite table specification.
2008-11-16Added new maps to the maps.xml fileBjørn Lindeijer1-0/+6
2008-11-16Removed the binary sqlite3 databaseBjørn Lindeijer1-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
2008-11-16Repaired Lua check breakage in previous commitBjørn Lindeijer1-3/+3
2008-11-16Added a raw check for liblua 5.1 to configureBjørn Lindeijer1-2/+4
For when pkg-config files aren't available. They most often are not when Lua was installed manually, not sure if they come with the Lua distribution at all.
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer149-307/+1
2008-11-16Ignore generated filesBjørn Lindeijer1-0/+23
2008-11-15Properly handle exceptions when opening databaseBjørn Lindeijer2-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.
2008-11-14Added check for database version on startup of Accountserver.Andreas Habel5-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.
2008-11-11Fixed crash when a script can't be found. No idea why this could happen though.Bjørn Lindeijer2-24/+35
2008-11-11Removed some DOS newlines from mixed filesBjørn Lindeijer3-91/+91
2008-11-06Added table tmw_item_instances and tmw_item_attributes for mySQL and SQLite ↵Andreas Habel3-48/+96
as preparation for unique item attributes. Fixed some formatting issues in mySQL Script.
2008-11-06Forgot the data files, sorryDavid Athay2-2/+21
2008-11-06Added sending post via NPC.David Athay5-16/+38
2008-11-06Added convenience wrappers for pushing various STL containers as tables to ↵Philipp Sehmisch3-2/+174
lua scripts.
2008-11-05Use a string util for converting strings toDavid Athay4-54/+33
integers, as per Bjorns suggestion.
2008-11-05Fixed reusage of ostringstream. Now calling clear() before str("") to reset ↵Andreas Habel1-0/+9
stream state.
2008-11-05Fix integer arguments randomly failing due to stream flags not being ↵Dennis Friis2-28/+33
cleared. To reuse a stream you must do stream.clear(); stream.str(string); for it to work.
2008-11-05Splitting image name and dye string of items while synchronizing local ↵Andreas Habel1-2/+11
database from items.xml
2008-11-05* Account server now loads item database on startup and synchronizes ↵Andreas Habel7-17/+112
tmw_items table in the database. * Added method to DataProvider to escape quotes in strings so that they can be used in SQL statements.
2008-11-05Added version information to item database. Gameserver reports its local ↵Andreas Habel8-3/+148
version to account server during registration and gets notified if the version is up-to-date or outdated to prevent inconsistencies.
2008-11-04Forgot to save the files before committing, sorry.David Athay2-5/+6
2008-11-04Added updating party member health.David Athay5-1/+35
2008-11-04Added notifiying party members when a player joins or leaves the party.David Athay4-0/+65
2008-11-03Fixed command handler.David Athay2-5/+14
2008-11-03fixed the date in the ChangeLogAndreas Habel1-1/+1
2008-11-03Added tables and statements to store and retrieve letters. Attachments not ↵Andreas Habel9-10/+258
functional as long as items not stored as individual items.