Half-Life Dedicated Server: Difference between revisions

From Valve Developer Community
Jump to navigation Jump to search
No edit summary
mNo edit summary
Line 1: Line 1:
{{stub}}
{{stub}}


The '''Half-Life Dedicated Server''' or '''HLDS''' is an application to run a dedicated server for [[Half-Life|GoldSrc]] games, without the client component.  
The '''Half-Life Dedicated Server''' or '''HLDS''' is an application to run a dedicated server for [[GoldSrc]] games, without the client component.  
   
   
This page 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!
This page 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!

Revision as of 13:56, 30 August 2012

Stub

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

The Half-Life Dedicated Server or HLDS is an application to run a dedicated server for GoldSrc games, without the client component.

This page 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 connection may not have the upload capacity to support large games.

Installation

See HLDSUpdateTool.

Dedicated Servers Masters server connection Known Issues

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.

See Also

External Links