PDA

View Full Version : Starting a Win2k DED server


Weazel
10-30-2003, 04:42 PM
Is there a way to start the Dedicated server without loading up the game, I have a server ready to go, but the video card won't run CoD, (it's a server not a gaming machine :P) but I cant figure a way around it... Any clues...

Thanks in advance...

~W

Juice
10-30-2003, 04:52 PM
We are going to be in the same boat, our upload is taking place and by 5:00 est time we will have the game installed.

Juice

bullet-worm
10-30-2003, 04:56 PM
Yep, me too!

I am hoping it is a command line to run the server only, and not the client...

I will know more when I get home where I can actually RUN the server locally and see the cmdlist and cvarlist....

You should NOT have to INSTALL the game on a remote computer, if they did that they need to be whacked up side the head with an old wooden plank complete with rusty nails.... I DOUBT they did that, though they could be a little more forth-coming about HOW to det a server up.... and I don't mean an IN-GAME server...

worm

captnroger
10-30-2003, 05:06 PM
God please someone help me out with this before I pull my hair out! I uploaded everything to my W2K box after installing local and I'm trying to run the MP exe with the + set dedicated 2 switch. The console pops up and everything LOOKS okay, but when I type status, it says the server isn't running. PLEASE HELP. I have a new windows server on a fat pipe just itchin to serve up some MP goodness...

COD MP 1.1 build win-x86 Oct 8 2003
----- FS_Startup -----
Current language: english
Current search path:
C:\cod\cod\main\pak6.pk3 (3 files)
C:\cod\cod\main\pak5.pk3 (4858 files)
C:\cod\cod\main\pak4.pk3 (1668 files)
C:\cod\cod\main\pak3.pk3 (1992 files)
C:\cod\cod\main\pak2.pk3 (694 files)
C:\cod\cod\main\pak1.pk3 (2642 files)
C:\cod\cod\main\pak0.pk3 (12828 files)
C:\cod\cod/main
C:\cod\cod\main\localized_english_pak1.pk3 (3736 files)
localized assets pak file for english
C:\cod\cod\main\localized_english_pak0.pk3 (1204 files)
localized assets pak file for english

File Handles:
----------------------
29625 files in pk3 files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp.cfg
couldn't exec autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found Intel Pentium III
Measured CPU speed is 2.99 GHz
System memory is 1007 MB (capped at 1 GB)
Video card memory is 0 MB
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: 69.56.212.162:28960
WARNING: UDP_OpenSocket: bind: WSAEADDRINUSE
Opening IP socket: 69.56.212.162:28961
Hostname: hostvision01
IP: 69.56.212.162
IP: 69.56.212.163
IP: 69.56.212.164
IP: 69.56.212.165
IP: 69.56.212.166
--- Common Initialization Complete ---
Working directory: C:\cod\cod
Hitch warning: 2677 msec frame time
]status
Server is not running.

Weazel
10-30-2003, 05:09 PM
Thanks capt I think you answered my question... Now let me play around and see if we can't fix yours...

~W

bullet-worm
10-30-2003, 05:26 PM
Cooool... maybe thats how you get past the client side/ no video card problem...


BTW! It looks like you need to just call for a map... try

"map mp_dawnville"

in the console. You may want to create a .cfg file to call your first map for you automatically....

try that out though, and let me know!

worm

Weazel
10-30-2003, 05:29 PM
ya calling a map works and the server starts, I just need to get the config file set, seems my T1 here at work can only handle about 10 people... Hopefully tonight I can bump that up after everyone goes home...

~W

Lestat
10-30-2003, 05:38 PM
Yes when you launchthe console and it says not running. You have to execute the map "name" in server console then it starts up. But I haven't found a way around this yet. Still working on it..

HellzWolf
10-30-2003, 05:41 PM
Can one of you gentleman post your cfg files, I am uploading to my server as well, between all of us we should figure this out.

bullet-worm
10-30-2003, 05:44 PM
try creating a file called maps.cfg and put this in it:

