Skip to content

Fallen-Networks/CS2-SurfFixes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

CSS-CS2Fixes

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:

Installation

Compilation

A guide on how to compile CS2-SurfFixes for Linux using VSCode and WSL.

Prerequisites

ALL PATHS ARE ASSUMED FOR EVERYTHING BEING PLACED IN THE /ROOT DIRECTORY

File Structure

mkdir alliedmodders
cd alliedmodders

Ubuntu 20.04 setup

sudo 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
. ~/.bashrc

DownloadAMBuild

git clone https://github.com/alliedmodders/ambuild
pip install ./ambuild

# In case of an error try
# cd ambuild && python setup.py install && cd ..

Instructions

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
. ~/.bashrc

Plugin Compilation

git 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
ambuild

Copy the contents of package/ to your server's csgo/ directory.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Contributors 26

Languages