Post Reply  Post Thread 
Pages (2): « First [1] 2 Next > Last »
Tutorial: How to setup a DOD:S server
Author Message
Beck
Member
***


Posts: 53
Group: Registered
Joined: Jan 2006
Status: Offline
Post: #1
Exclamation  Tutorial: How to setup a DOD:S server

This is based on my experience with setting up a server from scratch, IE I didnt know anything about it when I started!

Installation
1) Download the HLDSTOOLUPDATE to a temp location, like c:\Temp.
Use the link below to download HLDSTOOLUPDATE.
http://www.steampowered.com/download/hldsupdatetool.exe
The tool is used to download, update and run the dedicated Source server.

2) Once you have downloaded hldsupdatetool.exe, run the installer and install to a permanent location, like c:\srcds.

3) Now you need to download the files for your dedicated DOD:S server.
To download the dedicated DOD:S server, use this script in a .bat file:

Quote:
c:\srcds\hldsupdatetool -command update -game dods -dir c:\srcds

This is how it should look, if your server location is "c:\srcds"
When downloading, dont panic over the size....its about 900Mb!

Configuration
4) Now you have you base installation. You just need to configure it.
Open Notepad and create a file called server.cfg and put it in the c:\srcds\dod\cfg folder. (Remember NOT to save it as an "txt" file)
Heres a base server.cfg file, we used:

Quote:
hostname "Test DOD:S Server"
sv_password "testserverpw"
sv_cheats 0
mp_allowrandomclass 1
mp_allowspectators 0
mp_autocrosshair 1
mp_autokick 0
mp_cancelwarmup 1
mp_decals 200
mp_defaultteam 0
mp_falldamage 20
mp_flashlight 1
mp_footsteps 1
mp_forcecamera 1
mp_forcerespawn 1
mp_fraglimit 0
mp_friendlyfire 1
mp_limit_allies_assault -1
mp_limit_allies_mg 1
mp_limit_allies_rifleman -1
mp_limit_allies_rocket 0
mp_limit_allies_sniper 1
mp_limit_allies_support -1
mp_limit_axis_assault -1
mp_limit_axis_mg 1
mp_limit_axis_rifleman -1
mp_limit_axis_rocket 0
mp_limit_axis_sniper 1
mp_limit_axis_support -1
mp_limitteams 10
mp_restartwarmup 1
mp_timelimit 15
mp_warmup_time 1
mp_weaponstay 0

mapcyclefile "mapcycle.txt"

Most of these are self explaining, but theres a few thats not.
the lines with "mp_limit_allies..." are put there to control the number of players on each class (rifleman, support..etc)
-1 = unlimited
0 = None
1,2,3 = 1,2,3 etc

"mp_limitteams" can be used to disable autoteambalance.
The number states how many players one team can have over the other.

"mapcyclefile" states what the mapcycle file is called.

Heres a link to the full list (1266!)
http://www.surfservers.net/files/cvarlist.txt
A shorter list for DOD:S:
http://www.surfservers.net/files/cvarlist-dod_mp_sv.txt


Starting
To start the DOD:S dedicated server you can use this command:

Quote:
c:\srcds\srcds.exe -console -game dod -port 27015 +maxplayers 32 +map dod_anzio +exec server.cfg

Its maximum player number is 32 and is starts with Anzio. Next map will be whatever is listed in the mapcycle file.

You can use the command in a .bat file OR use Serverchecker(great tool):
http://www.dumbclan.co.uk/forum/index.ph...topic=5784

For more info on Dedicated Server:
http://planethalflife.gamespy.com/View.p...d=4&game=3

This should get you going!

If you have additions for this please post them - then ill add them Smile

Update:
It is now possible to do most of this in the Steam GUI, but if you want a console dedicated server the above guide is still prefable.

16th October:
Fixed dead Serverchecker link...

This post was last modified: 10-21-2007 07:39 AM by Beck.

01-19-2006 07:02 PM
Find all posts by this user Quote this message in a reply
skeletor
freakaziod
******


Posts: 1,562
Group: Super Moderators
Joined: Jun 2005
Status: Offline
Reputation: 0
Post: #2
RE: Toturial: How to setup a DOD:S server

the update tool really needs to be installed into a permanent directory, because you will need it to update the server any time an update is released.

also if you want something with more fuctionality to start the server instead of the batch file, you can use server checker.

just my $.02


http://darkstarllc.com

This post was last modified: 01-20-2006 01:30 AM by skeletor.

01-20-2006 01:28 AM
Visit this user's website Find all posts by this user Quote this message in a reply
Beck
Member
***


Posts: 53
Group: Registered
Joined: Jan 2006
Status: Offline
Post: #3
RE: RE: Toturial: How to setup a DOD:S server

skeletor Wrote:
the update tool really needs to be installed into a permanent directory, because you will need it to update the server any time an update is released.

also if you want something with more fuctionality to start the server instead of the batch file, you can use server checker.

just my $.02

Thnx Smile

Iv changed the #2 point so its clear that it should be a permanent installations.

Iv added a link to Serverchecker in the guide Smile
(Great tool BTW)

This post was last modified: 01-20-2006 05:54 PM by Beck.

01-20-2006 05:32 PM
Find all posts by this user Quote this message in a reply
Beck
Member
***


