What he is talking about is hard coding -steamcmd_script in the -autoupdate
launch parameters. Before anonymous login was permitted with SteamCMD, the
-steamcmd_script was necessary to store passwords. He's saying the
-autoupdate should make everyone autologin with SteamCMD anonymous and the
rest of the script variables.

I don't think it's a bad idea but sometimes the anonymous user has issues
logging in and steam credentials work.

The CS:GO launch parameter is is starting to get longer and longer and the
solution to a lot of issues is "set it in the start up line" so it is
growing quickly.


On Fri, Mar 8, 2013 at 2:04 PM, David Fountain <[email protected]> wrote:

> You don't have to place the script in with the server mine sit in the
> steam cmd directory. That way if I delete and reinstall the server I don't
> have to rewrite the script and it makes it easier for my start scripts
>
> SavSin
> On Mar 8, 2013 12:59 PM, "Emanuel Caceres | Gmail" <[email protected]>
> wrote:
>
>> **
>> 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 *
>>    <http://localhost.net.ar/>
>> *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 <[email protected]>
>> *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 *
>>> <http://localhost.net.ar/>
>>> *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
>>
>
> _______________________________________________
> Csgo_servers mailing list
> [email protected]
> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers
>



-- 
-Winnie the Pooh
TimetoKill.net
_______________________________________________
Csgo_servers mailing list
[email protected]
https://list.valvesoftware.com/cgi-bin/mailman/listinfo/csgo_servers

Reply via email to