PDA

View Full Version : COD server startup problem : usage: sets <variable> &l


Titatovenaar
05-01-2004, 07:03 AM
Hi!

I installed my COD server, and configged it. It, however, gives an error (see log below). :?

Does anybody have any ideas?

COD MP 1.1 build win-x86 Oct 8 2003
----- FS_Startup -----
Current language: english
Current search path:
C:\PROGRA~1\CALLOF~1\main\pak6.pk3 (3 files)
C:\PROGRA~1\CALLOF~1\main\pak5.pk3 (4858 files)
C:\PROGRA~1\CALLOF~1\main\pak4.pk3 (1668 files)
C:\PROGRA~1\CALLOF~1\main\pak3.pk3 (1992 files)
C:\PROGRA~1\CALLOF~1\main\pak2.pk3 (694 files)
C:\PROGRA~1\CALLOF~1\main\pak1.pk3 (2642 files)
C:\PROGRA~1\CALLOF~1\main\pak0.pk3 (12828 files)
C:\PROGRA~1\CALLOF~1/main
C:\PROGRA~1\CALLOF~1\main\localized_english_pak1.p k3 (3736 files)
localized assets pak file for english
C:\PROGRA~1\CALLOF~1\main\localized_english_pak0.p k3 (1204 files)
localized assets pak file for english

File Handles:
----------------------
29625 files in pk3 files
execing default_mp.cfg
couldn't exec language.cfg
execing config_mp.cfg
couldn't exec autoexec_mp.cfg
Hunk_Clear: reset the hunk ok
...detecting CPU, found Intel Pentium III
Measured CPU speed is 1.00 GHz
System memory is 511 MB (capped at 1 GB)
Video card memory is 64 MB
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: localhost:28960
Hostname: cod
IP: 192.168.1.101
--- Common Initialization Complete ---
Working directory: C:\PROGRA~1\CALLOF~1
execing codserver.cfg
usage: sets &lt;variable> &lt;value>
sv_maxclients will be changed upon restarting.
usage: set &lt;variable> &lt;value>
Hitch warning: 7854 msec frame time

Any help will be greatly appreciated. :!:

Titatovenaar

Anex
05-01-2004, 10:18 AM
Does the server not launch or something?

Looks ok to me.

Check your server config though, it looks as though you have an eronous "set" command in there or a cvar attempting to be set without actually using the "set" command.

Post your server config.

Titatovenaar
05-01-2004, 01:22 PM
Hi!

Ok, here goes:

// Hostname and Message of the Day
set sv_hostname "Test server voor ]ASFH[ Clan V1.1 *Public*"
set scr_motd "Welkom op de Senior Flierefluitende Haaibaaien Call of Duty *Public* server!"
sets .Admin "]ASFH[ Titatovenaar" // Most game browsers will show sets information in the server details.
sets .Email "admin@asfh-clan.com" // Note you can add your own sets information, eg. sets .Whatever "blah blah"
sets .Website "http://www.asfh-clan.com"
sets .Location "Groningen, Nederland".

// Maximum Clients
set sv_maxclients "13"

// Team Icons : fraw icons above teammates heads
set scr_drawfriend "1"
// Forced Respawn : players automatically respawn after being killed
set scr_forcerespawn "0"

// Friendly Fire
set scr_friendlyfire "0"
set scr_killcam "1"
set sv_fps "44"

// Allow Voting
// It is recommended if you have friendly fire on
// that you also enable voting so that players can kick team-killers.
set scr_allow_vote "0"

// Rconpasswordset
set rconpassword "*********"
set sv_privateclients "1"
set sv_privatepassword "******"

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

// Search and Destroy Settings
set scr_sd_graceperiod "20"
set scr_sd_roundlength "3"
set scr_sd_roundlimit "7"
set scr_sd_scorelimit "5"
set scr_sd_timelimit "0"

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

// Retrieval Settings
set scr_re_graceperiod "20"
set scr_re_roundlength "3"
set scr_re_roundlimit "7"
set scr_re_scorelimit "5"
set scr_re_showcarrier "0"
set scr_re_timelimit "0"

// Team Deathmatch
set scr_tdm_scorelimit "150"
set scr_tdm_timelimit "10"

// Deathmatch
set scr_dm_scorelimit "80"
set scr_dm_timelimit "15"

// Gamespy shit
seta sv_gamespy "1"

// seta sv_master3 "clanservers.net"
// seta sv_master4 "master3.idsoftware.com"
// seta sv_master5 "codmaster.infinityward.com"

seta sv_master1 "codmaster.activision.com"
seta sv_master2 "master0.gamespy.com"
seta sv_master3 "master1.gamespy.com"
seta sv_master4 "codauthorize.activision.com"

// speeds
seta sv_maxrate "25000"
seta rate "25000"

// messages
seta sv_linerd1 "Check www.asfh-clan.com for serverstats en Clan info!" // message one
seta sv_linerd2 "Cheaters will be kicked without warning" // message two
seta sv_linerd3 "All weapons are allowed, complaining about them is not" // message three
seta sv_linerd4 "Swearing and insulting will get you kicked" // message four
seta sv_linerd5 "Server version is v1.01" // message five

seta sv_rddelay "60" // delay between messages in seconds Must be greater then 5

// The rotation.
set sv_mapRotation "gametype dm map mp_carentan gametype dm map mp_dawnville gametype dm map mp_depot gametype dm map mp_harbor gametype dm map mp_hurtgen gametype dm map mp_pavlov gametype dm map mp_railyard"


P.S. I am pretty sure my server won't work. For three reasons
- it doesn't show on my website anymore, via serverspy.net
- I can't connect to it anymore through my LAN (curse the day I tried building my own LAN)
- when it ran under the english windows version, it ended the startup of the server with 5 messages, all saying something like "heartbeat with codmaster.activision.com"

P.S.P.S. I just had a thought : I had my server installed before, under an English windows version, and it ran without problems. I reinstalled windows with the dutch version (last night), and since that time I get this message. Is it possible it has something to do with the language file of windows? ::o):

Hope you can tell me more. Finally I have a legal version of a game, stil problems. :x(

Greetz,

Titatovenaar

Bombada
05-01-2004, 07:02 PM
// speeds
seta sv_maxrate "25000"
seta rate "25000"


in my config i have no setam only set.
and it work seta rate "25000" is only in my
MP config and not in my server config.

Titatovenaar
05-01-2004, 07:30 PM
Hi,

So rate is for client side? and maxrate server side?

Greetz,

Tita

jdwright
05-01-2004, 08:15 PM
Hi,

So rate is for client side? and maxrate server side?

Greetz,

Tita

Correct.

The error you get about sv_maxclients makes it look like you are execing your config file after you do a map_rotate. If you put the config before map_rotate in your command line, the sv_maxclients will take effect on the first map instead of the second one.

Anex
05-02-2004, 01:57 AM
You don't even need it in your command line, just add it to the bottom of your server config, after the map rotation.