l4d fixes

This commit is contained in:
CroneKorkN 2025-11-04 19:35:23 +01:00
parent ebe76358ce
commit 08d99bf714
Signed by: cronekorkn
SSH key fingerprint: SHA256:v0410ZKfuO1QHdgKBsdQNF64xmTxOF8osF1LIqwTcVw
2 changed files with 7 additions and 2 deletions

View file

@ -83,7 +83,7 @@ def server_units(metadata):
'Service': {
'Type': 'simple',
'ExecStart': cmd,
'ExecStop': f'/opt/l4d2/stop -n {name}',
'ExecStopPost': f'/opt/l4d2/stop -n {name}',
'Restart': 'on-failure',
'Nice': -10,
'CPUWeight': 200,

View file

@ -31,6 +31,9 @@
'vanilla': {
'port': 27015,
'overlays': ['vanilla'],
'config': [
'sv_consistency 0',
],
},
'tick100': {
'port': 27016,
@ -42,18 +45,20 @@
'sv_maxupdaterate 101',
'sv_mincmdrate 101',
'sv_maxcmdrate 101',
'sv_consistency 0',
],
},
'tick100_maps': {
'port': 27017,
'arguments': ['-tickrate 100'],
'overlays': ['tickrate', 'vanilla', 'l4d2center_maps'],
'overlays': ['tickrate', 'vanilla', 'workshop_maps'],
'config': [
'exec server_tickrate.cfg',
'sv_minupdaterate 101',
'sv_maxupdaterate 101',
'sv_mincmdrate 101',
'sv_maxcmdrate 101',
'sv_consistency 0',
],
},
'zonemod': {