From e56b707663b32433df23a0c58daf401b507f9c7c Mon Sep 17 00:00:00 2001 From: Chase Hall Date: Fri, 18 Sep 2020 15:35:32 +0000 Subject: [PATCH] Make my variable names equal the dvars. --- T7/Start.bat | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/T7/Start.bat b/T7/Start.bat index 97a6567..81cc7be 100644 --- a/T7/Start.bat +++ b/T7/Start.bat @@ -6,7 +6,7 @@ :: Your Game Server Port. :: Make sure you Port Forward both TCP & UDP. -set GamePort=15001 +set net_port=15001 :: Color Codes for Server Name :: ^1 Red @@ -22,45 +22,45 @@ set GamePort=15001 :: Server Name/Description (in server browser) :: Stay away from known illegal characters, such as the pipe, using these will break the config. ( | ) -set Name="^1A New BO3 Server" -set Desc=Coming Soon +set live_steam_server_name="^1A New BO3 Server" +set live_steam_server_description=Coming Soon :: Playlist File :: Sets the Playlist to use from the playlists.info file in the /machinecfg folder -set playlist=1 +set sv_playlist=1 :: Mod Support :: Sets the mod the server will load, usermaps is the default mod that can be run with user made maps. :: Replace usermaps with mod ID to run a mod. :: !!! YOU MUST BE SIGNED INTO A STEAM ACCOUNT FOR MODS TO DOWNLOAD !!! :: To the line above, you can use Steam as a service or use the Steam client itself. Workshop anonymous downloads are broken for the T7 dedicated server. -:: Example: fsgame=771672355 -:: No Mod: fsgame=usermaps -set fsgame=771672355 +:: Example: fs_game=771672355 +:: No Mod: fs_game=usermaps +set fs_game=771672355 :: Private Server Password :: Setting this will make your server password-protected. -set PrivPW= +set live_steam_server_password= :: RCON Password :: Used with tools like BO3 Remote Console/IW4MAdmin. :: IW4MAdmin is incomplete, however it still works from the webfront, however, YMMV. -set RCON= +set rcon_password= :: lobbyTimerStatusStartInterval :: Sets the wait time between maps in the lobby in millisecond. 60000ms = 60 seconds. -set lobbytimer=60000 +set lobbyTimerStatusStartInterval=60000 :: Enables console log on the server :: Basically g_log on older CODs but super broken. It does not generate a separate log if it is defined. :: This is what is required for IW4MAdmin to work. However, RaidMax is still testing T7. -set consolelog=1 +set g_log=1 :: Enables logging on the server, helpful for crashes or debug information. :: Setting 1 will buffer the write and 2 will not. set logfile=2 -start BlackOps3_UnrankedDedicatedServer.exe +set sv_playlist %playlist% +set fs_game %fsgame% +set g_log %consolelog% +set logfile %logfile% +set net_port %GamePort% +lobbyTimerStatusStartInterval %lobbytimer% +set live_steam_server_name %Name% +set live_steam_server_description "%Desc%" +set live_steam_server_password "%PrivPW%" +rcon_password "%RCON%" %* +start BlackOps3_UnrankedDedicatedServer.exe +set sv_playlist %sv_playlist% +set fs_game %fs_game% +set g_log %g_log% +set logfile %logfile% +set net_port %net_port% +lobbyTimerStatusStartInterval %lobbyTimerStatusStartInterval% +set live_steam_server_name %live_steam_server_name% +set live_steam_server_description "%live_steam_server_description%" +set live_steam_server_password "%live_steam_server_password%" +rcon_password "%rcon_password%" %* :: Please do not touch the line above unless you know you are doing. exit