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