From 87157d320239b265162178d52595b97b285434a4 Mon Sep 17 00:00:00 2001
From: Kawe Mazidjatari <48657826+Mauler125@users.noreply.github.com>
Date: Sun, 29 May 2022 02:31:43 +0200
Subject: [PATCH] Update config files

Most of these are managed by the launcher. Keeping these here will cause problems as values we set in the launcher get reset by those.
---
 r5dev/resource/cfg/autoexec.cfg            | 7 -------
 r5dev/resource/cfg/autoexec_client_dev.cfg | 1 -
 r5dev/resource/cfg/autoexec_server.cfg     | 2 +-
 r5dev/resource/cfg/autoexec_server_dev.cfg | 4 ++--
 4 files changed, 3 insertions(+), 11 deletions(-)

diff --git a/r5dev/resource/cfg/autoexec.cfg b/r5dev/resource/cfg/autoexec.cfg
index 9b096e5d..f99c5a08 100644
--- a/r5dev/resource/cfg/autoexec.cfg
+++ b/r5dev/resource/cfg/autoexec.cfg
@@ -1,16 +1,9 @@
 //////////////////////////
 //// REPLICATED       ////
 //////////////////////////
-sv_cheats                    "0" // Enables cheats on the server.
 mp_allowed                   "1" // Whether multiplayer is allowed or not.
 developer                    "1" // Required for certain script functionality.
 
-//////////////////////////
-//// NETCHAN          ////
-//////////////////////////
-net_userandomkey             "1" // Whether to use the default netkey or a randomized key on launch.
-net_usesocketsforloopback    "1" // Whether to use network sockets layer for packets.
-
 //////////////////////////
 //// SQUIRREL         ////
 //////////////////////////
diff --git a/r5dev/resource/cfg/autoexec_client_dev.cfg b/r5dev/resource/cfg/autoexec_client_dev.cfg
index 7bdbee09..7ddd529d 100644
--- a/r5dev/resource/cfg/autoexec_client_dev.cfg
+++ b/r5dev/resource/cfg/autoexec_client_dev.cfg
@@ -4,7 +4,6 @@
 //////////////////////////
 //// CLIENT           ////
 //////////////////////////
-fps_max                               "120"             // Frame rate limiter when vsync is enabled.
 cl_noTimeoutLocalHost                 "1"               // Do not time-out on local connections.
 cl_threaded_bone_setup                "0"               // Has to be disabled on the client to prevent deadlock.
 
diff --git a/r5dev/resource/cfg/autoexec_server.cfg b/r5dev/resource/cfg/autoexec_server.cfg
index d1ceef06..79ab6e2d 100644
--- a/r5dev/resource/cfg/autoexec_server.cfg
+++ b/r5dev/resource/cfg/autoexec_server.cfg
@@ -4,7 +4,7 @@
 //////////////////////////
 //// SERVER           ////
 //////////////////////////
-hostname                     "R5"     // Determines the name of the server displayed in the server browser.
+//hostname                     "R5"     // Determines the name of the server displayed in the server browser.
 sv_pylonvisibility           "0"      // Determines the visiblity to the Pylon Master Server (server browser), 0 = Not visible, 1 = Visible.
 
 sv_requireOriginToken        "0"      // Enables origin token verification on the server
diff --git a/r5dev/resource/cfg/autoexec_server_dev.cfg b/r5dev/resource/cfg/autoexec_server_dev.cfg
index fa2e4ca8..caf764af 100644
--- a/r5dev/resource/cfg/autoexec_server_dev.cfg
+++ b/r5dev/resource/cfg/autoexec_server_dev.cfg
@@ -4,8 +4,8 @@
 //////////////////////////
 //// SERVER           ////
 //////////////////////////
-hostname                     "R5"     // Determines the name of the server displayed in the server browser.
-sv_pylonvisibility           "0"      // Determines the visiblity to the Pylon Master Server (server browser), 0 = Not visible, 1 = Visible.
+//hostname                     "R5"     // Determines the name of the server displayed in the server browser.
+//sv_pylonvisibility           "0"      // Determines the visiblity to the Pylon Master Server (server browser), 0 = Not visible, 1 = Visible.
 
 sv_requireOriginToken        "0"      // Enables origin token verification on the server