This works for me. Even after a few updates. to update the server to steam pipe cd ../steampipe
(run once) ./steamcmd.sh exit ./steamcmd.sh +login anonymous +force_install_dir ../hlserver +app_update 90 validate +exit On Thu, Feb 21, 2013 at 1:24 AM, Denis Eliseev <[email protected]> wrote: > Yes, I know and now using this method, but it fails, if valve add new files > (usually new vpk for CS:GO), that don't have symlinks at servers dirctory. > using HLDS Update Tools I can update server folder (with symlinks) and all > files will be updated at common folder and if some files are new and not > symlinked yet, they will just downlod in server folder, and I don't need to > create new symlinks (Maybe I will create symlink later, but this isn't > necessary to run server) > > 21.02.2013, 10:26, "Ross Bemrose" <[email protected]>: >> Don't run steamcmd against the copy of the server with the symlinks, but >> the copy of the server that's using the full files. >> >> On 2/21/2013 1:04 AM, Denis Eliseev wrote: >> >>> Also, another problem: when I tried last time to use symlinks (on my CSS >>> servers all maps/models/materials/sounds directories are symlinked to all >>> servers, and I wanted to use this for CS:GO), SteamCMD REPLACE symlinks >>> with real files, NOT FOLLOW IT. I don't know, is this problem still >>> actual... >>> >>> 21.02.2013, 01:58, "Ross Bemrose" <[email protected]>: >>>> On a side note, while its OK to use ~ on a command-line with steamcmd, >>>> don't use it within the actual program, as steamcmd itself doesn't >>>> expand it. This includes not using it in a script you run using the >>>> +runscript option. >>>> >>>> Speaking of which, I'm surprised you guys aren't just using it via a >>>> runscript instead of passing a whole bunch of command line options. >>>> runscript is documented on the wiki. >>>> >>>> On 2/20/2013 4:53 PM, Andre Müller wrote: >>>>> I don't exactly know if steamcmd accepcts parent directory '..' >>>>> Maybe it's better to use an absolute path or use expanduser/dir like >>>>> >>>>> ./steamcmd.sh +login anonymous +force_install_dir ~/hlserver >>>>> +app_update 90 validate +exit >>>>> The shell expands the home-directory to an absolute path. >>>>> >>>>> In shellscript this can help, if you executing your shellscript from a >>>>> directory outside your server: >>>>> >>>>> ./steamcmd.sh +login anonymous +force_install_dir `cd ../hlserver; >>>>> pwd` +app_update 90 validate +exit >>>>> >>>>> In this case the command `cd ../hlserver; pwd` execute a subshell and >>>>> pwd prints the current directory as an absolute path. The shell will >>>>> execute first the substitute command and replace the command with the >>>>> output. So, a litte background.... >>>>> >>>>> But try first the absulute path and post the output. >>>>> >>>>> 2013/2/20 edman747 <[email protected]>: >>>>>> here is what I use on Linux >>>>>> directory layout >>>>>> install (hldsupdatetool is here) >>>>>> hlserver (game server) >>>>>> steampipe (steamcmd.sh) >>>>>> >>>>>> if I want to use hldsupdatetool to install the original half-life maps >>>>>> cd install >>>>>> ./steam -command update -game valve -dir ../hlserver/ -verify_all >>>>>> or the original opposing force maps. >>>>>> ./steam -command update -game gearbox -dir ../hlserver/ -verify_all >>>>>> >>>>>> to update the server to steam pipe >>>>>> cd ../steampipe >>>>>> >>>>>> (run once) >>>>>> ./steamcmd.sh >>>>>> exit >>>>>> >>>>>> ./steamcmd.sh +login anonymous +force_install_dir ../hlserver >>>>>> +app_update 90 validate +exit >>>>>> >>>>>> On Wed, Feb 20, 2013 at 2:53 PM, Andre Müller <[email protected]> >>>>>> wrote: >>>>>>> Maybe +logout +quit is better, but valve don't tell us about thier >>>>>>> nice updatetool. >>>>>>> >>>>>>> 2013/2/20 Doctor McKay <[email protected]>: >>>>>>>> I assume you're using command-line options. If so, just stick +quit >>>>>>>> at the >>>>>>>> end. >>>>>>>> >>>>>>>> Dr. McKay >>>>>>>> >>>>>>>> On Wednesday, February 20, 2013, c0m4r wrote: >>>>>>>>> Make sure that SteamCMD is running on the account with the correct >>>>>>>>> permissions. >>>>>>>>> >>>>>>>>> In addition, all of the files that SteamCMD uses, both the upgrade >>>>>>>>> tools, >>>>>>>>> server files and ~/Steam and ~/steam must have the correct user >>>>>>>>> permissions. >>>>>>>>> >>>>>>>>> Don't use chattr on any of the server files. In bash script use >>>>>>>>> correct >>>>>>>>> PATH var. >>>>>>>>> >>>>>>>>> #!/bin/bash >>>>>>>>> >>>>>>>>> >>>>>>>>> PATH=/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/etc >>>>>>>>> >>>>>>>>> - c0m4r >>>>>>>>> >>>>>>>>> Dnia 20 Lutego 2013, 3:25 pm, Śr, Marcel napisał(a): >>>>>>>>>> Hi, >>>>>>>>>> >>>>>>>>>> I noticed that when trying to update a server the steamcmd tool >>>>>>>>>> just >>>>>>>>>> quits but the download of the server is still running in the >>>>>>>>>> background >>>>>>>>>> (as a thread?!). (checked with garrysmod) >>>>>>>>>> >>>>>>>>>> This makes it nearly impossible to use in bash scripts. Am I >>>>>>>>>> making >>>>>>>>>> somewthing, or is this tool still just a pain in the ass? >>>>>>>>>> >>>>>>>>>> - Marcel >>>>>>>>>> >>>>>>>>>> _______________________________________________ >>>>>>>>>> To unsubscribe, edit your list preferences, or view the list >>>>>>>>>> archives, >>>>>>>>>> please visit: >>>>>>>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >>>>>>>>> _______________________________________________ >>>>>>>>> To unsubscribe, edit your list preferences, or view the list >>>>>>>>> archives, >>>>>>>>> please visit: >>>>>>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >>>>>>>> -- >>>>>>>> Sent from Gmail Mobile >>>>>>>> _______________________________________________ >>>>>>>> To unsubscribe, edit your list preferences, or view the list >>>>>>>> archives, please visit: >>>>>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >>>>>>> _______________________________________________ >>>>>>> To unsubscribe, edit your list preferences, or view the list >>>>>>> archives, please visit: >>>>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >>>>>> _______________________________________________ >>>>>> To unsubscribe, edit your list preferences, or view the list >>>>>> archives, please visit: >>>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >>>>> _______________________________________________ >>>>> To unsubscribe, edit your list preferences, or view the list archives, >>>>> please visit: >>>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >>>> _______________________________________________ >>>> To unsubscribe, edit your list preferences, or view the list archives, >>>> please visit: >>>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >>> _______________________________________________ >>> To unsubscribe, edit your list preferences, or view the list archives, >>> please visit: >>> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, please > visit: > https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: https://list.valvesoftware.com/cgi-bin/mailman/listinfo/hlds_linux

