summaryrefslogtreecommitdiff
path: root/src/netcomputer.cpp
AgeCommit message (Collapse)AuthorFilesLines
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond1-97/+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-08-26Applied patch by Rogier, adding a stream operator to NetComputer for logging ↵Bjørn Lindeijer1-3/+13
purposes.
2006-08-25Applied patch by Rogier, addressing TODOs in MessageOut and NetComputer.Bjørn Lindeijer1-20/+46
2006-08-20Some code format changes, logging improvals and commenting.Bjørn Lindeijer1-1/+2
2006-08-14Removed Packet class and the UNKNOWN gender.Bjørn Lindeijer1-4/+4
2006-08-13Log sending of messages and include more verbose messages for runserv.sh.Bjørn Lindeijer1-0/+4
2006-08-10Removed ConnectionHandler::forceDisconnect method and implemented part of theBjørn Lindeijer1-5/+10
NetComputer::disconnect method instead. Makes NetComputer::getPeer unnecessary.
2006-07-31Fixed registering for the test client (send version as integer) and correctedBjørn Lindeijer1-2/+1
the off by one packed size.
2006-05-23Split server into three logical servers: an account server, a chat Guillaume Melquiond1-44/+0
server, and a game server.
2006-05-20Changed ConnectionHandler and NetComputer into low-level base classes; Guillaume Melquiond1-12/+17
they are overloaded by client-aware classes. Forced statement syntax for loggers.
2006-04-28Merged enet_switch changes r2268:2309 into the trunk.Eugenio Favalli1-3/+9
2006-03-06Cleaned up unnecessary header dependencies and fixed some indentations.Björn Steinbrink1-0/+2
2006-01-20Chat channeling commit part 3. Is now linked with the connection handler to ↵Yohann Ferreira1-12/+12
chat in a specific channel. Also made some fixes on the chat channeling.
2006-01-13Made minimum client version and default map id configurable, set/getMapId ↵Eugenio Favalli1-1/+1
are now preferred.
2006-01-12Fixed default map definition for a new created character, enabled loading of ↵Eugenio Favalli1-1/+1
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-1/+1
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.
2005-12-18Made use of AccountPtr instead of Account*.Yohann Ferreira1-12/+13
2005-12-18Made the handlers use the countedPtr for Beings as they should. Fixed a ↵Yohann Ferreira1-6/+6
segfault when removing a being from the world.
2005-12-12Use setCharacter() and unsetcharacter() to deal with addBeing() and ↵Yohann Ferreira1-0/+23
removeBeing() in the world (which are buggy). Add check when character's name already exists. Added Character list packet support.
2005-07-24Added character selection.Aaron Marks1-1/+7
2005-07-19Added character creation.Aaron Marks1-1/+7
2005-07-18Updated server->client communications.Aaron Marks1-21/+4
2005-07-17Added server->client communications.Aaron Marks1-1/+29
Updated MessageHandler's to use short for message type.
2005-04-18Server now succesfully listens for connections, accepts them, receives someBjørn Lindeijer1-0/+11
data in a crude way and cleans up connection on client disconnect.
2005-03-16Added preliminary interfaces for NetSession, NetComputer, ConnectionHandlerBjørn Lindeijer1-0/+25
and MessageHandler.