This plugin adds back some essential patches from CS2Fixes that are useful for surf servers.
- Minimizes rampbugs
- trigger_push fix
- Reverts trigger_push behaviour to that seen in CS:GO
- Water fix
- Fixes being stuck to the floor underwater, allowing players to swim up
- Navmesh lookup lag fix
- Some maps with built navmeshes would cause tremendous lag
This plugin isn't perfect and rampbugs will continue to occur until Valve decides to finally fix them.
Fixes taken from:
- Install Metamod
- Download the latest release package for your OS
- Extract the package contents into
game/csgoon your server
A guide on how to compile CS2-SurfFixes for Linux using VSCode and WSL.
ALL PATHS ARE ASSUMED FOR EVERYTHING BEING PLACED IN THE /ROOT DIRECTORY
mkdir alliedmodders
cd alliedmodderssudo apt update
sudo apt install python3-pip
sudo apt-get install clang
# make sure we can use pip installed packages anywhere
echo "export PATH=\"$HOME/.local/bin:$PATH\"" >> ~/.bashrc
. ~/.bashrcgit clone https://github.com/alliedmodders/ambuild
pip install ./ambuild
# In case of an error try
# cd ambuild && python setup.py install && cd ..mkdir hl2sdk-root
git clone --branch cs2 https://github.com/alliedmodders/hl2sdk/ hl2sdk-root/hl2sdk-cs2
cd hl2sdk-root/hl2sdk-cs2
git checkout 74ea9343746475b148f5f53679516dc9cd2b336b
git clone https://github.com/alliedmodders/metamod-source --recursive
cd metamod-source
echo "export HL2SDKCS2=/root/alliedmodders/hl2sdk-root/hl2sdk-cs2" >> ~/.bashrc
echo "export MMSOURCE112=/root/alliedmodders/metamod-source/" >> ~/.bashrc
. ~/.bashrcgit clone https://github.com/Fallen-Networks/CS2-SurfFixes && cd CS2-SurfFixes
git submodule update --init --recursive
mkdir build && cd build
python3 ../configure.py --enable-optimize --sdks cs2
ambuildCopy the contents of package/ to your server's csgo/ directory.