[cod] Server not running

Jay Vasallo jayco1 at charter.net
Wed Dec 22 23:32:43 EST 2004


Thats exactly what I am telling you not to do...lol




----- Original Message ----- 
From: "Stein Teppen" <stein at teppen.no>
To: <cod at icculus.org>
Sent: Wednesday, December 22, 2004 10:27 PM
Subject: Re: [cod] Server not running


On Wed, 22 Dec 2004 22:03:02 -0600, "Jay Vasallo" <jayco1 at charter.net>
wrote:

>Try running a whole config instead of execing the mapcycle or a weapons
>config at the end of the server.cfg.

We do. And the twin server is running fine on TDM and can switch to SD.

pub.cfg (called from startup script) calls info.cfg (standard settings -
"never" changed and not edited after the 1.51 release). Info calls pw.cfg
(passwords) and mychanges.cfg (server specific settings). Mychanges calls
one of the map rotation configs (here: sd.cfg).

info.cfg:
//
*******************************************************************************************
// ********************************* STANDARD CONFIGURATION
*********************************
//
*******************************************************************************************
// ********************************* DO NOT MODIFY This File
*********************************
//
*******************************************************************************************

// Any modification to variables should be made to the 'settings.cfg' file
// to override settings listed below.
// Any additional executing of configs can be done from there.
// This file (main.cfg) is to remain standard on all servers.

//
*******************************************************************************************
// ********************************* DO NOT MODIFY This File
*********************************
//
*******************************************************************************************




// CONTENTS:

// 1) Published Information
// 2) Host and Networking Info
// 3) PunkBuster Startup
// 4) Server Logging & Security
// 5) Player Abilities
// 6) Misc Settings
// 7) GameType Setup
// 8) Vehicle Settings
// 9) United Offensive Specific Misc
// 10) Call Additional Files

(deleted 1-6)

// -----  -----  -----  ----- 7) GameType Setup -----  -----  -----  -----

// Deathmatch  (dm)
set scr_tdm_scorelimit "100"
set scr_tdm_timelimit "30"

// Team Deathmatch  (tdm)
set scr_tdm_scorelimit "0"
set scr_tdm_timelimit "20"

// Behind Enemy Lines (bel)
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"

// Retrieval (ret)
set scr_re_graceperiod "15"
set scr_re_roundlength "4"
set scr_re_roundlimit "0"
set scr_re_scorelimit "7"
set scr_re_timelimit "0"
set scr_re_showcarrier "1"

// Search & Destroy (sd)
set scr_sd_graceperiod "10"
set scr_sd_roundlength "5"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "10"
set scr_sd_timelimit "0"

(deleted rest of 7 - 8)

// -----  -----  -----  ----- 9) United Offensive Specific Misc -----
-----  -----  -----
// Voting
set g_allowvotetempbanuser 0
set g_allowvotetempbanclient 0
set g_allowvotekick 0
set g_allowvoteclientkick 0
set g_allowvotegametype 0
set g_allowvotetypemap 0
set g_allowvotemap 0
set g_allowvotemaprotate 0
set g_allowvotemaprestart 0

set scr_shellshock 1
set scr_drophealth 1
set scr_battlerank 1
// -----  -----  -----  ----- ----- ----- ----- -----  -----  -----  -----

// -----  -----  -----  ----- 10) Call Additional Files -----  -----
-----  -----
// Load the file with server specific configuration
exec mychanges.cfg


// After specific configuration is loaded from settings.cfg (and all files
therein)
// Load the global passwords list
exec pw.cfg
// -----  -----  -----  ----- ----- ----- ----- -----  -----  -----  -----


mychanges.cfg:

// -----  -----  -----  ----- ----- ----- ----- -----  -----  -----  -----
// Server Specific Configuration File:
//
// You may modify this file and execute additional configuration files
below as needed.
// -----  -----  -----  ----- ----- ----- ----- -----  -----  -----  -----

// THE FOLLOWING TWO SET-LINES MUST BE DIFFERENT FOR EACH SERVER!!!
REMEMBER TO EDIT!!!

set sv_hostname "Aa ^1[9thSF]^7UK *closed* SD Match/practice -
^3Recruiting^7 - www.9thSF.com"

// Set the name of the log
// set g_log "uo_uk_X.log"
set g_log "uo_uk_5.log"
set logfile 3

// -----  -----  -----  ----- PunkBuster Settings -----  -----  -----
-----
// pb_sv_disable // uncomment this
line to Disable PunkBuster

// PB WEB TOOL SETUP - REMEMBER TO EDIT!!!
pb_sv_httpAddr 217.112.90.243 // IP address of
the server
pb_sv_httpPort 9061 // 90 + 2 last
digits in port#
// -----  -----  -----  ----- ----- ----- ----- -----  -----  -----  -----

pb_sv_taskempty // Empty Task List

// -----  -----  -----  Custom Settings & Configs Here -----  -----  -----
-----
// Custom Settings Here:

// CHANGES FROM INFO.CFG
// Change lines below to limit slots - default = 32 + 8
set sv_maxclients 32
set sv_privateclients 32
set sv_healthpacks "0" // TDM = 0, SD = 0
set scr_teambalance "0" // TDM = 2, SD = 1, MP = 0
set scr_friendlyfire "1" // TDM = 2, SD + MP = 1
set sv_maxping 200


// Choose a gametype script (required)
exec sd.cfg

// -----  -----  -----  ----- ----- ----- ----- -----  -----  -----  -----
// END OF CUSTOM CONFIGURATIONS


sd.cfg:

//Clear the current map rotation (should one exist)
set sv_mapRotationCurrent ""

//Define the map rotation
set sv_mapRotation "map mp_carentan map mp_dawnville map mp_neuville map
mp_uo_stanjel map mp_arnhem map mp_stalingrad map mp_dawnville map mp_foy
map mp_harbor map mp_italy map mp_carentan map mp_sicily map mp_depot map
mp_kursk map mp_pavlov map mp_kharkov map mp_railyard map mp_ponyri map
mp_rocket map mp_rhinevalley map mp_brecourt"

//Define the gametype to be used for all maps in the new rotation
set g_gametype "sd"

//Load the first map
map_rotate

-- 
Stein Teppen
aka [9thSF]Medic




More information about the Cod mailing list