mirror of
https://github.com/GameServerManagers/LinuxGSM.git
synced 2025-01-09 04:27:35 +08:00
Fixed bug with Git code ending up in the script
Fixed bug with Git code ending up in the script
This commit is contained in:
parent
a8985004ae
commit
7b083285a9
@ -605,6 +605,8 @@ sleep 1
|
||||
mkdir -pv "${filesdir}"
|
||||
cd "${rootdir}/steamcmd"
|
||||
STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit
|
||||
STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit
|
||||
STEAMEXE=steamcmd ./steamcmd.sh +login ${steamuser} ${steampass} +force_install_dir "${filesdir}" +app_update ${appid} validate +quit
|
||||
echo ""
|
||||
echo "================================="
|
||||
while true; do
|
||||
|
@ -24,20 +24,17 @@ steampass=""
|
||||
# Demolition 1 1
|
||||
gamemode="0"
|
||||
gametype="0"
|
||||
<<<<<<< HEAD
|
||||
defaultmap="de_dust"
|
||||
mapgroup="random_classic"
|
||||
maxplayers="16"
|
||||
=======
|
||||
defaultmap="de_dust2"
|
||||
mapgroup="random_classic"
|
||||
>>>>>>> Major update 240114
|
||||
port="27015"
|
||||
sourcetvport="27020"
|
||||
clientport="27005"
|
||||
ip="0.0.0.0"
|
||||
# https://developer.valvesoftware.com/wiki/Command_Line_Options#Source_Dedicated_Server
|
||||
<<<<<<< HEAD
|
||||
# Change the parameter "-maxplayers" to "-maxplayers_override" for force the max player limit
|
||||
parms="-game csgo -usercon +map ${defaultmap} +mapgroup ${defaultmap} +game_mode ${gamemode} +game_type ${gametype} -strictportbind -ip ${ip} -port ${port} +tv_port ${sourcetvport} +clientport ${clientport} -maxplayers ${maxplayers}"
|
||||
=======
|
||||
@ -45,7 +42,6 @@ parms="-game csgo -usercon +map ${defaultmap} +mapgroup ${defaultmap} +game_mode
|
||||
fn_parms(){
|
||||
parms="-game csgo -usercon +map ${defaultmap} +mapgroup ${mapgroup} +game_mode ${gamemode} +game_type ${gametype} -strictportbind -ip ${ip} -port ${port} +clientport ${clientport} +tv_port ${sourcetvport} -maxplayers ${maxplayers}"
|
||||
}
|
||||
>>>>>>> Major update 240114
|
||||
|
||||
#### Advanced Variables ####
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user