summaryrefslogtreecommitdiffstats
path: root/src/main.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond2006-12-291-395/+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.
* Simplified item status effect implementation. Made it all work, and filled ↵Yohann Ferreira2006-10-201-3/+1
| | | | items.xml with about 100 items. To come: maxPerSlot and weaponType parameters.
* Added a backend to get item reference information. The xml file isn't ready yet.Yohann Ferreira2006-10-191-16/+31
|
* Generalized the properties functionality as was done in the client before.Bjørn Lindeijer2006-08-041-17/+16
| | | | | | | Removed some more remaining usages of tmwserv namespace. Added some documentation and de-complicized the code a bit. Removed checks for SDL and SDL_net.
* Some messing about towards making cleaner code.Bjørn Lindeijer2006-08-011-7/+6
|
* First step toward a restructured class hierarchy for world actors: addGuillaume Melquiond2006-07-271-5/+5
| | | | | | MovingObject and Player classes.
* Started handling beings on maps.Guillaume Melquiond2006-06-171-2/+6
|
* Split server into three logical servers: an account server, a chat Guillaume Melquiond2006-05-231-41/+13
| | | | | server, and a game server.
* Changed ConnectionHandler and NetComputer into low-level base classes; Guillaume Melquiond2006-05-201-16/+16
| | | | | | | they are overloaded by client-aware classes. Forced statement syntax for loggers.
* Switched to a monothreaded server. Fixed segfaults after disconnect. Guillaume Melquiond2006-05-191-61/+9
| | | | | Removed netsession.
* Applied a patch by Guillaume that makes the server sleep between ticks insteadBjørn Lindeijer2006-05-141-8/+4
| | | | | | of polling for the next one. Somebody will need to verify that this works for on Dev-C++ as well.
* Applied another patch by Guillaume Melquiond which fixed a number of issuesBjørn Lindeijer2006-05-141-3/+3
| | | | | with the message implementation (client side should also be checked).
* only yield main thread when there isn't anything to do.Philipp Sehmisch2006-05-031-5/+5
|
* removed the last remains of SDLPhilipp Sehmisch2006-04-301-16/+0
|
* fixed some problems of the timer classPhilipp Sehmisch2006-04-301-2/+10
|
* replaced SDL timing with a self written timer class.Philipp Sehmisch2006-04-301-48/+22
|
* Merged enet_switch changes r2268:2309 into the trunk.Eugenio Favalli2006-04-281-11/+68
|
* Chat Channeling Commit part 4. Renamed the slang filter into StringFilter ↵Yohann Ferreira2006-01-241-4/+4
| | | | and moved some code to it. Added the missing protocol values, and implemented registering/registering of channels; More to come about it.
* Chat channeling commit part 3. Is now linked with the connection handler to ↵Yohann Ferreira2006-01-201-1/+8
| | | | chat in a specific channel. Also made some fixes on the chat channeling.
* Some insignificant changes to usage of the const keyword.Bjørn Lindeijer2006-01-181-0/+1
|
* Made minimum client version and default map id configurable, set/getMapId ↵Eugenio Favalli2006-01-131-4/+3
| | | | are now preferred.
* Fixed default map definition for a new created character, enabled loading of ↵Eugenio Favalli2006-01-121-6/+0
| | | | map when a character is on it, fixed inconsistency in getter/setter for map id.
* Added customization of created character. (That makes previously created db ↵Yohann Ferreira2006-01-081-3/+3
| | | | 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.
* Added a standard version check.Yohann Ferreira2006-01-051-1/+3
|
* Implemented server response handling to the test client. Fixed a bug that ↵Yohann Ferreira2006-01-041-4/+7
| | | | 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.
* Adding the possibility to change Email, and password. Turned Slangs Filter ↵Yohann Ferreira2005-12-311-25/+53
| | | | into a class. Use some ifdefs for future configure options handling. Still has to update the client. (It isn't compiled fully with make; Removing makeclient.sh was not a good idea, maybe.)
* Adding changes thought by Elven and an option for setting the port to listen ↵Yohann Ferreira2005-12-291-11/+32
| | | | on at startup.
* Incorporate running without X server in the server executable.Bjørn Lindeijer2005-12-291-0/+3
|
* * Added errors when SDL_net or libcrypto are not found.Bjørn Lindeijer2005-12-291-0/+3
| | | | | | | | * Reset SEGV signal handling after SDL initialisation to allow cores to be dumped. * Added script that perpetually runs the server and automatically saves a backtrace and restarts when it crashes.
* Applied patch by r0nny that makes main.cpp a bit nicer.Bjørn Lindeijer2005-12-291-13/+20
|
* Implemented common chat handling, except for chatting in channels. Also the ↵Yohann Ferreira2005-12-271-25/+27
| | | | Channel registering/unregistering isn't there yet and the commands needs to be implemented. Added a small slangs filter to reduce bad words in account names and in conversations a little.
* Removed an obsolete check, suggested by r0nny.Bjørn Lindeijer2005-12-261-3/+9
|
* Better if help cleanups when exitting ...Yohann Ferreira2005-12-201-0/+1
|
* Adding command line argument parsing and log verbosity level handling.Yohann Ferreira2005-12-201-20/+74
|
* Added a map manager to load/unload/relod maps.Eugenio Favalli2005-12-181-10/+19
|
* Use setCharacter() and unsetcharacter() to deal with addBeing() and ↵Yohann Ferreira2005-12-121-0/+1
| | | | removeBeing() in the world (which are buggy). Add check when character's name already exists. Added Character list packet support.
* Added logout and character deletion support. Changed the response code as ↵Yohann Ferreira2005-12-111-0/+2
| | | | trying to login when already logged in.
* Added unregistering, checking on character's name and email length support. ↵Yohann Ferreira2005-12-111-0/+1
| | | | Also made some little tweaks. I'll start to think about a --verbose mode after adding logout and character deletion support.
* Enabled registering under SQLite by reopening th db in the accounthandler. ↵Yohann Ferreira2005-12-021-1/+1
| | | | Should work the same way with the other handlers when inserting removing, altering in the database.
* Added intial SWIG bindings.Aaron Marks2005-11-141-43/+54
|
* Updates to Being, test client, game handler and small update to state update.Aaron Marks2005-11-101-1/+1
|
* Added more infos at startup.Yohann Ferreira2005-10-241-2/+22
|
* Grammar Corrections, and a little bit of work on getting the name of the Db.Yohann Ferreira2005-10-231-3/+3
|
* Added beginnings of game core logic and state.Aaron Marks2005-07-311-12/+6
| | | | | | Fixed a few problems with SQL queries using different SQL DB backends. I forget everything else.
* Added shell for GameHandler (core game message handler).Aaron Marks2005-07-261-1/+15
| | | | | | Updated PostgreSQL tables -- now another unknown error results after various operations. Updated Item class (now inherits from Object).
* Added character selection.Aaron Marks2005-07-241-0/+1
|
* Added character creation.Aaron Marks2005-07-191-0/+1
|
* Updated server->client communications.Aaron Marks2005-07-181-3/+0
|
* Added server->client communications.Aaron Marks2005-07-171-0/+2
| | | | | Updated MessageHandler's to use short for message type.
* Workaround to let tmwserv work in windowsEugenio Favalli2005-07-161-2/+5
|