From 03654ef5af5d9be064dfe5c48b67c2d3f2a59693 Mon Sep 17 00:00:00 2001 From: CroneKorkN Date: Wed, 29 Oct 2025 16:45:50 +0100 Subject: [PATCH] l4d move workshop downlaoder to scripts --- bundles/left4dead2/files/scripts/helpers | 2 +- bundles/left4dead2/files/setup | 4 ++-- nodes/ovh.secondary.py | 16 +++++++++++++--- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/bundles/left4dead2/files/scripts/helpers b/bundles/left4dead2/files/scripts/helpers index 192bd52..58a2398 100644 --- a/bundles/left4dead2/files/scripts/helpers +++ b/bundles/left4dead2/files/scripts/helpers @@ -18,7 +18,7 @@ function install_addon() { local addon_id="${addons[${addon_name}]}" steam mkdir -p "/opt/l4d2/overlays/${overlay}/left4dead2/addons" test -f "/opt/l4d2/overlays/${overlay}/left4dead2/addons/${addon_id}.vpk" || \ - steam /opt/l4d2/steam-workshop-download "${addon_id}" --out "/opt/l4d2/overlays/${overlay}/left4dead2/addons" + steam /opt/l4d2/scripts/steam-workshop-download "${addon_id}" --out "/opt/l4d2/overlays/${overlay}/left4dead2/addons" } function install_admin_system() { diff --git a/bundles/left4dead2/files/setup b/bundles/left4dead2/files/setup index f6f0233..7940b90 100644 --- a/bundles/left4dead2/files/setup +++ b/bundles/left4dead2/files/setup @@ -21,8 +21,8 @@ DEBIAN_FRONTEND=noninteractive apt install -y libc6:i386 lib32z1 # workshop downloader test -f /opt/l4d2/steam-workshop-download || \ - steam wget -4 https://git.sublimity.de/cronekorkn/steam-workshop-downloader/raw/branch/master/steam-workshop-download -P /opt/l4d2 -steam chmod +x /opt/l4d2/steam-workshop-download + steam wget -4 https://git.sublimity.de/cronekorkn/steam-workshop-downloader/raw/branch/master/steam-workshop-download -P /opt/l4d2/scripts +steam chmod +x /opt/l4d2/scripts/steam-workshop-download # -- STEAM -- # diff --git a/nodes/ovh.secondary.py b/nodes/ovh.secondary.py index 8352218..68a05e2 100644 --- a/nodes/ovh.secondary.py +++ b/nodes/ovh.secondary.py @@ -38,8 +38,18 @@ 'overlays': ['tickrate', 'vanilla'], 'config': [ 'exec server_tickrate.cfg', - # https://github.com/SirPlease/L4D2-Competitive-Rework/blob/7ecc3a32a5e2180d6607a40119ff2f3c072502a9/cfg/server.cfg#L58-L69 - # https://www.programmersought.com/article/513810199514/ + 'sv_minupdaterate 101', + 'sv_maxupdaterate 101', + 'sv_mincmdrate 101', + 'sv_maxcmdrate 101', + ], + }, + 'tick100_maps': { + 'port': 27017, + 'arguments': ['-tickrate 100'], + 'overlays': ['tickrate', 'vanilla', 'l4d2center_maps'], + 'config': [ + 'exec server_tickrate.cfg', 'sv_minupdaterate 101', 'sv_maxupdaterate 101', 'sv_mincmdrate 101', @@ -47,7 +57,7 @@ ], }, 'zonemod': { - 'port': 27017, + 'port': 27020, 'arguments': ['-tickrate 60'], 'overlays': ['competitive_rework'], 'config': [