summaryrefslogtreecommitdiff
path: root/src/net/connectionhandler.cpp
AgeCommit message (Collapse)AuthorFilesLines
2013-04-27Use nullptr instead of NULL everywhereErik Schilling1-1/+1
2013-01-09Replaced 'unsigned int' with 'unsigned'Thorbjørn Lindeijer1-1/+1
Same thing, but shorter.
2012-05-05Added debugging mode to the protocolThorbjørn Lindeijer1-3/+3
Allows inspection of message data. It is off by default since it consumes additional bandwidth, but it can be turned on using the net_debugMode option in manaserv.xml. Currently the option only affects outgoing data for each host individually. In particular, enabling this debug mode for the server does not automatically make the client annotate its messages. Reviewed-by: Erik Schilling
2010-11-14Renamed .hpp files into .h for consistency.Yohann Ferreira1-6/+6
Also added an header to the autoattack.{h,cpp} files. Big but trivial fix.
2010-08-13Fix enet check macros.Freeyorp1-1/+1
Not a good idea to have #if checks in a #ifdef check. Trivial fix.
2010-08-09Fix enet version checkJared Adams1-1/+7
Reviewed-by: Chuck Miller
2010-08-02Fix enet version checkJared Adams1-4/+2
Tested-by: BaseBallBoy
2010-08-02Add support for enet 1.3Jared Adams1-0/+11
Reviewed-by: Yohann Ferreira
2010-02-07Update Copyright date for Manaserv.Bertram1-1/+1
2009-12-06Fixed name of the project in copyright headersThorbjørn Lindeijer1-13/+13
Also updated the headers to refer to the GPL by URL instead of suggesting to contact the FSF by snail mail, as per the latest GPL usage instructions.
2009-10-18Some random cleanupsThorbjørn Lindeijer1-1/+1
2009-10-09Synced the protocol file with client in protocol.h, letting other defines in ↵Bertram1-1/+0
defines.h, and removing some overheading along the way.
2009-05-24Made it possible to specify the host to listen onBjørn Lindeijer1-2/+6
Needed when the server has multiple network interfaces and the one you want to use isn't the default one for localhost. The host to listen on can be set in config file with 'net_listenHost'.
2009-02-24Made a lot of hard-coded values configuration optionsPhilipp Sehmisch1-1/+2
2008-11-20Made Bandwidth Monitor GlobalDavid Athay1-1/+2
2008-11-19Added bandwidth monitoringDavid Athay1-0/+2
2008-11-16Got rid of CVS/Subversion $Id$ markersBjørn Lindeijer1-2/+0
2008-04-20Fixed some compiler errors/warnings.Bjørn Lindeijer1-2/+6
2007-10-27Made it compile with GCC 4.3Guillaume Melquiond1-1/+4
2007-08-09Removed useless references to script header.Guillaume Melquiond1-13/+0
2007-03-31Moved writing of incoming messages into MessageIn and tweaked the printing ofBjørn Lindeijer1-6/+6
the message ID.
2007-03-11Added a utils::processor namespace and a function to determine if, the ↵Rogier Polak1-17/+4
processor the program is running on, is little-endian or big-endian.
2007-01-06Removed world timer usage from account server, instead letting ENet wait duringBjørn Lindeijer1-2/+2
each host service to reduce CPU usage. Modified timer code to gracefully handle jumps back in time.
2007-01-05Simplified handling of verbosity levels. Optimized code by generating only ↵Guillaume Melquiond1-8/+9
needed messages.
2006-12-29Physically split the server into one tmwserv-acount program (account +Guillaume Melquiond1-0/+166
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.