Valve server plugin, unlock the max players limit and tickrate limit on L4D2. Make sure you have deleted the other versions of l4dtoolz and tickrate_enabler before using.
-tickrate
: Command Line Options, Set the game's tickrate. default value is 30.-maxplayers
: Command Line Options, Set the maxplayers (bot and human players), default value is 31.sv_maxplayers
: Console Variables, Set the max human players allowed to join the server. when the lobby is full, you still need to remove the lobby reservation and setsv_allow_lobby_connect_only 0
sv_lobby_unreserve
: Console Commands, Set lobby reservation cookie to 0.
## Debian as an example.
apt update && apt install -y clang g++-multilib wget git make
export CC=clang && export CXX=clang++
wget https://xmake.io/shget.text -O - | bash
mkdir temp && cd temp
git clone --depth=1 -b l4d2 --recurse-submodules https://github.com/alliedmodders/hl2sdk hl2sdk-l4d2
git clone --depth=1 https://github.com/fdxx/l4dtoolz
cd l4dtoolz
xmake f --HL2SDKPATH=../hl2sdk-l4d2
xmake -rv l4dtoolz
## Check the l4dtoolz/release folder.
- l4d2_tick_network_tweaks : Tweaks server related network parameters to cooperate high tickrate.
- l4d2_lobby_match_manager : Auto unreserve when lobby full. and other lobby reservation related modifications.
- Original
l4dtoolz
plugin and other forked versions - Original
tickrate_enabler
plugin and other forked versions - AlliedModders
- SourceScramble