- Collect synced packets to send within 1 second (cSendEmptyPacketTime) into buffer which is flushed each second.
- Send empty packet only if there was no other synced message within last second.
This should reduce traffic load: less bytes and less packets (less packets is very good for the server too).
To compile and install you need: - CMake >= 2.6.0 - FreePascal >= 2.2.0 - Qt >= 4.5.0 - SDL >= 1.2.5 - SDL_net >= 1.2.5 - SDL_mixer >= 1.2 - SDL_image >= 1.2 - SDL_ttf >= 2.0 - Lua >= 5.1.0 - Physfs >= 2.1For server: - Glasgow Haskell Compiler >= 6.10 - bytestring-show package - dataenc package - hslogger packageFor videorecording: - FFmpeg or LibAV - GLUT (when SDL < 2)For compressed screenshots: - libpngLua will be automatically built if not found.1. Configure:$ cmake .or$ cmake -DCMAKE_BUILD_TYPE="Release" -DCMAKE_INSTALL_PREFIX="install_prefix" \-DDATA_INSTALL_DIR="data_dir" -DNOSERVER=1 .Add -DNOSERVER=0 to compile net server (remember to check out the additionaldependencies with the hedgewars-server.cabal configuration file. If you haveQt installed but it is not found, you can set it up with-DQT_QMAKE_EXECUTABLE="path_to_qmake".To get a glimpse of the main configuration options, you may use this command`cat CMakeLists.txt | grep option`2. Compile:$ make3. Install:# make installThat's all! Enjoy!