summaryrefslogtreecommitdiff
path: root/src/main.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond1-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.
2006-10-20Simplified item status effect implementation. Made it all work, and filled ↵Yohann Ferreira1-3/+1
items.xml with about 100 items. To come: maxPerSlot and weaponType parameters.
2006-10-19Added a backend to get item reference information. The xml file isn't ready yet.Yohann Ferreira1-16/+31
2006-08-04Generalized the properties functionality as was done in the client before.Bjørn Lindeijer1-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.
2006-08-01Some messing about towards making cleaner code.Bjørn Lindeijer1-7/+6
2006-07-27First step toward a restructured class hierarchy for world actors: addGuillaume Melquiond1-5/+5
MovingObject and Player classes.
2006-06-17Started handling beings on maps.Guillaume Melquiond1-2/+6
2006-05-23Split server into three logical servers: an account server, a chat Guillaume Melquiond1-41/+13
server, and a game server.
2006-05-20Changed ConnectionHandler and NetComputer into low-level base classes; Guillaume Melquiond1-16/+16
they are overloaded by client-aware classes. Forced statement syntax for loggers.
2006-05-19Switched to a monothreaded server. Fixed segfaults after disconnect. Guillaume Melquiond1-61/+9
Removed netsession.
2006-05-14Applied a patch by Guillaume that makes the server sleep between ticks insteadBjørn Lindeijer1-8/+4
of polling for the next one. Somebody will need to verify that this works for on Dev-C++ as well.
2006-05-14Applied another patch by Guillaume Melquiond which fixed a number of issuesBjørn Lindeijer1-3/+3
with the message implementation (client side should also be checked).
2006-05-03only yield main thread when there isn't anything to do.Philipp Sehmisch1-5/+5
2006-04-30removed the last remains of SDLPhilipp Sehmisch1-16/+0
2006-04-30fixed some problems of the timer classPhilipp Sehmisch1-2/+10
2006-04-30replaced SDL timing with a self written timer class.Philipp Sehmisch1-48/+22
2006-04-28Merged enet_switch changes r2268:2309 into the trunk.Eugenio Favalli1-11/+68
2006-01-24Chat Channeling Commit part 4. Renamed the slang filter into StringFilter ↵Yohann Ferreira1-4/+4
and moved some code to it. Added the missing protocol values, and implemented registering/registering of channels; More to come about it.
2006-01-20Chat channeling commit part 3. Is now linked with the connection handler to ↵Yohann Ferreira1-1/+8
chat in a specific channel. Also made some fixes on the chat channeling.
2006-01-18Some insignificant changes to usage of the const keyword.Bjørn Lindeijer1-0/+1
2006-01-13Made minimum client version and default map id configurable, set/getMapId ↵Eugenio Favalli1-4/+3
are now preferred.
2006-01-12Fixed default map definition for a new created character, enabled loading of ↵Eugenio Favalli1-6/+0
map when a character is on it, fixed inconsistency in getter/setter for map id.
2006-01-08Added customization of created character. (That makes previously created db ↵Yohann Ferreira1-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.
2006-01-05Added a standard version check.Yohann Ferreira1-1/+3
2006-01-04Implemented server response handling to the test client. Fixed a bug that ↵Yohann Ferreira1-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.
2005-12-31Adding the possibility to change Email, and password. Turned Slangs Filter ↵Yohann Ferreira1-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.)
2005-12-29Adding changes thought by Elven and an option for setting the port to listen ↵Yohann Ferreira1-11/+32
on at startup.
2005-12-29Incorporate running without X server in the server executable.Bjørn Lindeijer1-0/+3
2005-12-29* Added errors when SDL_net or libcrypto are not found.Bjørn Lindeijer1-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.
2005-12-29Applied patch by r0nny that makes main.cpp a bit nicer.Bjørn Lindeijer1-13/+20
2005-12-27Implemented common chat handling, except for chatting in channels. Also the ↵Yohann Ferreira1-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.
2005-12-26Removed an obsolete check, suggested by r0nny.Bjørn Lindeijer1-3/+9
2005-12-20Better if help cleanups when exitting ...Yohann Ferreira1-0/+1
2005-12-20Adding command line argument parsing and log verbosity level handling.Yohann Ferreira1-20/+74
2005-12-18Added a map manager to load/unload/relod maps.Eugenio Favalli1-10/+19
2005-12-12Use setCharacter() and unsetcharacter() to deal with addBeing() and ↵Yohann Ferreira1-0/+1
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-0/+2
trying to login when already logged in.
2005-12-11Added unregistering, checking on character's name and email length support. ↵Yohann Ferreira1-0/+1
Also made some little tweaks. I'll start to think about a --verbose mode after adding logout and character deletion support.
2005-12-02Enabled registering under SQLite by reopening th db in the accounthandler. ↵Yohann Ferreira1-1/+1
Should work the same way with the other handlers when inserting removing, altering in the database.
2005-11-14Added intial SWIG bindings.Aaron Marks1-43/+54
2005-11-10Updates to Being, test client, game handler and small update to state update.Aaron Marks1-1/+1
2005-10-24Added more infos at startup.Yohann Ferreira1-2/+22
2005-10-23Grammar Corrections, and a little bit of work on getting the name of the Db.Yohann Ferreira1-3/+3
2005-07-31Added beginnings of game core logic and state.Aaron Marks1-12/+6
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-1/+15
Updated PostgreSQL tables -- now another unknown error results after various operations. Updated Item class (now inherits from Object).
2005-07-24Added character selection.Aaron Marks1-0/+1
2005-07-19Added character creation.Aaron Marks1-0/+1
2005-07-18Updated server->client communications.Aaron Marks1-3/+0
2005-07-17Added server->client communications.Aaron Marks1-0/+2
Updated MessageHandler's to use short for message type.
2005-07-16Workaround to let tmwserv work in windowsEugenio Favalli1-2/+5