set sv_mapRotation "gametype sd map mp_dawnville map mp_railyard map mp_rocket map mp_pavlov gametype tdm map mp_dawnville map mp_railyard map mp_rocket map mp_pavlov map mp_carentan map mp_depot map mp_powcamp map mp_ship gametype dm map mp_dawnville map mp_railyard map mp_rocket map mp_pavlov map mp_carentan map mp_depot map mp_powcamp map mp_ship gametype re map ship"

map mp_dawnville


Put the maps.cfg file in the "main" directory, then add "+exec maps.cfg" to your command line.

Let me know!!! :) Haven't had a chance to even start mine yet, still uploading!! hehehehehe....

worm

Weazel
10-30-2003, 05:56 PM
Thanks worm you are helping a ton...

I think mine is up and running, just have to see if it switches maps correctly... Thanks for the help...

~W

captnroger
10-30-2003, 06:02 PM
Adding this to the command line did it: + exec server_tdm +map_rotate

How can I change the game to behind enemy lines or search and destroy?

Also, how can I change my hostname from the command line?

Thanks all, you'll see three servers out there 'Captnroger's'

captnroger
10-30-2003, 06:03 PM
Side note - I booted up three 24 player servers, and they were all FULL within 2 minutes. :o

Just looked at my logfile, after 30 minutes of uptime it's already hitting 500K !!! Better keep an eye on that...

Lestat
10-30-2003, 06:04 PM
excellent the maps.cfg worked nicely...

bullet-worm
10-30-2003, 06:06 PM
Okay... you may also want to add these to your .cfg file:

sv_hostname "<what you want to name your server>"

sv_maxclients <#> //sets the maximum # of players, default is 20

rconPassword "<Your RCON Password>"


Once you do this, you may want to rename your .cfg file to something like "servercfg.cfg" and change that in your shortcut as well. Do not use "server.cfg", I am finding a file called that in the Pak0.pk3, so I don't know what that would do if you tried to create another.

Way to go man! You are well on your way to being one of the first few with a dedicated server set up.

Also, looking at some of the developers .cfg files in the Pak0.pk3 file, it appears that 'vstr' works. Sweetnes...

worm

Lestat
10-30-2003, 06:28 PM
named this file serverexec.cfg then added to command line target +set dedicated 2 +set exec serverexec.cfg



set dedicated 2


set developer 1


set sv_pure 0


set sv_hostname "CoD Server"
set g_banIPs ""
set g_password ""
set rconPassword "secret"
set g_log "games_mp.log"
set g_logsync "0"

set scr_motd "Welcome to FragHQ.com Servers"
set g_gametype 'dm" //gametype: bel, dm, re, sd, tdm
//setnet_ip //IP to listen on for multihomed servers
//set net_port 28960 port to listen on
set sv_maxclients "10" //Max number of players

//General Game Default Description
set scr_allow_bar "1" //0 - disable weapon 1 - enable weapon
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"
set scr_allow_vote "1" //Allow call voting
set scr_drawfriend "0" //Draws a team icon over teammates
set scr_forcerespawn "0" //Force respawning - DM & TDM
set scr_friendlyfire "0" //0 - off 1 - on 2 - reflect damage



//Behind Enemy Lines Default Description
set scr_bel_alivepointtime "10" //Number of seconds to get a point for staying alive as allied
set scr_bel_scorelimit "50" //Map score limit
set scr_bel_timelimit "30" //Map time limit, in minutes - 0 to 1440
set
//Deathmatch Default Description
set scr_dm_scorelimit "50" //Map score limit
set scr_dm_timelimit "30" //Map time limit - 0 to 1440, in minutes

//Retrieval Default Description
set scr_re_graceperiod "15" //Time at round start where spawning and weapon choosing is still allowed, 0 - 60 in seconds
set scr_re_roundlength "4" //Map round length in minutes
set scr_re_roundlimit "0" //Max Number of round wins per map
set scr_re_scorelimit "10" //Map score limit
set scr_re_showcarrier "0" //Show the objective carrier on compass
set scr_re_timelimit "0" //Map time limit, in minutes - 0 to 1440

