PDA

View Full Version : Config help


df
11-15-2003, 05:48 PM
I need some help getting my config to work. Basically I've been poking around and pretty much just cutting and pasting from a few sites. It's been a while since I ran my MoH server so I'm still alittle foggy. Took forever to realize it doesn't like the name server.cfg GRRRRRR. Below is what I ahve in my cfg file:


// Hostname and Message of the Day
set sv_hostname "^6Disco^4Fever's ^5CoD TDM"
//set scr_motd "Destroy Target A or B by planting explosives at either location."

g_gametype tdm

sv_pure 1

// Maximum Clients
set sv_maxclients "40"


// Team Icons
set scr_drawfriend "1"
// Forced Respawn
set scr_forcerespawn "0"

// Friendly Fire
set scr_friendlyfire "0"

// Allow Voting
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team-killers.
set scr_allow_vote "0"

// Rconpassword
set rconpassword "*********"

seta sv_master1 "master0.gamespy.com"
seta sv_master2 "master1.gamespy.com"
seta sv_master3 "clanservers.net"

// Weapons Allowed
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
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"

// Search and Destroy Settings
//set scr_sd_graceperiod "20"
//set scr_sd_roundlength "3"
//set scr_sd_roundlimit "7"
//set scr_sd_scorelimit "5"
//set scr_sd_timelimit "0"

// Behind Enemy Lines Settings
//set scr_bel_alivepointtime "10"
//set scr_bel_scorelimit "50"
//set scr_bel_timelimit "20"

// Retrieval Settings
//set scr_re_graceperiod "20"
//set scr_re_roundlength "3"
//set scr_re_roundlimit "7"
//set scr_re_scorelimit "5"
//set scr_re_showcarrier "0"
//set scr_re_timelimit "0"

// Team Deathmatch
set scr_tdm_scorelimit "250"
set scr_tdm_timelimit "15"

// Deathmatch
//set scr_dm_scorelimit "80"
//set scr_dm_timelimit "20"

// The rotation.
//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_railyard
//gametype sd map mp_rocket"

// Team Death Match Rotation
set t_brecourt "set g_gametype tdm; map mp_brecourt; vstr dm_maps"
set t_carentan "set g_gametype tdm; map mp_carentan; vstr dm_maps"
set t_chateau "set g_gametype tdm; map mp_chateau; vstr dm_maps"
set t_dawn "set g_gametype tdm; map mp_dawnville; vstr dm_maps"
set t_depot "set g_gametype tdm; map mp_depot; vstr dm_maps"
set t_harbor "set g_gametype tdm; map mp_harbor; vstr dm_maps"
set t_hurtgen "set g_gametype tdm; map mp_hurtgen; vstr dm_maps"
set t_pavlov "set g_gametype tdm; map mp_pavlov; vstr dm_maps"
set t_pow "set g_gametype tdm; map mp_powcamp; vstr dm_maps"
set t_rail "set g_gametype tdm; map mp_railyard; vstr dm_maps"
set t_rocket "set g_gametype tdm; map mp_rocket; vstr dm_maps"
set t_ship "set g_gametype tdm; map mp_ship; vstr dm_maps"


When I start the server I see this in the console window:

COD MP 1.1 build win-x86 Oct 8 2003
----- FS_Startup -----
Current language: english
Current search path:
E:\Call of Duty\main\pak6.pk3 (3 files)
E:\Call of Duty\main\pak5.pk3 (4858 files)
E:\Call of Duty\main\pak4.pk3 (1668 files)
E:\Call of Duty\main\pak3.pk3 (1992 files)
E:\Call of Duty\main\pak2.pk3 (694 files)
E:\Call of Duty\main\pak1.pk3 (2642 files)
E:\Call of Duty\main\pak0.pk3 (12828 files)
E:\Call of Duty/main
E:\Call of Duty\main\localized_english_pak1.pk3 (3736 files)
localized assets pak file for english
E:\Call of Duty\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 AMD w/ 3DNow!
Measured CPU speed is 1.53 GHz
System memory is 512 MB (capped at 1 GB)
Video card memory is 0 MB
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: localhost:28960
Hostname: gameserver
IP: 206.27.0.1
--- Common Initialization Complete ---
Working directory: E:\Call of Duty
execing ded.cfg
g_gametype will be changed upon restarting.
sv_maxclients will be changed upon restarting.



I'm greatful for any help. Thanks

df
11-15-2003, 07:33 PM
Well I've got it to run but I can;t get the map rotation to work. I've tried both of these:

// Team Death Match Rotation
seta sv_mapRotation "map mp_brecourt; map mp_carentan; map mp_chateau; map mp_dawnville; map

mp_depot; map mp_hurtgen; map mp_pavlov; map mp_powcamp; map mp_railyard; map mp_rocket; map

mp_ship"


//set t_brecourt "set g_gametype tdm; map mp_brecourt; vstr dm_maps"
//set t_carentan "set g_gametype tdm; map mp_carentan; vstr dm_maps"
//set t_chateau "set g_gametype tdm; map mp_chateau; vstr dm_maps"
//set t_dawn "set g_gametype tdm; map mp_dawnville; vstr dm_maps"
//set t_depot "set g_gametype tdm; map mp_depot; vstr dm_maps"
//set t_harbor "set g_gametype tdm; map mp_harbor; vstr dm_maps"
//set t_hurtgen "set g_gametype tdm; map mp_hurtgen; vstr dm_maps"
//set t_pavlov "set g_gametype tdm; map mp_pavlov; vstr dm_maps"
//set t_pow "set g_gametype tdm; map mp_powcamp; vstr dm_maps"
//set t_rail "set g_gametype tdm; map mp_railyard; vstr dm_maps"
//set t_rocket "set g_gametype tdm; map mp_rocket; vstr dm_maps"
//set t_ship "set g_gametype tdm; map mp_ship; vstr dm_maps"

map mp_brecourt

Basically it loads brecourt and won't rotate. I've tried what I haver commented as well as uncommented. Can anybody tell me what I'm doing wrong?

IchBin
11-15-2003, 07:38 PM
Think you could be a little more descriptive? Are you saying that your server won't start? Why do you have all the BEL, SD, and RE settings in your config if you're going to comment them out? Our cfg is called server.cfg and we have no problems at all. The way you've set your maps up is confusing to me. Here's how we did ours.

// The rotation.
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_pavlov gametype sd map mp_railyard gametype sd map mp_rocket gametype re map mp_chateau gametype re map mp_powcamp"

map mp_brecourt

df
11-15-2003, 08:06 PM
The server runs, just the rotaion won't work. I comment the other stuff just to cahnge back and forth. I need to just make a few different files. So if I used your rotation and replace the sd with TDM it should work right?

df
11-15-2003, 08:16 PM
Dunno what I'm doing wrong but that still doesn't work. It loads the first map, brecourt, and that is it.

imported_MaD-Ogre
11-15-2003, 09:14 PM
If that is truly your map rotation, take out the semi-colons.