PDA

View Full Version : map rotation not working...


jroger21
02-13-2008, 03:48 AM
I made a long list of maps and gametypes for a rotation but when I try to load the game up it says:

" ********************
ERROR: Attempted to overrun string in call to va()
********************


I took the list rotation out of sv_maprotationcurrent "" and it runs fine again,

Here is a copy of my server.cfg, look towards the bottom. The big list of maps is what I want to run, Also here is the target command string for my desktop icon to start up the server:


C:\GAMES\COD4\iw3mp.exe +set dedicated 1 +set net_ip 34.84.110.61 +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster "0" +exec server.cfg +map_rotate +set fs_game mods/modwarfare


Here is the CONFIG cut and pasted:




//************************************************** ****************************
// Color Codes
//************************************************** ****************************
// Colors for text. Do not clear the comment in front of the color codes.
// Useful for your server name, motd msg's - Information and ref use only
//
// ^1 = Red
// ^2 = Green
// ^3 = Yellow
// ^4 = Blue
// ^5 = Cyan
// ^6 = pink/Magenta
// ^7 = White
// ^0 = Black
// ************************************************** ***
// ******Public Info Displayed in the Game Browser******
// ************************************************** ***
sets sv_hostname "Balad COD4 SERVER"
sets _Admin "The Best"
sets _Email ""
sets _Website ""
sets _Location ""
sets _Irc ""
sets _Mod "None"
sets _ModVer ""
sets _ModUpdate ""
sets _Maps "COD4 Stock and Custom Maps"
// ************************************************** ***
// *********** Server Settings ****************
// ************************************************** ***
set scr_motd "Welcome to the Balad COD4 Server" // Message of the day
set rcon_password "xxxxxxx" // Admin rcon password
sets g_needpass "0" // Makes server private (0=no 1=yes)
set g_password "" // Password to join private server

// Reserved Slots
set sv_privateClients "0" // Number of Private slots (Taken from server max clients)
set sv_privatePassword "CHANGEME" // Password for the private slots

// Server Network Settings
set sv_maxRate "5000" // Data transfer rate between player and server (5000-25000)
set com_hunkMegs "256" // Memory used by server (May be outdated)
set net_noipx "1" // Allow ONLY tcp/ip protocol, player/server communications
set sv_floodProtect "1" // Flood Protection (1=on 0=off - May be outdated)
//set sv_fps "20" // Not used, limits frames per second to players

// Limit Lag and reconnect spammers
set sv_minPing "0" // Player minimum ping
set sv_maxPing "250" // Player max ping allowed
set sv_reconnectlimit "3" // Max allowed reconnect attempts

// Log Settings
set logfile "1" // 0 = NO log, 1 = log file enabled
set g_logsync "2" // 0=no log, 1=buffered, 2=continuous, 3=append
set g_log "games_mp.log" // Name of log file, default is games_mp.log
set sv_log_damage "1"

// Anti Cheat Settings
set sv_pure "1" // Requires players files to match the server (1=on 0=off)
seta sv_allowAnonymous "0" // Allows/Disallows anonymous players to join the server (1=yes 0=no)
set sv_kickBanTime "3600" // Time in seconds a temp banned player must wait to rejoin the server
set g_banIPs "" // Banned Ip's (May be outdated, cod4 uses banlist.txt file)
set sv_disableClientConsole "0" // Disables players console to prevent issue of commands (1=yes 0=no)
set g_no_script_spam "1"
set cl_autocmd "0"
set sv_cheats "0" // Enable/Disable cheats (May be outdated)

// Map Voting
set g_allowvote "0" // Enable/Disable map voting (1=on 0=off)

// Drop inactive players
set sv_timeout "300" // Drops a player that times out (In seconds)
set sv_connectTimeout "300" // Drops a player whose connection times out (In seconds)
set g_inactivity "0" // Drops inactive player (In seconds)
set g_inactivityspectator "0" // Drops inactive spectator (In seconds)

// Client Download Settings. (0=off/1=on) Used for MODs and custom maps
set sv_allowdownload "1"
seta sv_wwwDownload "1"
seta sv_wwwBaseURL "http://www.yourwebsite.com/base_directory"
seta sv_wwwDlDisconnected "0"

// In-game voice comm-Uses bandwidth, get teamspeak or ventrilo
set sv_voice "1"
set sv_voiceQuality "4"
set voice_deadChat "0"
set voice_global "0"
set voice_localEcho "0"
set winvoice_mic_mute "1"
//************************************************** ****************************
// First gametype to load
//************************************************** ****************************
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
//************************************************** ****************************
set g_gametype "war"