//Search and Destroy Default Description
set scr_sd_graceperiod "15" //Time at round start where spawning and weapon choosing is still allowed, 0 - 60 seconds
set scr_sd_roundlength "4" //round length
set scr_sd_roundlimit "0" //Max Number of round wins per map
set scr_sd_scorelimit "10" //Map team score limit per map
set scr_sd_timelimit "0" //Map time limit, in minutes - 0 to 1440

//Team Deathmatch Default Description
set scr_tdm_scorelimit "100" //Map score limit
set scr_tdm_timelimit

set sv_mapRotation "gametype sd map mp_dawnville map mp_railyard map mp_rocket map mp_pavlov gametype tdm map mp_dawnville map mp_railyard map mp_rocket map mp_pavlov map mp_carentan map mp_depot map mp_powcamp map mp_ship gametype dm map mp_dawnville map mp_railyard map mp_rocket map mp_pavlov map mp_carentan map mp_depot map mp_powcamp map mp_ship gametype re map ship"

map mp_dawnville

Weazel
10-30-2003, 06:28 PM
Ya I only have a 10 player server but it was full in like 1 minute... Might have to password protect it if I want to get some friends to play... hehe

stole this off iwnation
------------
set a map: "map mp_brecourt"
together: "gametype dm map mp_brecourt"
or "gametype dm map mp_brecourt map mp_depot gametype re map mp_ship"

You you can change your rotation and change the gametype at the same time. Just modify your maps.cfg

Weazel
10-30-2003, 06:30 PM
Thanks Lestat, I think that will help alot get started :)

bullet-worm
10-30-2003, 06:30 PM
As a side note, you will notice in the "sv_mapRotation" line that there are several instances of "gametype" followed by a two-three letter code (either sd, tdm, re, dm, or bel). This code is the game-style, you can change it right in the rotation!!!

sd = Search and Destroy (Objective)
tdm = Team Death Match
re = Retrieval (Capture and return with an item)
dm = Death Match
bel = Behind Enemy Lines

