Half-Life Dedicated Server: Difference between revisions

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


The '''Half-Life Dedicated Server''' (HLDS) is an application for running a dedicated server for GoldSrc games,<br>
The '''Half-Life Dedicated Server''' or '''HLDS''' is an application to run a dedicated server for [[Half-Life|GoldSrc]] games, without the client component.  
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!
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===
===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.
 
No matter which type of server you are using, your computer must be able to receive unsolicited incoming connections.<br>This is exactly what routers and software firewalls exist to prevent, so if you are using either you will have to reconfigure.<br>Refer to the manufacturer instructions for how to do this.
   
   
The ports hlds officially requires are:<br>
The ports hlds officially requires are:
# 27015 TCP/UDP (game transmission, pings and RCON)  
# 27015 TCP/UDP (game transmission, pings and RCON)  
# 27020 UDP (HLTV transmission)  
# 27020 UDP (HLTV transmission)  
Line 17: Line 14:
It has also been spotted opening connections on 27005 to 27030 UDP/TCP, but some of these may be outbound only.
It has also been spotted opening connections on 27005 to 27030 UDP/TCP, but some of these may be outbound only.
   
   
{{note|A residential internet connections may or will not have the upload capacity to support large games, cable connections require.}}
{{note|A residential internet connection may not have the upload capacity to support large games.}}
 
===Installation===
See [[HLDSUpdateTool]].


===Dedicated Servers Masters server connection Known Issues===
===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.
 
Problems connecting to Masters Servers if using the steam in the same machine.<br>
 
{{warning|If you have a HLDS Dedicated server and steam install in the same machine,<br>
 
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 .<br>
 
If you are using SRCDS Dedicated server and HLDS in the same machine them before you uninstall Steam,<br>
 
copy the steam to a backup folder and them uninstall Steam, use the backup of the steam to add (copy)<br>
 
the necessary files to SRCDS games.
 
 
===Setting up===
 
#
This article is a stub. You can help by adding to it.
 
 


== See Also ==
== See Also ==
* [[Source Dedicated Server|Source Dedicated Server (SRCDS)]]
* [[Source Dedicated Server]]
* [[Server Plugins]]
* [[Server Plugins]]
* [[Open Source Server Plugin List]]
* [[Open Source Server Plugin List]]

Revision as of 10:44, 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