Multiple Servers on LAN

Theo Macris theo at dsl-only.net
Sat Jan 3 19:08:15 EST 2004


I am the CoD admin for a 500 person LAN Party. http://www.pdxlan.com
I have installed 2 COD servers (SD/TDM)on 1 machine and only 1 will
show in the games 'Local' browser. They both appear to be working
correctly however.

Here are my start scripts and configs, I changed net_port, name, and
server logs. Sorry, I enclosed everything so as to be as complete as
possible. If anyone is running 2 successful I'd like to know how/what
you did.

START 1
[cod at klaypigeon1 cod]$ cat startsd.sh 
#!/bin/sh
./cod_lnxded +set dedicated 1 +exec dedicated2.cfg +map_rotate

START 2
[cod at klaypigeon1 cod]$ cat starttdm.sh 
#!/bin/sh
./cod_lnxded +set dedicated 1 +set net_port 28970 +exec
dedicated2.cfg +map_rotate

CONFIG 1
[cod at klaypigeon1 main]$ cat dedicated1.cfg 
// Configuration created by
// FlyingWalrus - CoD ServerConfig Builder 1.02


// Contact Information
set sv_hostname "PDXLAN COD S&D PUBLIC"
set sv_motd "GL HF"
sets .Admin "{LLC}klaypigeon"
sets .Email "klaypigeon at .com"
sets .IRC ""
sets .Website ""
sets .Location "Portland, Oregon"


// Passwords
set g_password ""
set sv_privatePassword ""
set rconPassword "*******"


// Player Slots
set sv_maxClients "24"
set sv_privateClients ""


// Ping
set sv_minPing "0"
set sv_maxPing "200"


// Rate + FPS
set sv_maxRate "20000"
set sv_fps "20"


// MasterServers
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""


// Logfile
set logfile "1"
set g_log "dedicated_server.log"
set g_logsync "0"

// Server Switches
set sv_pure "1"
set sv_allowDownload "0"
set sv_allowAnonymous "0"
set scr_allow_vote "1"
set g_gamespy "1"
set sv_cheats "0"
set scr_drawfriend "1"
set sv_forcerespawn "0"
set g_allowvote "1"

// Friendly Fire
set scr_friendlyfire "2"


// Weapon Switches
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_thompson "1"
set scr_allow_bar "1"
set scr_allow_springfield "1"
set scr_allow_enfield "1"
set scr_allow_sten "1"
set scr_allow_bren "1"
set scr_allow_nagant "1"
set scr_allow_ppsh "1"
set scr_allow_nagantsniper "1"
set scr_allow_kar98k "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_kar98ksniper "1"
set scr_allow_fg42 "0"
set scr_allow_panzerfaust "1"


// Deathmatch Settings
set scr_dm_scorelimit "50"
set scr_dm_timelimit "20"


// Team-Deathmatch Settings
set scr_tdm_scorelimit "100"
set scr_tdm_timelimit "20"


// Search & Destroy Settings
set scr_sd_graceperiod "15"
set scr_sd_roundlength "5"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"


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


// Retrieval Settings
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"

set scr_motd "PDXLAN COD S&D admin-klaypigeon"

// Gametype & Map-Rotation
set g_gametype sd
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
gametype sd map mp_powcamp"


CONFIG 2
[cod at klaypigeon1 main]$ cat dedicated2.cfg 
// Configuration created by
// FlyingWalrus - CoD ServerConfig Builder 1.02


// Contact Information
set sv_hostname "PDXLAN COD TDM PUBLIC"
set sv_motd "GL HF"
sets .Admin "{LLC}klaypigeon"
sets .Email "klaypigeon at .com"
sets .IRC ""
sets .Website ""
sets .Location "Portland, Oregon"


// Passwords
set g_password ""
set sv_privatePassword ""
set rconPassword "*******"


// Player Slots
set sv_maxClients "24"
set sv_privateClients ""


// Ping
set sv_minPing "0"
set sv_maxPing "200"


// Rate + FPS
set sv_maxRate "20000"
set sv_fps "20"


// MasterServers
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""


// Logfile
set logfile "1"
set g_log "dedicated_server-TDM.log"
set g_logsync "0"

// Server Switches
set sv_pure "1"
set sv_allowDownload "0"
set sv_allowAnonymous "0"
set scr_allow_vote "1"
set g_gamespy "1"
set sv_cheats "0"
set scr_drawfriend "1"
set sv_forcerespawn "0"
set g_allowvote "1"

// Friendly Fire
set scr_friendlyfire "2"


// Weapon Switches
set scr_allow_m1carbine "1"
set scr_allow_m1garand "1"
set scr_allow_thompson "1"
set scr_allow_bar "1"
set scr_allow_springfield "1"
set scr_allow_enfield "1"
set scr_allow_sten "1"
set scr_allow_bren "1"
set scr_allow_nagant "1"
set scr_allow_ppsh "1"
set scr_allow_nagantsniper "1"
set scr_allow_kar98k "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_kar98ksniper "1"
set scr_allow_fg42 "1"
set scr_allow_panzerfaust "1"


// Deathmatch Settings
set scr_dm_scorelimit "50"
set scr_dm_timelimit "20"


// Team-Deathmatch Settings
set scr_tdm_scorelimit "100"
set scr_tdm_timelimit "20"


// Search & Destroy Settings
set scr_sd_graceperiod "15"
set scr_sd_roundlength "5"
set scr_sd_roundlimit "0"
set scr_sd_scorelimit "7"
set scr_sd_timelimit "0"


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


// Retrieval Settings
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"

BVset scr_motd "PDXLAN COD S&D admin-klaypigeon"

// Gametype & Map-Rotation
set g_gametype tdm
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"





More information about the Cod mailing list