Source Dedicated Server
This redirect may meet Wikipedia's criteria for speedy deletion as a copyright infringement(Copyvios report) of https://developer.valvesoftware.com/wiki/Source_Dedicated_Server (Copyvios report). This criterion applies only in unequivocal cases, where there is no free-content material on the page worth saving and no later edits requiring attribution – for more complicated situations, see Wikipedia:Copyright violations. See CSD G12.
If this redirect does not meet the criteria for speedy deletion, or you intend to fix it, please remove this notice, but do not remove this notice from pages that you have created yourself. If you created this page and you disagree with the given reason for deletion, you can click the button below and leave a message explaining why you believe it should not be deleted. You can also visit the talk page to check if you have received a response to your message. Note that this redirect may be deleted at any time if it unquestionably meets the speedy deletion criteria, or if an explanation posted to the talk page is found to be insufficient.
Note to administrators: this redirect has content on its talk page which should be checked before deletion. Note to administrators: If declining the request due to not meeting the criteria please consider whether there are still copyright problems with the page and if so, see these instructions for cleanup, or list it at Wikipedia:Copyright problems. Please be sure that the source of the alleged copyright violation is not itself a Wikipedia mirror. Also, ensure the submitter of this page has been notified about our copyright policy.Administrators: check links, talk, history (last), and logs before deletion. Consider checking Google. This page was last edited by 舎利弗 (contribs | logs) at 00:17, 24 May 2014 (UTC) (11 years ago) |
This article may have been previously nominated for deletion: Wikipedia:Articles for deletion/Source Dedicated Server exists. It is proposed that this article be deleted because of the following concern:
If you can address this concern by improving, copyediting, sourcing, renaming, or merging the page, please edit this page and do so. You may remove this message if you improve the article or otherwise object to deletion for any reason. Although not required, you are encouraged to explain why you object to the deletion, either in your edit summary or on the talk page. If this template is removed, do not replace it. This message has remained in place for seven days, so the article may be deleted without further notice. Find sources: "Source Dedicated Server" – news · newspapers · books · scholar · JSTOR Nominator: Please consider notifying the author/project: {{subst:proposed deletion notify|Source Dedicated Server|concern=Wikipedia is [[WP:NOT#HOWTO|not a how-to manual]].}} ~~~~ Timestamp: 20140519152036 15:20, 19 May 2014 (UTC) Administrators: delete |
The Source Dedicated Server or SRCDS is a tool that runs the server component of a Source game without the client component. In other words, it simulates the game without drawing it. SRCDS is chiefly used by server providers who want to serve up as many games from the same computer as they can.
This page, however, is aimed at mod developers who want to run SRCDS on their home computer. 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 dedicated server 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 SRCDS officially requires are:
SRCDS has also been spotted opening connections on 27005 and 51840 UDP, but these may be outbound only.
TIP:1=Pinging your own server will fail with some routers and/or ISPs. The most reliable way to test whether your connection is open is either to get a friend to try connecting, or to install the Microsoft Network Monitor (apply the filter Udp.Port == 27015
) and watch for requests coming in from random people around the world. Note that the heartbeats you will see being sent to the two master servers do not mean that the connection is open.
Note: A residential internet connection may not have the upload capacity to support large games.
Note:Using service providers which use CGNAT (such as mobile providers or an increasing amount of residential providers) may make it impossible to host any kind of server.
Note: Servers won't respond to queries until a map is loaded.
Installation
See SteamCMD for most games. See HLDSUpdateTool for games that haven't been updated in a long time.
For modders
Note:The Source 2006 dedicated server has been removed from Steam, leaving only the Source 2009 version (its GCF says 2007, but don't be fooled). Mods, whether for 2006 or 2007, can now only be run from SRCDS installs. Errors about "SetupArrayProps_R" will appear if you mix versions.
Note:The HLDS Update Tool does not provide Lost Coast, even though SDK Base does. Multiplayer mods should either not use anything from Lost Coast, or include what they do use in their dedicated server download.
- Install HLDSUpdateTool
- Run the update tool with
-command update -game orangebox
. Optionally, add-dir <path>
to download to a custom location. - To start the server, run
orangebox\srcds.exe -console -game <vproject>
.
Note:If you already have the game client installed, you can cancel the tool with Ctrl+C once it starts downloading materials in step 1. You can skip the bulk of the downloading by extracting the GCFs already on your system with GCFScape instead.
- You will need to extract sounds, materials and models; do the "source X" GCFs before the "source 2007 X" ones.
- You should end up with
<server_path>\hl2
from your GCFs and<server_path>\orangebox
from the update tool. - You may want to run the update tool again after extracting to make sure that everything is correct.
Configuring and running the server
Navigate to the folder you just installed your server in. There should be a bunch of files and folders, including a directory with the name of the game you have just installed, e.g. hl2mp
for HL2: Deathmatch. The configuration files are located in the <game>/cfg/
e.g. hl2mp/cfg/
directory.
Edit the main configuration file: <game>/cfg/server.cfg
. Change the hostname
line (this is the name people will see in the server browser) and other options to your liking.
Open a terminal where you have installed the server and start the server:
./srcds_run (or ./srcds.exe on Windows) -game <game> +map <map> +maxplayers X -autoupdate
On Windows:
./srcds.exe -game <game> +map <map> +maxplayers X -autoupdate
For example:
./srcds_run -game hl2mp +map dm_lockdown +maxplayers 8 -autoupdate
See also
- HLDSUpdateTool
- Half-Life Dedicated Server
- Server plugins
- Open Source Server Plugin List
- Command Line Options#Source Games
External links
- Setting up a Standalone Dedicated Server
- Setting up a Steam Source Dedicated Server
- Optimizing a Dedicated Server
- Official Source DS (Windows) forum
- Official Source DS (Linux) forum
References
This redirect has not been added to any content categories. Please help out by adding categories to it so that it can be listed with similar redirects. (March 2014) |