Mix it up!! Add some "Behind enemy Lines" maps (I don't see any in the rotation I provided, which was simply a rip from the server.cfg file found in Pak0.pk3)

Enjoy!!!!!

worm

bullet-worm
10-30-2003, 06:33 PM
Nice compilation there Lestat!!! Sweet!!!

Going to steal it myself! :!:

worm

Weazel
10-30-2003, 06:37 PM
FYI:

Brecourt = mp_brecourt
Carentan = mp_carentan
Chateau = mp_chateau
Dawnville = mp_dawnville
Depot = mp_depot
Harbor = mp_harbor
Hurtgen = mp_hurtgen
Pavlov = mp_pavlov
POW Camp = mp_powcamp
Railyard = mp_railyard
Rocket = mp_rocket
Ship = mp_ship

NOTE: mp_chateau and mp_ship do not support the Search & Destroy multiplayer game type.

Weazel
10-30-2003, 06:42 PM
Also FYI: on Lestat's server config be sure to change the last "ship" in his rotation to "mp_ship" or it will most likely fail.

Lestat
10-30-2003, 06:55 PM
Thanks guys.... boy I was worried there for about an hour how this thing was going to work under windows. Us host have to stick together lol!! :smile:

Weazel
10-30-2003, 07:03 PM
Also, I made this map rotation...

it has every map with every type of gametype... each map is rotated along with changing the gametype everytime the map changes... Should give you hours and hours of fun :P

set sv_mapRotation "gametype sd map mp_brecourt gametype tdm map mp_carentan gametype re map mp_chateau gametype dm map mp_dawnville gametype bel map mp_depot gametype sd map mp_harbor gametype tdm map mp_hurtgen gametype re map mp_pavlov gametype dm map mp_powcamp gametype bel map mp_railyard gametype sd map mp_rocket gametype tdm map mp_ship gametype re map mp_brecourt gametype dm map mp_carentan gametype bel map mp_chateau gametype sd map mp_dawnville gametype tdm map mp_depot gametype re map mp_harbor gametype dm map mp_hurtgen gametype bel map mp_pavlov gametype sd map mp_powcamp gametype tdm map mp_railyard gametype re map mp_rocket gametype dm map mp_ship gametype bel map mp_brecourt gametype sd map mp_carentan gametype tdm map mp_chateau gametype re map mp_dawnville gametype dm map mp_depot gametype bel map mp_harbor gametype sd map mp_hurtgen gametype tdm map mp_pavlov gametype re map mp_powcamp gametype dm map mp_railyard gametype bel map mp_rocket gametype tdm map mp_brecourt gametype re map mp_carentan gametype dm map mp_chateau gametype bel map mp_dawnville gametype sd map mp_depot gametype tdm map mp_harbor gametype re map mp_hurtgen gametype dm map mp_pavlov gametype bel map mp_powcamp gametype sd map mp_railyard gametype tdm map mp_rocket gametype re map mp_ship gametype dm map mp_brecourt gametype bel map mp_carentan gametype tdm map mp_dawnville gametype re map mp_depot gametype dm map mp_harbor gametype bel map mp_hurtgen gametype sd map mp_pavlov gametype tdm map mp_powcamp gametype re map mp_railyard gametype dm map mp_rocket gametype bel map mp_ship"

Lestat
10-30-2003, 07:04 PM
Excellent Weazel. Added to my config...

gss_gideon
10-30-2003, 07:13 PM
Can one of you pro's tell me how you uploade dthe files to the server and got them installed? I have a remote server that I can upload the files to but am not sure how its going to react if I zip up each CD and then try to run the install. My assumption is that it will error out when it asks for the second cd.

Can you walk me through the process of how you got it to install? I hope that I don't have to mess with VNC or something like it.

Thanks

Gideon

Weazel
10-30-2003, 07:33 PM
No clue how to help you there. I think at this time, since there is no stand-alone server available, you'll have to install the game on the server. Which if it is a remote server, would require something like VNC to do. Maybe one of the other guys that are putting it on a remote server can help ya better than me. Sorry...

~W

Lestat
10-30-2003, 07:56 PM
In theory you should only need to uplad the directory you installed to the remote server and extraxt the registry settings for the new install. And export out of the registry then upload to the server.

rudedog
10-30-2003, 08:42 PM
WOW, just got home and it seems you guys started without me :o

How did you guys get past the no cd?
are you running this local?

I am uploading this to our new CoDadmin server but it's going to take over 6 hours on my 30K upload cable line

Lestat
10-30-2003, 08:44 PM
Requires no cd! :lol: :!:

sphinx175
10-30-2003, 09:24 PM
I'm curious about this sv_rotation parameter.
it seems to be a bit more cumbersome than how I would setup an ET or RtCW server.

In fact, I just wanted to confirm that the map configs posted here actually do rotate the maps and more importantly rotate back to the top once the last map in the sv_rotation is played out.

I recall in RtCW I would setup a marker in the file to loop back
seta d1 and then vstr d1 to do map rotations and have the maps start back over again.

Also of note: Server population of users goes down dramatically when you turn on Friendlyfire :lol: Silly newbs

-Sphinx

sphinx175
10-30-2003, 09:27 PM
As a side note. My config that I'm trying
set dedicated "2"
set sv_pure "1"
set sv_hostname " ^2|^0R^2| ^1CoD Server"
seta sv_maxclients "22"
seta sv_maxRate "15000"
seta sv_maxPing "600"
seta sv_minPing "0"
seta sv_fps "20"
seta sv_privateclients "2"
seta com_zonemegs "32"
seta com_soundmegs "32"
seta sv_cheats "0"

set g_gametype "dm" //gametype: bel, dm, re, sd, tdm
set scr_motd "Welcome to ^2|^0R^2| ^1FF is ON!!"

//setnet_ip //IP to listen on for multihomed servers
//set net_port 28960 port to listen on
set sv_maxclients "22" //Max number of players
set sv_privateclients "2"
//General Game Default Description
set scr_allow_bar "1" //0 - disable weapon 1 - enable weapon
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "0"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "1"
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_nagant "1"
set scr_allow_nagantsniper "1"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "1"
set scr_allow_sten "1"
set scr_allow_thompson "1"
set scr_allow_vote "1" //Allow call voting
set scr_drawfriend "0" //Draws a team icon over teammates
set scr_forcerespawn "0" //Force respawning - DM & TDM
set scr_friendlyfire "1" //0 - off 1 - on 2 - reflect damage



//Behind Enemy Lines Default Description
set scr_bel_alivepointtime "10" //Number of seconds to get a point for staying alive as allied
set scr_bel_scorelimit "50" //Map score limit
set scr_bel_timelimit "30" //Map time limit, in minutes - 0 to 1440
set
//Deathmatch Default Description
set scr_dm_scorelimit "50" //Map score limit
set scr_dm_timelimit "30" //Map time limit - 0 to 1440, in minutes

//Retrieval Default Description
set scr_re_graceperiod "40" //Time at round start where spawning and weapon choosing is still allowed, 0 - 60 in seconds
set scr_re_roundlength "8" //Map round length in minutes
set scr_re_roundlimit "0" //Max Number of round wins per map
set scr_re_scorelimit "10" //Map score limit
set scr_re_showcarrier "0" //Show the objective carrier on compass
set scr_re_timelimit "0" //Map time limit, in minutes - 0 to 1440

//Search and Destroy Default Description
set scr_sd_graceperiod "15" //Time at round start where spawning and weapon choosing is still allowed, 0 - 60 seconds
set scr_sd_roundlength "8" //round length
set scr_sd_roundlimit "0" //Max Number of round wins per map
set scr_sd_scorelimit "10" //Map team score limit per map
set scr_sd_timelimit "0" //Map time limit, in minutes - 0 to 1440

//Team Deathmatch Default Description
set scr_tdm_scorelimit "80" //Map score limit
set scr_tdm_timelimit

set g_banIPs ""
set g_password ""
set g_log "games_mp.log"
set g_logsync "0"


exec maps.cfg



--maps.cfg file

set sv_mapRotation "gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_depot gametype sd map mp_harbor gametype sd map mp_hurtgen gametype sd map mp_pavlov gametype sd map mp_powcamp gametype sd map mp_railyard gametype sd map mp_rocket gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_harbor gametype tdm map gametype tdm mp_hurtgen gametype tdm map gametype tdm mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_ship gametype tdm map mp_chateau gametype re map mp_brecourt gametype re map mp_carentan gametype re map mp_dawnville gametype re map mp_depot gametype re map mp_harbor gametype re map map_hurtgen gametype re map mp_pavlov gametype re map mp_powcamp gametype re map mp_railyard gametype re map mp_rocket gametype re map mp_ship gametype re map mp_chateau gametype bel map mp_brecourt gametype bel map mp_carentan gametype bel map mp_dawnville gametype bel map mp_depot gametype bel map mp_harbor gametype bel map mp_hurtgen gametype bel map mp_pavlov gametype bel map mp_powcamp gametype bel map mp_railyard gametype bel map mp_rocket gametype bel map mp_ship gametype bel map mp_chateau"

rudedog
10-30-2003, 10:24 PM
confirmed do not use server.cfg - does not work. rename to something else.

imported_Boogieman
11-01-2003, 01:28 AM
Is there a second confirmation that a local install CAN allow a 'CD-less' dedicated server startup w/ the proper command switches?

AADiC
11-01-2003, 01:51 AM
I will confirm that, CODAdmin server is a CDless server. CD check is not performed when MP is started.

imported_Boogieman
11-01-2003, 09:50 PM
Thanks bro! For the last question...will this method keep me from using my 'playing' machine to connect to this server? IOW, if I've installed CoD on my server and entered the CD key on that box AND installed it on my home computer to actually play on my server, will there be a CD key conflict detected?

Sorry for the silly question, but I've never run a server w/ a game that doesn't have a stand-alone, dedicated server product before.

rudedog
11-01-2003, 10:17 PM
Your dedicated server does not need any CD key. it will not effect your "playing" machine.

FYI our server is just the files from the cd uploaded to the server. we did not install anything.