Dedicated Server Setup: Difference between revisions

From Empires Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 12: Line 12:
* When you have finished installing the update tool open the install folder in a command prompt and type:
* When you have finished installing the update tool open the install folder in a command prompt and type:
  hldsupdatetool.exe -command update -game "hl2mp" -dir C:\HL2DS   
  hldsupdatetool.exe -command update -game "hl2mp" -dir C:\HL2DS   
{{Tip|Make sure you replace C:\HL2DS with your install path if it's different.}}


* If that doesnt work or your stuck or having trouble getting hl2mp then you can go [http://www.srcds.com/db/engine.php?subaction=showfull&id=1097362093&archive= HERE] for a more indepth tutorial on how to get it.
* If that doesnt work or your stuck or having trouble getting hl2mp then you can go [http://www.srcds.com/db/engine.php?subaction=showfull&id=1097362093&archive= 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 Empires). And remember to "Go get yourself a cup of coffee." as valve said, this will take some time
This will download all files necessary to host a Half-Life 2 Deathmatch server (and Empires). And remember to "Go get yourself a cup of coffee." as valve said, this will take some time

Revision as of 07:08, 5 May 2006

Home > Dedicated Server Setup

Dedicated Server (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 Empires Dedicated Server from the Empires Download Page.

If you want to use Mani Admin Plugin, make sure you download it before going any further.

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
  • When you have finished installing the update tool open the install folder in a command prompt and 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 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 Empires). And remember to "Go get yourself a cup of coffee." as valve said, this will take some time

  • Install the Empires Dedicated Server files to "C:\HL2DS\empires" (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 empires +maxplayers 14 -port 27015 -console +map emp_canyon -autoupdate

It sould look like this;

srcds.exe -game empires +maxplayers 14 -port 27015 -console +map emp_canyon -autoupdate
Tip Tip: You can adjust your port and maxplayers via the shortcut or the server.cfg file.

Configuration

Next, edit your mapcycle.txt and server.cfg files to your liking.

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

Related Links