Posts: 53
Group: Registered
Joined: Jan 2006
Status: Offline
Post: #4
RE: Tutorial: How to setup a DOD:S server

EDIT: Corrected some spelling errors

01-26-2006 12:57 AM
Find all posts by this user Quote this message in a reply
Beck
Member
***


Posts: 53
Group: Registered
Joined: Jan 2006
Status: Offline
Post: #5
RE: Tutorial: How to setup a DOD:S server

EDIT: Added links to cvar lists

02-07-2006 08:00 PM
Find all posts by this user Quote this message in a reply
skeletor
freakaziod
******


Posts: 1,562
Group: Super Moderators
Joined: Jun 2005
Status: Offline
Reputation: 0
Post: #6
RE: Tutorial: How to setup a DOD:S server

thank you for that! i will start to work on my dod:s server.cfg creator somtime soon. Big Grin


http://darkstarllc.com
02-08-2006 02:21 AM
Visit this user's website Find all posts by this user Quote this message in a reply
SnakeEyes15
Junior Member
**


Posts: 6
Group: Registered
Joined: Mar 2006
Status: Offline
Post: #7
RE: Tutorial: How to setup a DOD:S server

[quote]c:\srcds\srcds.exe -console -game dod -port 27015 +maxplayers 32 +map dod_anzio +exec server.cfg

where do we enter this?


__ im like a snake ... i see everything __
03-10-2006 10:26 AM
Find all posts by this user Quote this message in a reply
SnakeEyes15
Junior Member
**


Posts: 6
Group: Registered
Joined: Mar 2006
Status: Offline
Post: #8
RE: Tutorial: How to setup a DOD:S server

Quote:
c:\srcds\srcds.exe -console -game dod -port 27015 +maxplayers 32 +map dod_anzio +exec server.cfg


where do we enter this??????????


__ im like a snake ... i see everything __
03-10-2006 10:27 AM
Find all posts by this user Quote this message in a reply
SnakeEyes15
Junior Member
**


Posts: 6
Group: Registered
Joined: Mar 2006
Status: Offline
Post: #9
RE: Tutorial: How to setup a DOD:S server

also it says creat a file and put all the stuff in it ... what kind of file??? plz tell me i really want to know how to make a server!


__ im like a snake ... i see everything __
03-10-2006 01:15 PM
Find all posts by this user Quote this message in a reply
Beck
Member
***


Posts: 53
Group: Registered
Joined: Jan 2006
Status: Offline
Post: #10
RE: RE: Tutorial: How to setup a DOD:S server

SnakeEyes15 Wrote:
also it says creat a file and put all the stuff in it ... what kind of file??? plz tell me i really want to know how to make a server!

You need to create a file using Notepad in step 4.
Make sure its saved as type "all files" and named it as described in step 4

03-10-2006 05:19 PM
Find all posts by this user Quote this message in a reply
Beck
Member
***


Posts: 53
Group: Registered
Joined: Jan 2006
Status: Offline
Post: #11
RE: Tutorial: How to setup a DOD:S server

Anybody knows what the consolecommand is for the server to list all servercommands?

08-23-2006 07:36 PM
Find all posts by this user Quote this message in a reply
Drocona
Forum admin
*******


Posts: 3,981
Group: Administrators
Joined: Mar 2005
Status: Offline
Post: #12
RE: Tutorial: How to setup a DOD:S server

I don't know the command on the server, not sure if there is one really.
on the client it's cvarlist


Join the Source Dedicated Server Support Group on Steam Community!
Source Dedicated Server (SRCDS)
http://srcdsgroup.black-sky.nl
Free to join, Live support! (When available)

http://forums.srcds.com/viewtopic/5114
08-23-2006 07:55 PM
Visit this user's website Find all posts by this user Quote this message in a reply
doofosmitch
Junior Member
**


Posts: 15
Group: Registered
Joined: Sep 2006
Status: Offline
Post: #13
RE: Tutorial: How to setup a DOD:S server

Nice tut, you explain yourself well.... it worked for me Smile



^^First Sig Made By MEH! Tehe
09-04-2006 12:57 PM
Find all posts by this user Quote this message in a reply
Beck
Member
***


Posts: 53
Group: Registered
Joined: Jan 2006
Status: Offline
Post: #14
RE: Tutorial: How to setup a DOD:S server

doofosmitch Wrote:
Nice tut, you explain yourself well.... it worked for me Smile

Thank you Smile Glad to hear that somebody enjoyed the tut

10-01-2006 01:36 AM
Find all posts by this user Quote this message in a reply
tweakman
Junior Member
**


Posts: 1
Group: Registered
Joined: Oct 2006
Status: Offline
Post: #15
RE: Tutorial: How to setup a DOD:S server

You don't need to keep the half-life update tool just add this to the end of the command that starts your server.
-autoupdate

Then each time the server is started it will check if there is an update and if there is it will update all your files for that game.

That is my $0.2 worth.
tweakman

10-08-2006 02:43 AM
Find all posts by this user Quote this message in a reply
Pages (2): « First [1] 2 Next > Last »
Post Reply  Post Thread 

View a Printable Version
Send this Thread to a Friend
Subscribe to this Thread | Add Thread to Favorites

Forum Jump: