From 9c6f551ff994cc2d2d20c0af9333fdb492f3af3d Mon Sep 17 00:00:00 2001 From: steph Date: Fri, 27 Nov 2020 22:37:00 -0500 Subject: [PATCH 1/2] add ac / qol net cvar changes tested thoroughly on https://creators.tf/servers and https://sappho.io/spaceship/ --- cfg/rgl_base.cfg | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/cfg/rgl_base.cfg b/cfg/rgl_base.cfg index da52c14..408e372 100644 --- a/cfg/rgl_base.cfg +++ b/cfg/rgl_base.cfg @@ -52,11 +52,12 @@ sv_client_min_interp_ratio "1" // clamps min client interp set sv_client_max_interp_ratio "2" // clamps max client interp settings sv_client_cmdrate_difference "0" // clamps client cmdrate sv_client_predict "1" // forces cl_predict 1, essentially - -// sv_clockcorrection_msecs "15" // attempts to better synchronize client's ticks closer to server's ticks. currently commented while i test possible hitreg issues +sm_cvar sv_maxusrcmdprocessticks 16 // patch doubletap cheat and tighten up lag comp +sm_cvar sv_maxunlag 0.2 // limit fakelag abuse as well as prevent players with insanely high ping from having straight up advantage using hitscan + // ^ more info - https://github.com/sapphonie/StAC-tf2/blob/4f4a0f13ac81b3e03e93c80371067899b8fa37f3/scripting/stac.sp#L582-L585 + // ^ which in turn used https://github.com/mastercomfig/team-comtress-2 as a base +sv_clockcorrection_msecs "45" // attempts to better synchronize client's ticks closer to server's ticks // ^ more info: https://github.com/VSES/SourceEngine2007/blob/master/se2007/game/server/player.cpp#L3036 -// sm_cvar sv_maxusrcmdprocessticks_holdaim 2 // prevents pSilentAim from working (hopefully) -// sm_cvar tf_flamethrower_vecrand 0 // fixes random flamethrower velocity mp_fadetoblack "0" // doesn't fade player's screen to black on death mp_enableroundwaittime "1" // pauses server timer after winning a round From 21743bf6d9e34691981a438fea9db1f9d94c2d5b Mon Sep 17 00:00:00 2001 From: sappho Date: Mon, 19 Jun 2023 01:54:20 -0400 Subject: [PATCH 2/2] Update rgl_base.cfg --- cfg/rgl_base.cfg | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) diff --git a/cfg/rgl_base.cfg b/cfg/rgl_base.cfg index 408e372..adb4eff 100644 --- a/cfg/rgl_base.cfg +++ b/cfg/rgl_base.cfg @@ -42,22 +42,20 @@ mp_tournament_stopwatch "1" // sets stopwatch mode if appli mp_tournament_readymode "0" // traditional whole team ready up mp_teams_unbalance_limit "0" // disables team balance checking -sv_mincmdrate "66" // sets the min value for cl_cmdrate to 66 ticks/sec -sv_maxcmdrate "66" // sets the max value for cl_cmdrate to 66 ticks/sec -sv_minrate "80000" // sets min acceptable client rate to 80000 packets/sec, tf2's default rate +sv_mincmdrate "30" // sets the min value for clients to send usercmds to the server to 30 per second +sv_maxcmdrate "66" // sets the max value for clients to send usercmds to the server to 66 per second +sv_minrate "65535" // sets min acceptable client rate to 65535 bytes/sec, a sane value below tf2's default rate but not by a huge margin sv_maxrate "0" // sets max acceptable client rate to "unlimited", tho anything higher than 1048576 is ignored as it is tf2's "max" rate. -sv_minupdaterate "66" // sets min rate of requestable packets from server to client to 66 per sec -sv_maxupdaterate "66" // sets max rate of requestable packets from server to client to 66 per sec +sv_minupdaterate "30" // sets min rate of packets from server to client to 30 per sec +sv_maxupdaterate "66" // sets max rate of packets from server to client to 66 per sec sv_client_min_interp_ratio "1" // clamps min client interp settings sv_client_max_interp_ratio "2" // clamps max client interp settings -sv_client_cmdrate_difference "0" // clamps client cmdrate +sv_client_cmdrate_difference "0" // clamps client cmdrate to the same as client's updaterate, these should never not match each other unless you want huge client prediction issues sv_client_predict "1" // forces cl_predict 1, essentially -sm_cvar sv_maxusrcmdprocessticks 16 // patch doubletap cheat and tighten up lag comp +sm_cvar sv_maxusrcmdprocessticks 8 // patch doubletap cheat and tighten up lag comp sm_cvar sv_maxunlag 0.2 // limit fakelag abuse as well as prevent players with insanely high ping from having straight up advantage using hitscan // ^ more info - https://github.com/sapphonie/StAC-tf2/blob/4f4a0f13ac81b3e03e93c80371067899b8fa37f3/scripting/stac.sp#L582-L585 // ^ which in turn used https://github.com/mastercomfig/team-comtress-2 as a base -sv_clockcorrection_msecs "45" // attempts to better synchronize client's ticks closer to server's ticks - // ^ more info: https://github.com/VSES/SourceEngine2007/blob/master/se2007/game/server/player.cpp#L3036 mp_fadetoblack "0" // doesn't fade player's screen to black on death mp_enableroundwaittime "1" // pauses server timer after winning a round @@ -81,7 +79,6 @@ sv_gravity "800" // Sets gravity to default (800 sv_pure "2" // Sets sv_pure to 2. Don't touch this sv_pure_kick_clients "1" // kick clients violating or attempting to violate sv_pure sv_pure_trace "1" // sets the server to print a message whenever a client is verifying a CRC for a file -sv_pure_consensus "5" // minimum file hash checks for sv_pure host_framerate "0" // unlocks server framerate, essentially @@ -127,7 +124,6 @@ tv_transmitall "1" // transmits all entity data fr // ^ THIS DOES NOT REPLACE SOURCETV+, which can be found here: https://github.com/dalegaard/srctvplus tv_enable "1" // enables Source TV -sv_turbophysics "1" // prevents people from moving physics objects by shooting them or running into them when combined with disabling +use. results in less CPU usage on the server sv_alltalk "0" // sets alltalk off sv_pausable "1" // enables the ability to pause sv_allow_wait_command "0" // disables wait command