First of all you need the HLDS Update Tool. This is what we use to update/download the server. You will also need the Goldeneye Source dedicated server files from the list of mirrors supplied below.
C:\HL2DS
hldsupdatetool.exe -command update -game “hl2mp” -dir C:\HL2DS
Tip: Make sure you replace C:\HL2DS with your install path if it's different.
This will download all files necessary to host a Half-Life 2 Deathmatch server (and GE:S). And remember to “Go get yourself a cup of coffee.” as Valve said, this will take some time.
-game gesource +maxplayers 16 -port 27015 -console +map ge_caves -autoupdate It should look like this: srcds.exe -game gesource +maxplayers 16 -port 27015 -console +map ge_caves -autoupdate Tip: You can adjust your port and maxplayers via the shortcut or the server.cfg file.
Correction/Update: maxplayers is known NOT to work in server.cfg with the beta
Next, edit your mapcycle.txt and server.cfg files to your liking.<br> Warning: When editing your server.cfg remember to change your rcon_password and hostname directives! rcon_password “pass” Your rcon password hostname “Servername” The name of your server
These are the most important settings to change, there are more in the cfg so test around what is best for you.
You should now be able to double-click your server shortcut, which will start up your dedicated server.
Currently all GE:S Beta Linux servers are experiencing a bug that will cause them to crash about every 10 minutes if there's players in them. The only known workaround is here.
In this setup I have a CentOS 4 machine, and full root access. I am also assuming you use SSH, if your not remotely controlling, just skip that detail. Also to extract the hldsupdatetool, you need to have the ncompress rpm installed (as root: yum install ncompress).
0@@
1@@
2@@
*User to login to and run your server. *~/hlds/1 ← Half-Life 1 install (if desired) *~/hlds/2 ← Half-Life 2 install *~/hlds/* ← scripts to help you run your server.
See Server Commands