PDA

View Full Version : Gametype keeps defaulting to S&D on server...???


KeyserSoze
11-16-2003, 12:57 AM
Gidday
I hav emade up configs for every type of game. Before I execute a config I change the game type to the one I want thru rcon then I exec the config and it loads hte new game type. It plays the map then revers to S&D gametype. Also this happens if someone calls a vote and the gametype changes. It plays the new gameype for 1 map then reverts to S&D - the configs I am using are all the same except for settings to particular gametypes - but here is an example...

// Passwords
set rconPassword "xxx"
set g_password ""
set sv_privatePassword "xxx"

// Public Information
set sv_hostname "^2 [FS] ^7Clan Server TDM(FF on)"
set scr_motd "Welcome to the FS clan server. Have fun. We reserve the right to restrict access to this server :)"
sets .Admin "FS Nazi Admin"
sets .Email "dan.randall@xtra.co.nz"
sets .IRC ""
sets .Website "http://mod.nzgc.net.nz"
sets .Location "Wellington"

// General Settings
set scr_friendlyfire "2"
set sv_maxClients "20"
set sv_privateClients "4"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "200"
set sv_pure "1"
set logfile "1"
set g_log "games_mp.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""

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

// DM
set scr_dm_scorelimit "60"
set scr_dm_timelimit "20"
set scr_drawfriend "1"
set scr_forcerespawn "0"

// TDM
set scr_tdm_scorelimit "0"
scr_tdm_timelimit "20"

// SD
set scr_sd_graceperiod "30"
set scr_sd_roundlength "4"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "20"

// BEL
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "75"
set scr_bel_timelimit "20"

// RE
set scr_re_graceperiod "30"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_scorelimit "7"
set scr_re_timelimit "20"
set scr_re_showcarrier "0"

// Map Rotation
set sv_mapRotation "gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_chateau gametype tdm map mp_dawnville gametype tdm map mp_depot gametype tdm map mp_harbor gametype tdm map mp_hurtgen gametype tdm map mp_pavlov gametype tdm map mp_powcamp gametype tdm map mp_railyard gametype tdm map mp_rocket gametype tdm map mp_ship "
set sv_mapRotationCurrentmap "mp_brecourt "


map mp_brecourt

If anyone knows what I'm doing wrong then please let me know as it's fkn frustrading :D

rudedog
11-16-2003, 06:36 AM
What does your shortcut to codMP.exe look like?

Have you tried to shutdown and restart the server?
Are you running any custom server sided mods?

Hammer
11-16-2003, 09:07 AM
You should set sv_maprotationcurrent to the empty string in your config. Also, the rotation doesn't really start until you enter map_rotate. You can start a map using map <mapname>, but once that map completes, whatever is currently in sv_maprotationcurrent will be used for the next map.

In addition, make sure that for every map in sv_maprotation, you define it as gametype <type> map <mapname>, especially if you allow callvote on your server. For example, if you were to setup sv_maprotation as "gametype tdm map mp_brecourt mp_pavlov" and then during mp_brecourt someone calls a vote to change map and gametype to mp_ship/BEL, when mp_ship completes it will run mp_pavlov as BEL. When you start the rotation, it set gametype to tdm and starts mp_brecourt, leaving sv_maprotationcurrent with only "mp_pavlov". Since you didn't specify a gametype, it will use whatever the game is currently running. Hence it's always important to define each map with appropriate gametype.

Pyldrvr
11-17-2003, 12:09 AM
Mine does the same thing and that set sv_maprotationcurrent "" doesnt seem to do any good.

KeyserSoze
11-17-2003, 12:56 AM
What does your shortcut to codMP.exe look like?

Have you tried to shutdown and restart the server?
Are you running any custom server sided mods?

"C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec xxx.cfg +map_rotate

No server mods, yep tried restarting and stoping - still no dice :(