NOTE: This is an archive of the old wiki.
Expect content to be outdated and links to be broken.

User Tools


obsolete:installing_server_beta_1.1h

Installing Server (Beta 1.1h)

old This is only for beta 1.1h and prior. Beta 3 guide can be found here.

Installing (Windows)

Downloading

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.

Installing

  • First we need to download the SDS (Source Dedicated Server). To download we open up hldsupdatetool.exe and download the tool to an arbitrary location on your machine, for example:

C:\HL2DS

  • Start → Run → type “cmd” → hit ok → then type “cd \location” Location is where the SDS was installed. Default is \HLServer If you saved it to the C Drive. If you followed the above directions it would look like this “cd \HL2DS”.
  • Now type “hldsupdatetool” in the command prompt and hit enter, then hit Ctrl-C.
  • When you have finished installing the update tool type:

hldsupdatetool.exe -command update -game “hl2mp” -dir C:\HL2DS

  • If that doesnt work or your stuck or having trouble getting hl2mp then you can go here for a more indepth tutorial on how to get it.

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.

  • Install the Goldeneye Source Dedicated Server files to “C:\HL2DS\gesource” (use your own install path).
  • Create a shortcut of srcds.exe and place it where you want then go to properties of the shortcut. Add the following to the end of the shortcut target:

-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

Configuration

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.

Starting

You should now be able to double-click your server shortcut, which will start up your dedicated server.

Installing (Linux)

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.

Setting up the initial directories and permissions

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).

  • As 'root' create a new user useradd -g users -m -s /bin/bash -d /home/myuser myuser
  • Set this new users password: passwd myuser
  • SSH in, you should be at your home users directory. mkdir hlds && cd hlds
  • chmod +x hldsupdatetool.bin
  • ./hldsupdatetool.bin - 'yes' you now have a steam executable
0@@
  • ./steam -command update -game hl2mp -dir ./2
  • install gesource into ~/hlds/2/gesource like you would any other mod.
  • vi gesource hit i for insert, then paste the script below(shift-ins), after chmod +x gesource
1@@

Optional

2@@

End Result

*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.

GE:S Server Cvars

obsolete/installing_server_beta_1.1h.txt · Last modified: 2023/09/03 18:43 by 127.0.0.1