Half-Life Dedicated Server

From Valve Developer Community
Jump to navigation Jump to search

Stub

This article or section is a stub. You can help by expanding it.

The Half-Life Dedicated Server (HLDS) is an application for running a dedicated server for GoldSrc games,
is a tool that runs the server component of a Source game without the client component.

This page, however, is aimed at mod developers who want to run hlds on their home computer or servers. Doing this is a must if you are creating a multiplayer mod as the behaviour of dedicated servers differs from that of listenservers (those started from the main menu) in some areas. Crashes that only happen on a DS are entirely possible!

Connectivity

No matter which type of server you are using, your computer must be able to receive unsolicited incoming connections.
This is exactly what routers and software firewalls exist to prevent, so if you are using either you will have to reconfigure.
Refer to the manufacturer instructions for how to do this.

The ports hlds officially requires are:

  1. 27015 TCP/UDP (game transmission, pings and RCON)
  2. 27020 UDP (HLTV transmission)

It has also been spotted opening connections on 27005 to 27030 UDP/TCP, but some of these may be outbound only.

Note.pngNote:A residential internet connections may or will not have the upload capacity to support large games, cable connections require.

Dedicated Servers Masters server connection Known Issues

Problems connecting to Masters Servers if using the steam in the same machine.

Warning.pngWarning:If you have a HLDS Dedicated server and steam install in the same machine,
it will not connect properly to the Masters servers due to an incompatibility between steam and HDLS.


Solution: uninstall Steam, and force HLDS to install new files from online servers, -verify_all .

If you are using SRCDS Dedicated server and HLDS in the same machine them before you uninstall Steam,

copy the steam to a backup folder and them uninstall Steam, use the backup of the steam to add (copy)

the necessary files to SRCDS games.


Setting up

This article is a stub. You can help by adding to it.


See Also

External Links