server configuration bug


(Kamel) #1

hello everyone… i’ve got a problem with my configuration, or with the game… or something.

when i start the server, do the line +set dedicated 2 +set sv_punkbuster +exec server1.cfg

this is my server1.cfg file

set dedicated "2" // 1: dedicated server for lan 2: dedicated server for internet 
// set net_ip "" // set to override the default IP ET uses 
// set net_port "27960" // set to override the default port ET uses 

// PASSWORDS & CLIENTS 

set sv_maxclients "25" // number of players including private slots 
set g_password "" // set to password protect the server 
set sv_privateclients "5" // if set > 0, then this number of client slots will be reserved for connections 
set sv_privatepassword "removed" // that have "password" set to the value of "sv_privatePassword" 
set rconpassword "removed" // remote console access password 
set refereePassword "removed" // referee status password 

// DL, RATE 

set sv_maxRate "7000" // 10000 standard but poor for ET 
set sv_dl_maxRate "1000" // increase/decerease if you have plenty/little spare bandwidth 
set sv_allowDownload "1" // global toggle for both legacy download and web download 
set sv_wwwDownload "0" // toggle to enable web download 
set sv_wwwBaseURL "" // base URL for redirection 
set sv_wwwDlDisconnected "0" // tell clients to perform their downloads while disconnected from the server 
set sv_wwwFallbackURL "" // URL to send to if an http/ftp fails or is refused client side 

// MOTD ETC 

set sv_hostname "^f[Guilty of Genocide]" // name of 
server here 
set server_motd0 "Welcome to GoG" // message in 
right corner of join screen here 
set server_motd1 "--Members--" 
set server_motd2 "Founder:^8K^3amel" 
set server_motd3 "Admin:Mike"
set server_motd4 "QIK" 
set server_motd5 "Slaughter" 

// MISC SETTINGS 

set g_heavyWeaponRestriction "100" 
set g_antilag "1" 
set g_altStopwatchMode "0" 
set g_autofireteams "1" 
set g_complaintlimit "6" 
set g_ipcomplaintlimit "3" 
set g_fastres "0" 
set g_friendlyFire "1" 
//set g_gametype "4" // Game type should be set from map rotation script 
set g_minGameClients "0" 
set g_maxlives "0" 
set g_alliedmaxlives "0" 
set g_axismaxlives "0" 
set g_teamforcebalance "1" 
set g_noTeamSwitching "0" 
set g_voiceChatsAllowed "4" 
set g_doWarmup "0" 
set g_warmup "40" 
set g_spectatorInactivity "600" 
set sv_floodProtect "1" 
set sv_allowDownload "1" 
set sv_pure "1" 
set sv_minping "0" 
set sv_maxping "0" 
set match_latejoin "1" 
set match_minplayers "0" 
set match_mutespecs "0" 
set match_readypercent "50" 
set match_timeoutcount "0" 
set match_warmupDamage "1" 
set team_maxplayers "0" 
set team_maxpanzers "1" 
set team_nocontrols "1" 
set pmove_fixed "0" 
set pmove_msec "8" 

// LMS ONLY SETTINGS 

set g_lms_teamForceBalance "1" 
set g_lms_roundlimit "3" 
set g_lms_matchlimit "2" 
set g_lms_currentMatch "0" 
set g_lms_lockTeams "0" 
set g_lms_followTeamOnly "1" 

// VOTING 

set g_allowVote "1" 
set vote_limit "5" 
set vote_percent "50" 
set vote_allow_comp "0" 
set vote_allow_gametype "0" 
set vote_allow_kick "1" 
set vote_allow_map "0" 
set vote_allow_matchreset "1" 
set vote_allow_mutespecs "1" 
set vote_allow_nextmap "1" 
set vote_allow_pub "0" 
set vote_allow_referee "0" 
set vote_allow_shuffleteams "1" 
set vote_allow_swapteams "0" 
set vote_allow_friendlyfire "0" 
set vote_allow_timelimit "0" 
set vote_allow_warmupdamage "1" 
set vote_allow_antilag "1" 
set vote_allow_balancedteams "0" 
set vote_allow_muting "1" 

// PUNKBUSTER 

// sv_punkbuster is a readonly variable. Use +set sv_punkbuster on command line or use the command pb_sv_enable in the console 
//pb_sv_enable 
//exec punkbuster.cfg 

// LOGGING 

set g_log "etserver.log" // Game logging 
set g_logsync 0 
set logfile 0 // Console logging ( 1: enable 2: enable and sync ) 

// MAP ROTATION 

exec campaigncycle.cfg // Campaign mode 
//exec objectivecycle.cfg // Objective mode 
//exec lmscycle.cfg // Last Man Standing mode 

// WATCHDOG 

// in case the game dies with an ERR_DROP 
// or any situation leading to server running with no map 
//set com_watchdog 10 // defaults 60 
set com_watchdog_cmd "exec campaigncycle.cfg" // defaults to quit

and… here’s my campaigncycle.cfg file


set d1 "campaign complete ; set nextcampaign vstr d1"

// server doesn't recognise the campaign command when the gamecode isn't running yet.
set d_initial "set g_gametype 4 ; map battery ; set nextcampaign vstr d1"
vstr d_initial

when it reaches the end of the campaign, it counts down like normal, but when it gets to 0, it just stays there. it doesn’t freeze, everyone can chat, i just have to manually use rcon for /rcon exec campaigncycle.cfg – can anyone please tell me what is wrong? it may be my custom campaign file, it is the first one i’ve ever made. if you’d like that as well, i will post it.


([xor]Syren) #2

What does the console say when this happens?


(ColdBackHAND) #3

set d1 “campaign cmpgn_northafrica ; set nextcampaign vstr d2”
set d2 “campaign cmpgn_centraleurope ; set nextcampaign vstr d1”

set d_initial “set g_gametype 4 ; map oasis ; set nextcampaign vstr d2”
vstr d_initial

c-ya