//************************************************** ****************************
// DEATHMATCH
//************************************************** ****************************
set scr_dm_scorelimit 150 // Score Limit
set scr_dm_timelimit 10 // Time Limit
set scr_dm_roundlimit 1 // Number of rounds
set scr_dm_numlives 0 // Elimination
set scr_dm_playerrespawndelay 0 // Respawn Delay
set scr_dm_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// DOMINATION
//************************************************** ****************************
set scr_dom_scorelimit 200 // Score Limit
set scr_dom_timelimit 0 // Time Limit
set scr_dom_roundlimit 1 // Number of rounds
set scr_dom_numlives 0 // Elimination
set scr_dom_playerrespawndelay 0 // Respawn Delay
set scr_dom_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// TEAM DEATHMATCH
//************************************************** ****************************
set scr_war_scorelimit 750 // Score Limit
set scr_war_timelimit 15 // Time Limit
set scr_war_roundlimit 2 // Number of rounds
set scr_war_numlives 0 // Elimination
set scr_war_playerrespawndelay 0 // Respawn Delay
set scr_war_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// SABOTAGE
//************************************************** ****************************
set scr_sab_scorelimit 1 // Score Limit
set scr_sab_timelimit 20 // Time Limit
set scr_sab_roundlimit 0 // Number of rounds
set scr_sab_roundswitch 1 // Switch teams after this many rounds
set scr_sab_numlives 0 // Elimination
set scr_sab_bombtimer 30 // Bomb Timer
set scr_sab_planttime 2.5 // Time to plant a bomb
set scr_sab_defusetime 5 // Time to defuse a bomb
set scr_sab_hotpotato 0 // Shared bomb timer
set scr_sab_playerrespawndelay 7.5 // Respawn Delay
set scr_sab_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// SEARCH AND DESTROY CLASSIC
//************************************************** ****************************
set scr_sd_scorelimit 4 // Score Limit
set scr_sd_timelimit 2.5 // Time Limit
set scr_sd_roundlimit 0 // Number of rounds
set scr_sd_roundswitch 3 // Switch teams after this many rounds
set scr_sd_numlives 1 // Elimination
set scr_sd_bombtimer 45 // Bomb Timer
set scr_sd_planttime 5 // Time to plant a bomb
set scr_sd_defusetime 5 // Time to defuse a bomb
set scr_sd_multibomb 0 // Allow/Disallow multiple bombs (1=on 0=off)
set scr_sd_playerrespawndelay 0 // Respawn Delay
set scr_sd_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// CAPTURE THE FLAG -- NOT YET
//************************************************** ****************************
//set scr_ctf_scorelimit 10 // Score Limit
//set scr_ctf_timelimit 5 // Time Limit
//set scr_ctf_roundlimit 2 // Number of rounds
//set scr_ctf_roundswitch 1 // Switch teams after this many rounds
//set scr_ctf_numlives 0 // Elimination
//set scr_ctf_playerrespawndelay 0 // Respawn Delay
//set scr_ctf_waverespawndelay 15 // Wave Respawn Delay

//************************************************** ****************************
// KING OF THE HILL - aka Headquarters
//************************************************** ****************************
set scr_koth_scorelimit 250 // Score Limit
set scr_koth_timelimit 15 // Time Limit
set scr_koth_roundlimit 1 // Number of rounds
set scr_koth_roundswitch 1 // Switch teams after this many rounds
set scr_koth_numlives 0 // Elimination
set scr_koth_playerrespawndelay 15 // Respawn Delay
set scr_koth_waverespawndelay 0 // Wave Respawn Delay
set koth_autodestroytime 60
set koth_spawntime 0 // [0-n] (seconds, hq spawn time)
set koth_kothmode 0 // [0-1] (classic mode, non-classic)
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 60

//************************************************** ****************************
// gameplay
//************************************************** ****************************
set scr_game_perks 1 // [0-1] 1=on/0=off
set scr_game_allowkillcam 1 // [0-1] 1=on/0=off
set scr_game_onlyheadshots 0 // [0-1] 1=on/0=off
set scr_game_deathpointloss 0 // [0-1] 1=on/0=off
set scr_game_suicidepointloss 0 // [0-1] 1=on/0=off
set scr_team_teamkillpointloss 1 // [0-1] 1=on/0=off
set scr_game_spectatetype 2 // [0-2] (Disabled, Team/Players Only, Free)
set scr_game_forceuav 1 // [0-1] 1=on/0=off
set scr_game_hardpoints 1 // [0-1] 1=on/0=off (artillery, uav, helicopter)
set scr_teambalance 1 // [0-1] 1=on/0=off
set scr_enable_nightvision 1 // [0-1] 1=on/0=off
set scr_enable_music 0 // [0-1] 1=on/0=off
set scr_enable_hiticon 1 // [0-1] 1=on/0=off
set sv_zombietime 3 // Dead bodies stay time (In seconds)
//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery 1 // [0-1] 1=on/0=off
set scr_hardpoint_allowuav 1 // [0-1] 1=on/0=off
set scr_hardpoint_allowhelicopter 1 // [0-1] 1=on/0=off

