Updating
a Server
Downloading from FilePlanet
If your server is on Windows, then you can use the automatic update
service, or retrieve the update file yourself from FilePlanet
and install it. If your server is on Linux, then your only option
is to retrieve the update file yourself and install it.
The most convenient place for most people to get updates is FilePlanet. The link will take you to their
special Half-Life section:
http://www.fileplanet.com/index.asp?section=200
which should include all updates, as well as other neat stuff like
maps.
When you get there, click on the Essential
Files section for the most readable listing of available
updates. Pick your update, download it, and go!
Installing the Update
The update format has changed from time to time. As of this writing
(June 2002) the Linux server update files are self-extracting archive
wrappers with names like hlds_l_3110_upgrade.bin. In order
to extract the file on Linux, you'll need to make it executable
(chmod +x). Then just run it. After you
affirm you acceptance of the license, the actual compressed archive
file will be created, e.g. hlds_l_3110_upgrade.tar.gz.
At that point you can delete the .bin file, it is of no
further use.
The compressed archive file should be unpacked in the parent directory
of your hlds_l directory. In other words, if the path to your Half-Life
server directory is /home/tweezerman/Games/Half-Life/hlds_l/,
then you should place the archive in /home/tweezerman/Games/Half-Life/
before you unpack it.
Before you unpack the archive, be sure to kill any current HL server
processes you have running. If you don't, the server executable
file won't be updated. This is old news to Unix veterans like me,
but it's still a mistake I've made recently.
Also, a few updates have been known to clobber system configuration
files like hlds_l/valve/server.cfg, so make sure you have
backup copies of yours just in case.
There are lots of ways to uncompress and extract the archive files.
I use the following command:
tar xzvf xx.tar.gz
(where xx.tar.gz is the name of your compressed archive).
That should do it. Now just restart your server(s) and look at the
README.
More About Downloading Updates
Unfortunately FilePlanet uses an interactive html interface to
downloading files. When updating my Linux server, I need to use
a command line program such as wget or ftp,
and I haven't yet found a way to do this directly from FilePlanet.
There is an ftp
server at WON that supports anonymous logins, however it has
not been updated since 1998!
So... to update my Linux server, for a year I was stuck using
the FilePlanet interface to download to the NT box at my house,
then FTP it right back up again to my Linux account on my ISP's
server, and finally FTP'ing it yet again to our Half-Life server.
Finally I discovered some other download locations through the
HLDS mail list (see next section). |