I found this note misleading and I was confused about where to put the
steamcmd files.
" Note:Do not extract the contents of the updater tool to the regular
Steam Client folder or to the HLDSUpdateTool folder."
https://developer.valvesoftware.com/wiki/SteamCMD


I wanted a basic hlds installation where I could add a mod, so I made
two directories
mkdir hlds steamcmd

download steamcmd_linux.tar.gz and extract the files
cd steamcmd
wget http://media.steampowered.com/client/steamcmd_linux.tar.gz
tar zxvf steamcmd_linux.tar.gz

run steamcmd once and let it update.
./steamcmd.sh
when it is finished type quit.

run steamcmd to install hlds
./steamcmd.sh +login anonymous +force_install_dir ../hlds +app_update
90 validate +exit

move my previously extracted mod directory into my game server directory
mv svencoop hlds

run hlds once
./hlds_run -console -game valve +map frenzy

everything works fine. But I want hlds to autoupdate via steamcmd and
restart on crashes.

--------------------------------
Getting -autoupdate to work !!! hlds_run expects steam.sh to be in
"steamcmd/steam.sh"
move my steamcmd directory into my game server directory
cd
mv steamcmd hlds

run steamcmd to insure everything is upto date
cd hlds/steamcmd
./steamcmd.sh +login anonymous +force_install_dir .. +app_update 90
validate +quit
--------------------------------


launch hlds with svencoop as the game.
./hlds_run -console -num_edicts 3072 -game svencoop -pingboost 2 +ip
192.95.16.119 +port 27015 +sport 27016 +map zero -autoupdate -timeout
6 +maxplayers 12 -debug


Enabling debug mode
Auto-restarting the server on crash
Updating server using Steam.
***************************************************
The recommended way to run steamcmd is: steamcmd.sh +logon anonymous
+force_install_dir .. +app_update 90 +quit
***************************************************
Redirecting stderr to '/home/hlds/Steam/logs/stderr.txt'
[  0%] Checking for available updates...
[  0%] Download complete.
[----] Verifying installation...
Steam Console Client (c) Valve Corporation
-- type 'quit' to exit --
Loading Steam3...OK.
Loading Steam2...OK.

Connecting anonymously to Steam Public...Success.
Success! App '90' already up to date.

Console initialized.
Using breakpad crash handler
Setting breakpad minidump AppID = 70
Forcing breakpad minidump interfaces to load
dlopen failed trying to load:
/home/hlds/.steam/sdk32/steamclient.so
with error:
/home/hlds/.steam/sdk32/steamclient.so: cannot open shared object
file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
Protocol version 48
Exe version 1.1.2.2/Stdio (valve)
Exe build: 14:59:14 Feb 13 2013 (5956)
STEAM Auth Server
Server IP address 192.95.16.119:27015
Can't register variable servercfgfile, already defined
Can't register variable lservercfgfile, already defined
Can't register variable mapcyclefile, already defined
Can't register variable motdfile, already defined
Server logging data to file logs/L0314000.log
L 03/14/2013 - 19:07:35: Log file started (file "logs/L0314000.log")
(game "svencoop") (version "48/1.1.2.2/Stdio/5956")
L 03/14/2013 - 19:07:35: Server cvar "sv_aim" = "0"
L 03/14/2013 - 19:07:35: Server cvar "sv_region" = "255"
L 03/14/2013 - 19:07:35: Server cvar "mp_banana" = "0"
[S_API FAIL] SteamAPI_Init() failed; SteamAPI_IsSteamRunning() failed.
dlopen failed trying to load:
/home/hlds/.steam/sdk32/steamclient.so
with error:
/home/hlds/.steam/sdk32/steamclient.so: cannot open shared object
file: No such file or directory
Looking up breakpad interfaces from steamclient
Calling BreakpadMiniDumpSystemInit
L 03/14/2013 - 19:07:37: Started map "zero" (CRC "1081862970")

L 03/14/2013 - 19:07:37: Log file closed
Server logging data to file logs/L0314001.log
L 03/14/2013 - 19:07:37: Log file started (file "logs/L0314001.log")
(game "svencoop") (version "48/1.1.2.2/Stdio/5956")
Connection to Steam servers successful.
   VAC secure mode is activated.

everything looks good not to sure about the steamclient.so error messages.
next I launch hlds with screen from a small script.
#!/bin/bash
echo "Starting Svencoop 4.7 server"
sleep 5
screen -AmdS sc47us ./hlds_run -console -num_edicts 3072 -game
svencoop -pingboost 2 +ip 192.95.16.119 +port 27015 +sport 27016 +map
zero -autoupdate -timeout 6 +maxplayers 12 -debug
echo "on-line server sc47us svencoop 4.7"

later I will setup my watchdog timer to catch frozen game servers...
Now I have nine game servers running on different computers - all are
running Debian 6.0 or Debian 7.0

one of the Debian 7.0 computers has the "steam client installed" with
one game half-life.
That hlds has issues with -autoupdate. it spams the console with
messages like this:
appdatacache.cpp (520) : Assertion Failed: app info out of sync (AppID
231350). Change number on server: 185065. Change number on client:
185065
appdatacache.cpp (520) : Assertion Failed: app info out of sync (AppID
231390). Change number on server: 185586. Change number on client:
185586
appdatacache.cpp (520) : Assertion Failed: app info out of sync (AppID
233030). Change number on server: 183724. Change number on client:
183724
I have to wait a while or restart it a few times until it finally works.

/home/bob
hlds Steam steamlibc steampipe Pictures Desktop Downloads
I wonder where the steam client is installed? I hope it is not in hlds.

_______________________________________________
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