//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype 2 // [0-3] (Disabled, Enabled, Reflect, Shared)
set scr_team_teamkillspawndelay 10 //Spawn delay in seconds
set scr_team_kickteamkillers 0 // [0-1] 1=yes/0=no
set g_compassShowEnemies 0 // [0-1] 1=on/0=off

//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth 100 //Health 0-100
set scr_player_suicidespawndelay 0 //Spawn delay in seconds
set scr_player_healthregentime 5 //Health regeneration in seconds
set scr_player_forcerespawn 1 // [0-1] 1=yes/0=no
set scr_player_sprinttime 4 //Sprint time in seconds

//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore 0 // [0-1] 1=on/0=off
set scr_oldschool_mw 0 // [0-1] 1=on/0=off
set ui_hud_obituaries 1 // [0-1] 1=on/0=off
set ui_hud_showobjicons 1 // [0-1] 1=on/0=off

set sv_maprotationcurrent "gametype koth map mp_convoy gametype sd map mp_backlot gametype sab map mp_bog gametype koth map mp_bloc gametype dm map mp_countdown gametype sd map mp_crash gametype koth map mp_crash_snow gametype sd map mp_village gametype war map mp_crossfire gametype koth map mp_citystreets gametype koth map mp_village gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dm map mp_shipment gametype koth map mp_showdown gametype sd map mp_strike gametype koth map mp_village_night gametype sd map mp_vacant gametype sab map mp_cargoship gametype dm map mp_convoy gametype koth map mp_backlot gametype sd map mp_bog gametype sab map mp_bloc gametype koth map mp_subway gametype koth map mp_countdown gametype war map mp_crash gametype sd map mp_crash_snow gametype koth map mp_crossfire gametype sab map mp_citystreets gametype dm map mp_farm gametype koth map mp_overgrown gametype sd map mp_pipeline gametype war map mp_village_night gametype sab map mp_shipment gametype sd map mp_village_night gametype dm map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant gametype war map mp_cargoship gametype sd map mp_convoy gametype koth map mp_bog gametype dm map mp_crash gametype sab map mp_subway gametype sab map mp_convoy gametype sd map mp_showdown gametype sd map mp_shipment gametype dm map mp_vacant gametype sd map mp_bloc gametype koth map mp_crash gametype sd map mp_subway gametype dm map mp_crossfire gametype koth map mp_shipment gametype sab map mp_showdown gametype sd map mp_countdown gametype koth map mp_cargoship gametype war map mp_overgrown gametype sd map mp_crossfire gametype koth map mp_farm gametype dm map mp_citystreets gametype sab map mp_countdown gametype sd map mp_citystreets gametype sd map mp_farm gametype dm map mp_pipeline gametype sd map mp_cargoship gametype war map mp_crash_snow gametype sab map mp_overgrown"

//CTF not yet
//set sv_mapRotation "gametype ctf map mp_backlot gametype ctf map mp_bloc gametype ctf map mp_bog gametype ctf map mp_cargoship gametype ctf map mp_citystreets gametype ctf map mp_convoy gametype ctf map mp_countdown gametype ctf map mp_crash gametype ctf map mp_crossfire gametype ctf map mp_farm gametype ctf map mp_overgrown gametype ctf map mp_pipeline gametype ctf map mp_shipment gametype ctf map mp_showdown gametype ctf map mp_strike gametype ctf map mp_vacant"

//DM
//set sv_mapRotation "gametype dm map mp_backlot gametype dm map mp_bloc gametype dm map mp_bog gametype dm map mp_cargoship gametype dm map mp_citystreets gametype dm map mp_convoy gametype dm map mp_countdown gametype dm map mp_crash gametype dm map mp_crossfire gametype dm map mp_farm gametype dm map mp_overgrown gametype dm map mp_pipeline gametype dm map mp_shipment gametype dm map mp_showdown gametype dm map mp_strike gametype dm map mp_vacant"

//DOM
//set sv_mapRotation "gametype dom map mp_backlot gametype dom map mp_bloc gametype dom map mp_bog gametype dom map mp_cargoship gametype dom map mp_citystreets gametype dom map mp_convoy gametype dom map mp_countdown gametype dom map mp_crash gametype dom map mp_crossfire gametype dom map mp_farm gametype dom map mp_overgrown gametype dom map mp_pipeline gametype dom map mp_shipment gametype dom map mp_showdown gametype dom map mp_strike gametype dom map mp_vacant"

//KOTH
//set sv_mapRotation "gametype koth map mp_backlot gametype koth map mp_bloc gametype koth map mp_bog gametype koth map mp_cargoship gametype koth map mp_citystreets gametype koth map mp_convoy gametype koth map mp_countdown gametype koth map mp_crash gametype koth map mp_crossfire gametype koth map mp_farm gametype koth map mp_overgrown gametype koth map mp_pipeline gametype koth map mp_shipment gametype koth map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant"

//SOB
//set sv_mapRotation "gametype sab map mp_backlot gametype sab map mp_bloc gametype sab map mp_bog gametype sab map mp_cargoship gametype sab map mp_citystreets gametype sab map mp_convoy gametype sab map mp_countdown gametype sab map mp_crash gametype sab map mp_crossfire gametype sab map mp_farm gametype sab map mp_overgrown gametype sab map mp_pipeline gametype sab map mp_shipment gametype sab map mp_showdown gametype sab map mp_strike gametype sab map mp_vacant"

//SD
//set sv_mapRotation "gametype sd map mp_backlot gametype sd map mp_bloc gametype sd map mp_bog gametype sd map mp_cargoship gametype sd map mp_citystreets gametype sd map mp_convoy gametype sd map mp_countdown gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_farm gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_shipment gametype sd map mp_showdown gametype sd map mp_strike gametype sd map mp_vacant"

//WAR
//set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant gametype war map mp_crash_snow"

//MIXED
//set sv_maprotation ""







What is wrong? Do i ned to take out the map_rotate in the command stringfor the shortcut? take some backwhacks of something here or what?

Thanks guys and gals!!!

theMechanic
02-13-2008, 11:05 AM
ok, first things first:
change this to the first gametype in your string:
set g_gametype "war"

second:
move this to last for testing purposes:
set sv_maprotationcurrent "" and change your string back to set sv_mapRotation

third:
there is a character limit to the map string, i think its around 2095, try cutting your list in half at least.

Now, is this a home pc server? have you been able to join it or find it in the game browser?

theMechanic
02-13-2008, 11:19 AM
i just caught this, your using the modwarfare command, you need the cfg setup here
http://www.cod4.clanmech.com/examples/unranked.html

jroger21
02-13-2008, 01:39 PM
I hate to sound like a noob but could you rewrite that part for me in a post? I guess though maybe my map list is too long haha. how can i count the characters?

jroger21
02-13-2008, 01:46 PM
one thing too, i just found out that my character count for my map rotation is only 1898 characters, so i guess that isnt it,

theMechanic
02-13-2008, 02:21 PM
I hate to sound like a noob but could you rewrite that part for me in a post? I guess though maybe my map list is too long haha. how can i count the characters?
rewrite what, the guide?

you didnt answer my questions, however, try this startup command, notice the caps M in Modwarfare, and moves map_rotate to the end.
You know you have this set for a LAN server right?
+ set fs_game mods/Modwarfare +set dedicated 1 +set net_ip 34.84.110.61 +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster "0" +exec server.cfg +map_rotate

jroger21
02-14-2008, 12:24 AM
oh yeah bro its meant to be a dedicated LAN server, also that zip file on that unmodded clanmech link doesnt work. Basically if you could rewrite the mapping part of the config for me so that it would work...the command string form my desktop shortcut is exactly the same, the game works fine..server works...once i put the map list in config though i get that error...i take them out, server works fine again..

MajorDay
02-14-2008, 03:04 AM
As the Mechanic says change your commandline line to:

+set fs_game mods/modwarfare +set dedicated 1 +set net_ip 34.84.110.61 +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster "0" +exec server.cfg +map_rotate

map_rotate must always be last on the commandline

Don't use "set sv_maprotationcurrent"

use "set sv_maprotation" to start the rotation.

Don't use "set g_gametype "war" since the gametype is already in front of each map in the rotation.

Change "//SOB
//set sv_mapRotation to //SAB
//set sv_mapRotation


set sv_maprotation "gametype koth map mp_convoy gametype sd map mp_backlot gametype sab map mp_bog gametype koth map mp_bloc gametype dm map mp_countdown gametype sd map mp_crash gametype koth map mp_crash_snow gametype sd map mp_village gametype war map mp_crossfire gametype koth map mp_citystreets gametype koth map mp_village gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dm map mp_shipment gametype koth map mp_showdown gametype sd map mp_strike gametype koth map mp_village_night gametype sd map mp_vacant gametype sab map mp_cargoship gametype dm map mp_convoy gametype koth map mp_backlot gametype sd map mp_bog gametype sab map mp_bloc gametype koth map mp_subway gametype koth map mp_countdown gametype war map mp_crash gametype sd map mp_crash_snow gametype koth map mp_crossfire gametype sab map mp_citystreets gametype dm map mp_farm gametype koth map mp_overgrown gametype sd map mp_pipeline gametype war map mp_village_night gametype sab map mp_shipment gametype sd map mp_village_night gametype dm map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant gametype war map mp_cargoship gametype sd map mp_convoy gametype koth map mp_bog gametype dm map mp_crash gametype sab map mp_subway gametype sab map mp_convoy gametype sd map mp_showdown gametype sd map mp_shipment gametype dm map mp_vacant gametype sd map mp_bloc gametype koth map mp_crash gametype sd map mp_subway gametype dm map mp_crossfire gametype koth map mp_shipment gametype sab map mp_showdown gametype sd map mp_countdown gametype koth map mp_cargoship gametype war map mp_overgrown gametype sd map mp_crossfire gametype koth map mp_farm gametype dm map mp_citystreets gametype sab map mp_countdown gametype sd map mp_citystreets gametype sd map mp_farm gametype dm map mp_pipeline gametype sd map mp_cargoship gametype war map mp_crash_snow gametype sab map mp_overgrown"

jroger21
02-14-2008, 12:49 PM
As the Mechanic says change your commandline line to:

+set fs_game mods/modwarfare +set dedicated 1 +set net_ip 34.84.110.61 +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster "0" +exec server.cfg +map_rotate

map_rotate must always be last on the commandline

Don't use "set sv_maprotationcurrent"

use "set sv_maprotation" to start the rotation.

Don't use "set g_gametype "war" since the gametype is already in front of each map in the rotation.

Change "//SOB
//set sv_mapRotation to //SAB
//set sv_mapRotation





set sv_maprotation "gametype koth map mp_convoy gametype sd map mp_backlot gametype sab map mp_bog gametype koth map mp_bloc gametype dm map mp_countdown gametype sd map mp_crash gametype koth map mp_crash_snow gametype sd map mp_village gametype war map mp_crossfire gametype koth map mp_citystreets gametype koth map mp_village gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dm map mp_shipment gametype koth map mp_showdown gametype sd map mp_strike gametype koth map mp_village_night gametype sd map mp_vacant gametype sab map mp_cargoship gametype dm map mp_convoy gametype koth map mp_backlot gametype sd map mp_bog gametype sab map mp_bloc gametype koth map mp_subway gametype koth map mp_countdown gametype war map mp_crash gametype sd map mp_crash_snow gametype koth map mp_crossfire gametype sab map mp_citystreets gametype dm map mp_farm gametype koth map mp_overgrown gametype sd map mp_pipeline gametype war map mp_village_night gametype sab map mp_shipment gametype sd map mp_village_night gametype dm map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant gametype war map mp_cargoship gametype sd map mp_convoy gametype koth map mp_bog gametype dm map mp_crash gametype sab map mp_subway gametype sab map mp_convoy gametype sd map mp_showdown gametype sd map mp_shipment gametype dm map mp_vacant gametype sd map mp_bloc gametype koth map mp_crash gametype sd map mp_subway gametype dm map mp_crossfire gametype koth map mp_shipment gametype sab map mp_showdown gametype sd map mp_countdown gametype koth map mp_cargoship gametype war map mp_overgrown gametype sd map mp_crossfire gametype koth map mp_farm gametype dm map mp_citystreets gametype sab map mp_countdown gametype sd map mp_citystreets gametype sd map mp_farm gametype dm map mp_pipeline gametype sd map mp_cargoship gametype war map mp_crash_snow gametype sab map mp_overgrown"



I changed what you said to change, but that error comes up as soon as I throw the maps in there, the error in the server window says:

g_gametype will be changed upon restarting.
********************
ERROR: Attempted to overrun string in call to va()
********************

Here is my current config, do you still see something wrong? Could you place it in the correct form and paste it back for me? I would really appreciate it!!!


/************************************************** ****************************
// First gametype to load
//************************************************** ****************************
// "dm" - free for all deathmatch
// "dom" - domination
// "koth" - headquarters
// "sab" - sabotage
// "sd" - search & destroy
// "war" - team deathmatch
//************************************************** ****************************
set g_gametype ""

//************************************************** ****************************
// DEATHMATCH
//************************************************** ****************************
set scr_dm_scorelimit 150 // Score Limit
set scr_dm_timelimit 12 // Time Limit
set scr_dm_roundlimit 1 // Number of rounds
set scr_dm_numlives 0 // Elimination
set scr_dm_playerrespawndelay 0 // Respawn Delay
set scr_dm_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// DOMINATION
//************************************************** ****************************
set scr_dom_scorelimit 200 // Score Limit
set scr_dom_timelimit 0 // Time Limit
set scr_dom_roundlimit 1 // Number of rounds
set scr_dom_numlives 0 // Elimination
set scr_dom_playerrespawndelay 0 // Respawn Delay
set scr_dom_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// TEAM DEATHMATCH
//************************************************** ****************************
set scr_war_scorelimit 750 // Score Limit
set scr_war_timelimit 15 // Time Limit
set scr_war_roundlimit 2 // Number of rounds
set scr_war_numlives 0 // Elimination
set scr_war_playerrespawndelay 0 // Respawn Delay
set scr_war_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// SABOTAGE
//************************************************** ****************************
set scr_sab_scorelimit 1 // Score Limit
set scr_sab_timelimit 20 // Time Limit
set scr_sab_roundlimit 0 // Number of rounds
set scr_sab_roundswitch 1 // Switch teams after this many rounds
set scr_sab_numlives 0 // Elimination
set scr_sab_bombtimer 30 // Bomb Timer
set scr_sab_planttime 2.5 // Time to plant a bomb
set scr_sab_defusetime 5 // Time to defuse a bomb
set scr_sab_hotpotato 0 // Shared bomb timer
set scr_sab_playerrespawndelay 7.5 // Respawn Delay
set scr_sab_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// SEARCH AND DESTROY CLASSIC
//************************************************** ****************************
set scr_sd_scorelimit 4 // Score Limit
set scr_sd_timelimit 8 // Time Limit
set scr_sd_roundlimit 0 // Number of rounds
set scr_sd_roundswitch 3 // Switch teams after this many rounds
set scr_sd_numlives 1 // Elimination
set scr_sd_bombtimer 45 // Bomb Timer
set scr_sd_planttime 5 // Time to plant a bomb
set scr_sd_defusetime 5 // Time to defuse a bomb
set scr_sd_multibomb 0 // Allow/Disallow multiple bombs (1=on 0=off)
set scr_sd_playerrespawndelay 0 // Respawn Delay
set scr_sd_waverespawndelay 0 // Wave Respawn Delay

//************************************************** ****************************
// CAPTURE THE FLAG -- NOT YET
//************************************************** ****************************
//set scr_ctf_scorelimit 10 // Score Limit
//set scr_ctf_timelimit 5 // Time Limit
//set scr_ctf_roundlimit 2 // Number of rounds
//set scr_ctf_roundswitch 1 // Switch teams after this many rounds
//set scr_ctf_numlives 0 // Elimination
//set scr_ctf_playerrespawndelay 0 // Respawn Delay
//set scr_ctf_waverespawndelay 15 // Wave Respawn Delay

//************************************************** ****************************
// KING OF THE HILL - aka Headquarters
//************************************************** ****************************
set scr_koth_scorelimit 250 // Score Limit
set scr_koth_timelimit 15 // Time Limit
set scr_koth_roundlimit 1 // Number of rounds
set scr_koth_roundswitch 1 // Switch teams after this many rounds
set scr_koth_numlives 0 // Elimination
set scr_koth_playerrespawndelay 15 // Respawn Delay
set scr_koth_waverespawndelay 0 // Wave Respawn Delay
set koth_autodestroytime 60
set koth_spawntime 0 // [0-n] (seconds, hq spawn time)
set koth_kothmode 0 // [0-1] (classic mode, non-classic)
set koth_capturetime 20
set koth_destroytime 10
set koth_delayPlayer 0
set koth_spawnDelay 60

//************************************************** ****************************
// gameplay
//************************************************** ****************************
set scr_game_perks 1 // [0-1] 1=on/0=off
set scr_game_allowkillcam 1 // [0-1] 1=on/0=off
set scr_game_onlyheadshots 0 // [0-1] 1=on/0=off
set scr_game_deathpointloss 0 // [0-1] 1=on/0=off
set scr_game_suicidepointloss 0 // [0-1] 1=on/0=off
set scr_team_teamkillpointloss 1 // [0-1] 1=on/0=off
set scr_game_spectatetype 2 // [0-2] (Disabled, Team/Players Only, Free)
set scr_game_forceuav 1 // [0-1] 1=on/0=off
set scr_game_hardpoints 1 // [0-1] 1=on/0=off (artillery, uav, helicopter)
set scr_teambalance 1 // [0-1] 1=on/0=off
set scr_enable_nightvision 1 // [0-1] 1=on/0=off
set scr_enable_music 0 // [0-1] 1=on/0=off
set scr_enable_hiticon 1 // [0-1] 1=on/0=off
set sv_zombietime 10 // Dead bodies stay time (In seconds)
//************************************************** ****************************
// hardpoints
//************************************************** ****************************
set scr_hardpoint_allowartillery 1 // [0-1] 1=on/0=off
set scr_hardpoint_allowuav 1 // [0-1] 1=on/0=off
set scr_hardpoint_allowhelicopter 1 // [0-1] 1=on/0=off

//************************************************** ****************************
// teams
//************************************************** ****************************
set scr_team_fftype 0 // [0-3] (Disabled, Enabled, Reflect, Shared)
set scr_team_teamkillspawndelay 10 //Spawn delay in seconds
set scr_team_kickteamkillers 0 // [0-1] 1=yes/0=no
set g_compassShowEnemies 0 // [0-1] 1=on/0=off

//************************************************** ****************************
// player
//************************************************** ****************************
set scr_player_maxhealth 100 //Health 0-100
set scr_player_suicidespawndelay 0 //Spawn delay in seconds
set scr_player_healthregentime 6 //Health regeneration in seconds
set scr_player_forcerespawn 1 // [0-1] 1=yes/0=no
set scr_player_sprinttime 5 //Sprint time in seconds

//************************************************** ****************************
// UI
//************************************************** ****************************
set scr_hardcore 0 // [0-1] 1=on/0=off
set scr_oldschool_mw 0 // [0-1] 1=on/0=off
set ui_hud_obituaries 1 // [0-1] 1=on/0=off
set ui_hud_showobjicons 1 // [0-1] 1=on/0=off

set sv_maprotationcurrent ""

//CTF not yet
//set sv_mapRotation "gametype ctf map mp_backlot gametype ctf map mp_bloc gametype ctf map mp_bog gametype ctf map mp_cargoship gametype ctf map mp_citystreets gametype ctf map mp_convoy gametype ctf map mp_countdown gametype ctf map mp_crash gametype ctf map mp_crossfire gametype ctf map mp_farm gametype ctf map mp_overgrown gametype ctf map mp_pipeline gametype ctf map mp_shipment gametype ctf map mp_showdown gametype ctf map mp_strike gametype ctf map mp_vacant"

//DM
//set sv_mapRotation "gametype dm map mp_backlot gametype dm map mp_bloc gametype dm map mp_bog gametype dm map mp_cargoship gametype dm map mp_citystreets gametype dm map mp_convoy gametype dm map mp_countdown gametype dm map mp_crash gametype dm map mp_crossfire gametype dm map mp_farm gametype dm map mp_overgrown gametype dm map mp_pipeline gametype dm map mp_shipment gametype dm map mp_showdown gametype dm map mp_strike gametype dm map mp_vacant"

//DOM
//set sv_mapRotation "gametype dom map mp_backlot gametype dom map mp_bloc gametype dom map mp_bog gametype dom map mp_cargoship gametype dom map mp_citystreets gametype dom map mp_convoy gametype dom map mp_countdown gametype dom map mp_crash gametype dom map mp_crossfire gametype dom map mp_farm gametype dom map mp_overgrown gametype dom map mp_pipeline gametype dom map mp_shipment gametype dom map mp_showdown gametype dom map mp_strike gametype dom map mp_vacant"

//KOTH
//set sv_mapRotation "gametype koth map mp_backlot gametype koth map mp_bloc gametype koth map mp_bog gametype koth map mp_cargoship gametype koth map mp_citystreets gametype koth map mp_convoy gametype koth map mp_countdown gametype koth map mp_crash gametype koth map mp_crossfire gametype koth map mp_farm gametype koth map mp_overgrown gametype koth map mp_pipeline gametype koth map mp_shipment gametype koth map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant"

//SAB
//set sv_mapRotation "gametype sab map mp_backlot gametype sab map mp_bloc gametype sab map mp_bog gametype sab map mp_cargoship gametype sab map mp_citystreets gametype sab map mp_convoy gametype sab map mp_countdown gametype sab map mp_crash gametype sab map mp_crossfire gametype sab map mp_farm gametype sab map mp_overgrown gametype sab map mp_pipeline gametype sab map mp_shipment gametype sab map mp_showdown gametype sab map mp_strike gametype sab map mp_vacant"

//SD
//set sv_mapRotation "gametype sd map mp_backlot gametype sd map mp_bloc gametype sd map mp_bog gametype sd map mp_cargoship gametype sd map mp_citystreets gametype sd map mp_convoy gametype sd map mp_countdown gametype sd map mp_crash gametype sd map mp_crossfire gametype sd map mp_farm gametype sd map mp_overgrown gametype sd map mp_pipeline gametype sd map mp_shipment gametype sd map mp_showdown gametype sd map mp_strike gametype sd map mp_vacant"

//WAR
//set sv_mapRotation "gametype war map mp_backlot gametype war map mp_bloc gametype war map mp_bog gametype war map mp_cargoship gametype war map mp_citystreets gametype war map mp_convoy gametype war map mp_countdown gametype war map mp_crash gametype war map mp_crossfire gametype war map mp_farm gametype war map mp_overgrown gametype war map mp_pipeline gametype war map mp_shipment gametype war map mp_showdown gametype war map mp_strike gametype war map mp_vacant gametype war map mp_crash_snow"

//MIXED
set sv_maprotation "gametype koth map mp_convoy gametype sd map mp_backlot gametype sab map mp_bog gametype koth map mp_bloc gametype dm map mp_countdown gametype sd map mp_crash gametype koth map mp_crash_snow gametype sd map mp_village gametype war map mp_crossfire gametype koth map mp_citystreets gametype koth map mp_village gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dm map mp_shipment gametype koth map mp_showdown gametype sd map mp_strike gametype koth map mp_village_night gametype sd map mp_vacant gametype sab map mp_cargoship gametype dm map mp_convoy gametype koth map mp_backlot gametype sd map mp_bog gametype sab map mp_bloc gametype koth map mp_subway gametype koth map mp_countdown gametype war map mp_crash gametype sd map mp_crash_snow gametype koth map mp_crossfire gametype sab map mp_citystreets gametype dm map mp_farm gametype koth map mp_overgrown gametype sd map mp_pipeline gametype war map mp_village_night gametype sab map mp_shipment gametype sd map mp_village_night gametype dm map mp_showdown gametype koth map mp_strike gametype koth map mp_vacant gametype war map mp_cargoship gametype sd map mp_convoy gametype koth map mp_bog gametype dm map mp_crash gametype sab map mp_subway gametype sab map mp_convoy gametype sd map mp_showdown gametype sd map mp_shipment gametype dm map mp_vacant gametype sd map mp_bloc gametype koth map mp_crash gametype sd map mp_subway gametype dm map mp_crossfire gametype koth map mp_shipment gametype sab map mp_showdown gametype sd map mp_countdown gametype koth map mp_cargoship gametype war map mp_overgrown gametype sd map mp_crossfire gametype koth map mp_farm gametype dm map mp_citystreets gametype sab map mp_countdown gametype sd map mp_citystreets gametype sd map mp_farm gametype dm map mp_pipeline gametype sd map mp_cargoship gametype war map mp_crash_snow gametype sab map mp_overgrown"

MajorDay
02-14-2008, 04:52 PM
Their is nothing wrong with the config apart from removing two lines;

set g_gametype ""
set sv_maprotationcurrent ""

Delete both of these.

I've tested your map rotation on my server,and got the same error,so i kept removing maps until i no longer got any errors,so here is the rotation that works:

set sv_maprotation "gametype koth map mp_convoy gametype sd map mp_backlot gametype sab map mp_bog gametype koth map mp_bloc gametype dm map mp_countdown gametype sd map mp_crash gametype koth map mp_crash_snow gametype sd map mp_village gametype war map mp_crossfire gametype koth map mp_citystreets gametype koth map mp_village gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dm map mp_shipment gametype koth map mp_showdown gametype sd map mp_strike gametype koth map mp_village_night gametype sd map mp_vacant gametype sab map mp_cargoship gametype dm map mp_convoy gametype koth map mp_backlot gametype sd map mp_bog gametype sab map mp_bloc gametype koth map mp_subway gametype koth map mp_countdown gametype war map mp_crash gametype sd map mp_crash_snow gametype koth map mp_crossfire gametype sab map mp_citystreets gametype dm map mp_farm gametype koth map mp_overgrown gametype sd map mp_pipeline"

Where is the rest of your config (the first half is missing)

jroger21
02-14-2008, 08:15 PM
Well I had figured I didnt need to post the first half because it didnt have much to do with what were doing. So the map list was just too long then? It can only handle a map list so long?

theMechanic
02-14-2008, 11:07 PM
it looks like he stopped at a custom map, that might be it. very kind of him to do that i might add.

jroger21
02-15-2008, 01:05 AM
Their is nothing wrong with the config apart from removing two lines;

set g_gametype ""
set sv_maprotationcurrent ""

Delete both of these.

I've tested your map rotation on my server,and got the same error,so i kept removing maps until i no longer got any errors,so here is the rotation that works:

set sv_maprotation "gametype koth map mp_convoy gametype sd map mp_backlot gametype sab map mp_bog gametype koth map mp_bloc gametype dm map mp_countdown gametype sd map mp_crash gametype koth map mp_crash_snow gametype sd map mp_village gametype war map mp_crossfire gametype koth map mp_citystreets gametype koth map mp_village gametype sab map mp_farm gametype sd map mp_overgrown gametype koth map mp_pipeline gametype dm map mp_shipment gametype koth map mp_showdown gametype sd map mp_strike gametype koth map mp_village_night gametype sd map mp_vacant gametype sab map mp_cargoship gametype dm map mp_convoy gametype koth map mp_backlot gametype sd map mp_bog gametype sab map mp_bloc gametype koth map mp_subway gametype koth map mp_countdown gametype war map mp_crash gametype sd map mp_crash_snow gametype koth map mp_crossfire gametype sab map mp_citystreets gametype dm map mp_farm gametype koth map mp_overgrown gametype sd map mp_pipeline"

Where is the rest of your config (the first half is missing)


do you want me to post the rest..like i was saying..too many maps in the rotation huh?

MajorDay
02-15-2008, 07:03 PM
No need to post the rest of the config,it was the rotation that was too long,you maybe able to add a few more to whats left,coz i got fed up removing one at a time,and started removing six.
I did stop at a custom map (Village) thinking that was the problem,but its still in there and the rotation works.