summaryrefslogtreecommitdiff
path: root/src/dalstorage.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond1-780/+0
chat + database) and multiple tmwserv-game programs (selected with respect to the maps). Cleaned the repository by moving server-specific source files into dedicated directories.
2006-10-19Added a backend to get item reference information. The xml file isn't ready yet.Yohann Ferreira1-13/+13
2006-09-02Simplified server algorithm for moving objects; it now matches the one in ↵Guillaume Melquiond1-6/+7
the client.
2006-09-02Decorrelated moving object IDs from character database IDs. Switched to ↵Guillaume Melquiond1-4/+5
short IDs instead.
2006-08-27Introduced Point class to replace the confusing and clumsy usage of std::pair.Bjørn Lindeijer1-2/+3
2006-08-20Some code format changes, logging improvals and commenting.Bjørn Lindeijer1-7/+6
2006-08-19Renamed Genders to Gender and AccountLevels to AccountLevel.Bjørn Lindeijer1-1/+1
2006-08-13Changed character list to a sequence of packets and fixed a db issue.Eugenio Favalli1-2/+8
2006-08-04Strengthened checks for already existing character name or email address.Guillaume Melquiond1-49/+24
2006-08-04Added unique ID to Player class.Guillaume Melquiond1-11/+13
2006-08-03Simplified and sped up account flushing: only modified accounts are flushed.Guillaume Melquiond1-299/+77
2006-07-27First step toward a restructured class hierarchy for world actors: addGuillaume Melquiond1-69/+43
MovingObject and Player classes.
2006-05-20Changed ConnectionHandler and NetComputer into low-level base classes; Guillaume Melquiond1-10/+10
they are overloaded by client-aware classes. Forced statement syntax for loggers.
2006-05-13Applied patch by Guillaume Melquiond which adds ENet check and adds timer.cpp/hBjørn Lindeijer1-5/+5
to the Makefile.am. Also fixed some compilation warnings.
2006-03-06Cleaned up unnecessary header dependencies and fixed some indentations.Björn Steinbrink1-2/+5
2006-01-21Corrected a mistake. and made a simple way to avoid crashing sql queries. ↵Yohann Ferreira1-33/+32
Need to see how we could improve it.
2006-01-21Very little corrections.Yohann Ferreira1-6/+2
2006-01-20Chat channeling commit part 3. Is now linked with the connection handler to ↵Yohann Ferreira1-16/+28
chat in a specific channel. Also made some fixes on the chat channeling.
2006-01-18Chat channeling commit part 2.Yohann Ferreira1-12/+22
2006-01-15Chat channeling commit part 1. Useful to get feedback before committing ↵Yohann Ferreira1-2/+85
what's next
2006-01-14Sever returns infos about position of the selected character (map name, ↵Eugenio Favalli1-3/+4
coordinates).
2006-01-13Made minimum client version and default map id configurable, set/getMapId ↵Eugenio Favalli1-7/+8
are now preferred.
2006-01-12Fixed default map definition for a new created character, enabled loading of ↵Eugenio Favalli1-5/+5
map when a character is on it, fixed inconsistency in getter/setter for map id.
2006-01-09Fixed some sql query issuesEugenio Favalli1-7/+8
2006-01-08Added customization of created character. (That makes previously created db ↵Yohann Ferreira1-32/+70
invalid.) Made list of map indexed by map id, instead of map name. This will prevent unsyncing of player's current map when changing a map name. Remember you have now to add a map filename into db before being able to load it. (Default map id is 1, not ZERO, as zero is the not found return value.
2006-01-04Implemented server response handling to the test client. Fixed a bug that ↵Yohann Ferreira1-12/+6
made the Email change not possible. Changed some protocol value to have a litte neater client code. Added FreeBSD fix idea from icy to server code.
2005-12-29Fixing a bug in the Storage::getAccount() function that made the server ↵Yohann Ferreira1-5/+6
crash when the first login had a bad password.
2005-12-28Integrated the building of tmwclient with the default make command, asBjørn Lindeijer1-38/+36
contributed by r0nny.
2005-12-20Adding command line argument parsing and log verbosity level handling.Yohann Ferreira1-10/+10
2005-12-12Use setCharacter() and unsetcharacter() to deal with addBeing() and ↵Yohann Ferreira1-0/+43
removeBeing() in the world (which are buggy). Add check when character's name already exists. Added Character list packet support.
2005-12-11Added logout and character deletion support. Changed the response code as ↵Yohann Ferreira1-1/+60
trying to login when already logged in.
2005-12-09Fixed the bug where the mapInfo Recordset erased the values of charInfo ↵Yohann Ferreira1-16/+31
because there can be only one RecordSet at a time.
2005-12-09Should correct the character's loading at login. Also made the server be ↵Yohann Ferreira1-3/+7
more verbose about characters.
2005-12-07Improved the getEmailList() function again using an optimized SQL Query.Yohann Ferreira1-0/+44
2005-12-06Improved the getEmailList() function. Now the file used as db or the db name ↵Yohann Ferreira1-2/+13
is shown in log. Added some missing messages and values for them. Login, pass min, max length can be changed there now. Added check and appropriate response when selecting, creating a character.
2005-12-05Made the getEmailList() work. Now the accounthandler tests if the mail ↵Yohann Ferreira1-9/+25
already exists.
2005-12-05Strengthened the way email addresses are checked. Added a good response when ↵Yohann Ferreira1-1/+18
selecting a char when not logged. Committed a getEmailList function to see what's wrong.
2005-12-03Handling good conditions to register. Still lacks checking if the Email ↵Yohann Ferreira1-4/+16
already exists. Fixed a bug that throwed an exception when logging with an account that had no mapInfo yet. Still has to set these to defaults in such case.
2005-11-21Did some initial work for map loading & adding beings to game world.Aaron Marks1-1/+9
2005-08-04Added basic inventory (not fully functional)Aaron Marks1-1/+1
Extended GameHandler Extended protocol Fixed problem with SQL query
2005-07-31Added beginnings of game core logic and state.Aaron Marks1-4/+12
Fixed a few problems with SQL queries using different SQL DB backends. I forget everything else.
2005-07-26Added shell for GameHandler (core game message handler).Aaron Marks1-4/+9
Updated PostgreSQL tables -- now another unknown error results after various operations. Updated Item class (now inherits from Object).
2005-07-16Removed a lot of tabs used for indenting (please don't do that...), redidBjørn Lindeijer1-2/+1
MessageOut a bit so that it uses SDL_net, writes strings correctly and doesn't rely on Packet to be expandable. Also specified message IDs explicitly.
2005-07-12Fixed problem with PostgreSQL support (variable was undefined).Aaron Marks1-1/+4
Added client/server message type enumerations. Enabled message handling in ConnectionHandler.
2005-07-01Fixed compilation warning and code cleanup.Huynh Tran1-24/+7
2005-07-01Fixed incorrect deletion in a map.Huynh Tran1-3/+3
2005-06-30Fixed memory leak, implemented delAccount() + unit tests and now using ↵Huynh Tran1-48/+40
reference-counted smart pointers to facilitate the memory management.
2005-06-29Fixed memory leak and set conditional stats updates.Huynh Tran1-2/+7
2005-06-29Fixed bugs, added new accessors and mutators to Object and Being, sync'd the ↵Huynh Tran1-26/+87
rest of the code to take into account the changes.
2005-06-28Fixed bugs and added new unit tests.Huynh Tran1-11/+42