Thats line start
./srcds_run -ip IP -port PORT -game csgo -console +game_type 0 +game_mode 0
-nohltv -usercon +mapgroup mg_bomb +map de_dust -maxplayers_override 20
+sv_pure 0 -autoupdate -steam_dir /usr/local/games/GO/XXXXX/configs
-steamcmd_script /usr/local/games/GO/XXXXX/update.txt +exec csgo_server.cfg
+servercfgfile csgo_server.cfg
REMOVE -autoupdate -steam_dir /usr/local/games/GO/XXXXX/configs
-steamcmd_script /usr/local/games/GO/XXXXX/update.txt +exec csgo_server.cfg
+servercfgfile csgo_server.cfg
srcds_run -ip IP -port PORT -game csgo -console +game_type 0 +game_mode 1
-nohltv -usercon +mapgroup mg_bomb +map de_dust -maxplayers_override 12
+sv_pure 0 -autoupdate
this prevents script.txt and locate the directory where the server is located.
Saludos cordiales;
--------------------------------------------------------------------------------
Emanuel Caceres Soporte Técnico 127.0.0.1
Soluciones Innovadoras Mendoza 2917 :: C1428DKY
Ciudad Autónoma de Buenos Aires :: Argentina
Tel/Fax: 0810 55 LOCALHOST | (011) 4784-6993
http://www.localhost.net.ar/
[email protected]
----- Original Message -----
From: David Fountain
To: [email protected]
Sent: 08 March, 2013 17:42
Subject: Re: [Csgo_servers] Modify srcds_run
My bad didn't see the text at the bottom
SavSin
On Mar 8, 2013 12:37 PM, "Emanuel Caceres | Gmail" <[email protected]>
wrote:
Dears;
Could you please replace in the file srcds_run the following lines
"-autoupdate")
AUTO_UPDATE="yes"
RESTART="yes" ;;
for
$DIR = Where is located the steam.sh
"-autoupdate")
AUTO_UPDATE="yes"
STEAM="$DIR/steam.sh"
RESTART="yes" ;;
and
updatesingle() {
# Run the steam update
# exits on failure if STEAMERR is set
if test -n "$AUTO_UPDATE"; then
if test -d "$STEAM_DIR"; then
echo "Updating server using Steam."
echo "----------------------------"
OLDWD=$(pwd)
eval "cd $STEAM_DIR"
eval "STEAMEXE=steamcmd ./steam.sh +runscript
$STEAMCMD_SCRIPT"
eval "cd $OLDWD"
echo "----------------------------"
else
if test -n "$STEAMERR"; then
echo "ERROR: Could not locate steam
dir:$STEAM_DIR, exiting.";
quit 1
else
echo "WARNING: Could not locate steam
dir:$STEAM_DIR, ignoring."
return 0
fi
fi
fi
return 1
}
for
updatesingle() {
# Run the steam update
# exits on failure if STEAMERR is set
if test -n "$AUTO_UPDATE"; then
if test -f "$STEAM"; then
echo "Updating server using Steam."
CMD="$STEAM +logon anonymous +force_install_dir ..
+app_update 740 +quit";
if test -n "$BETA_VERSION"; then
CMD="$CMD -beta $BETA_VERSION";
fi
STEAMEXE=steamcmd $CMD
if test $? -ne 0; then
if test -n "$STEAMERR"; then
echo "`date`: Steam Update failed,
exiting."
quit 1
else
echo "`date`: Steam Update failed,
ignoring."
return 0
fi
fi
else
if test -n "$STEAMERR"; then
echo "Could not locate steam binary:$STEAM,
exiting.";
quit 1
else
echo "Could not locate steam binary:$STEAM,
ignoring.";
return 0
fi
fi
fi
return 1
}
for these ones in order to avoid putting in the start.sh all this ?
-steam_dir /usr/local/games/XXXXX/configs -steamcmd_script
/usr/local/games/XXXXX/update.txt
Best Regards
----------------------------------------------------------------------------
Emanuel Caceres Soporte Técnico 127.0.0.1
Soluciones Innovadoras Mendoza 2917 :: C1428DKY
Ciudad Autónoma de Buenos Aires :: Argentina
Tel/Fax: 0810 55 LOCALHOST | (011) 4784-6993
http://www.localhost.net.ar/
[email protected]
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
------------------------------------------------------------------------------
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers