From 8e6fddf522472770f8eb481a708503d074b61dfe Mon Sep 17 00:00:00 2001 From: Aad <7024626+l-Aad-l@users.noreply.github.com> Date: Thu, 21 Nov 2024 20:51:32 -0500 Subject: [PATCH 1/2] Updated pt push --- cfg/rgl_pt_push.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cfg/rgl_pt_push.cfg b/cfg/rgl_pt_push.cfg index ac06a59..3d80d07 100644 --- a/cfg/rgl_pt_push.cfg +++ b/cfg/rgl_pt_push.cfg @@ -7,7 +7,7 @@ exec "rgl_pt_base" servercfgfile "rgl_pt_push" // sets server cfg to this config so that it gets autoexeced on level change mp_timelimit "0" // unsets server timelimit -mp_winlimit "2" // unsets server winlimit +mp_winlimit "3" // unsets server winlimit mp_windifference "0" // unsets windifference mp_maxrounds "0" // sets maxrounds to 2 From c290e90df531a062a2b86e8315c6c0dd1c7e9ab5 Mon Sep 17 00:00:00 2001 From: Aad <7024626+l-Aad-l@users.noreply.github.com> Date: Thu, 21 Nov 2024 20:51:43 -0500 Subject: [PATCH 2/2] Enforced sv_client_cmdrate_difference clamp --- addons/sourcemod/scripting/rglqol.sp | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/addons/sourcemod/scripting/rglqol.sp b/addons/sourcemod/scripting/rglqol.sp index 876f2fd..53addb6 100644 --- a/addons/sourcemod/scripting/rglqol.sp +++ b/addons/sourcemod/scripting/rglqol.sp @@ -78,6 +78,11 @@ public void OnMapStart() ServerCommand("sm plugins unload waitforstv"); } +public void OnClientPostAdminCheck(int client) +{ + // Prevents users from bypassing sv_client_cmdrate_difference set in rgl_base.cfg + SetConVarInt(FindConVar("sv_client_cmdrate_difference"), 0); +} public Action EventRoundStart(Handle event, const char[] name, bool dontBroadcast) {