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

Reply via email to