linux cod server.cfg Help needed

Joined
Sep 18, 2008
Likes
0
#1
ok
Situation:
we got cod2 and cod4 linux server perfect running.
now we are setting up a cod server in linux.

This is the server.cfg as i have it now.
//************************************************** ****************************
// 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 *****
// ************************************************** ***
set sv_hostname "^1(_@_) ^7Alienclan ^4Server"
set .Admin "(_@_)_spatieman - CO Admin (_@_)_Virus "
set .Email "spatieman@alienclan.com"
set .Website "www.alienclan.com"
set .Location "Netherlands"
set .Irc ""


set scr_motd "Welcome to the (_@_) COD server" // Message of the day
set sv_maxclients "24"
set sv_minPing "0"
set sv_maxPing "250"
set net_ip "62.75.204.47"

set net_port "28970"
set com_hunkMegs "32"
set g_gametype "dm"


// Passwords
set g_password ""
set sv_privatePassword "mypass"
set rconPassword "mypass"


// Player Slots
set sv_maxClients "20"
set sv_privateClients "5"


// Ping
set sv_minPing "0"
set sv_maxPing "300"


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


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


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


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


// Friendly Fire
set scr_friendlyfire "0"


// 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 "0"
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 "0"
set scr_allow_kar98k "1"
set scr_allow_mp40 "1"
set scr_allow_mp44 "1"
set scr_allow_kar98ksniper "0"
set scr_allow_fg42 "0"
set scr_allow_panzerfaust "0"


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


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


// Search & Destroy Settings
set scr_sd_graceperiod "15"
set scr_sd_roundlength "4"
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 sv_mapRotationCurrentMap "mp_chateau"
// Gametype & Map-Rotation
set sv_mapRotation "gametype dm map mp_harbor map mp_powcamp map mp_pavlov map mp_railyard map mp_brecourt map mp_carentan map mp_chateau map mp_hurtgen map mp_dawnville"

set rcon_password "ourpassword"
Where ourpassword is also inserted in hlsw ,but not exepted.
But ok

this is the linux startup
./cod_lnxded +map_rotate +exec server.cfg +set net_port 28970 +set gametype dm

it is the same line as cod2 and cod4.
but the server is not automaticly starting a map.
What do i need add in the cfg to auto start the server without typing map mp_chateau (or other map)

thnxs
 

theMechanic

Senior Member
Joined
Nov 2, 2003
Likes
0
#2
you need a proper server cfg and your command line needs a couple things an ip is important +map_rotate should be last as well. heres a proper command line:
./cod_lnxded +set dedicated 2 +set net_ip 123.456.789.012 +set net_port 28960 +set sv_maxclients 32 +set sv_punkbuster 1 +exec dedicated.cfg +map_rotate

Heres a link to a good guide with server.cfgs.
http://guides.clanmech.com
 
Joined
Sep 18, 2008
Likes
0
#6
anyway.
If isee how rugged a linux server is, againt a windows machine...
It is incredible.
currently on my server i have 5 ! game servers running..
 
Top Bottom