PDA

View Full Version : Server won't exec .cfg file! HELP!


imported_Zerstoerer
11-18-2003, 05:10 PM
I don't know what the problem is. I popped the (originally named) 'dedicated.cfg' which was built with SoS's Server Config Tool into my CoD directory. It would not exec. I changed the working directory from 'C:\PROGR~\CALL~' to 'C:\Program Files\Call of Duty'. Nothing.

Changed the name of the .cfg file to '17ss_serv.cfg'. Won't exec it. Tried only setting it for one game type. Same thing.

MP shortcut on desktop reads as follows: "C:\Program Files\Call of Duty\CoDMP.exe" +set dedicated 2 +exec 17ss_serv.cfg +map_rotate

HELP! :cry:

Tighten
11-18-2003, 05:57 PM
What does the console read?

That command line looks ok.

Paste your .cfg and console read out in here.

imported_Zerstoerer
11-18-2003, 06:03 PM
Console readout:

COD MP 1.1 build win-x86 Oct 8 2003
----- FS_Startup -----
Current language: english
Current search path:
C:\Program Files\Call of Duty\main\pak6.pk3 (3 files)
C:\Program Files\Call of Duty\main\pak5.pk3 (4858 files)
C:\Program Files\Call of Duty\main\pak4.pk3 (1668 files)
C:\Program Files\Call of Duty\main\pak3.pk3 (1992 files)
C:\Program Files\Call of Duty\main\pak0.pk3 (12828 files)
C:\Program Files\Call of Duty/main
C:\Program Files\Call of Duty\main\localized_english_pak1.pk3 (3736 files)
localized assets pak file for english
C:\Program Files\Call of Duty\main\localized_english_pak0.pk3 (1204 files)
localized assets pak file for english

File Handles:
----------------------
26289 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 AMD w/ 3DNow!
Measured CPU speed is 1.80 GHz
System memory is 512 MB (capped at 1 GB)
Video card memory is 8 MB
Streaming SIMD Extensions (SSE) supported

Winsock Initialized
Opening IP socket: localhost:28960
Hostname: Rental6
IP: 38.113.xx.xxx
IP: 38.113.xx.xxx
IP: 38.113.xx.xxx
--- Common Initialization Complete ---
Working directory: C:\Program Files\Call of Duty
couldn't exec 17ss_serv.cfg
map_rotate...

"sv_mapRotation" is:""

"sv_mapRotationCurrent" is:""

No map specified in sv_mapRotation - forcing map_restart.
Server is not running.





Config File:
// created with save our souls CoD server config builder
// http://sos.noginn.com/codserver by save*noginn

// Passwords
set rconPassword "rope9924cowl"
set g_password ""
set sv_privatePassword "ironfist"

// Public Information
set sv_hostname "^1 17.SS.Pz.Grn.Div ^7 CoD NO SNIPERS Server"
set scr_motd "^3 Welcome to the 17.SS server! All smacktards will be banned! Enjoy! :)"
sets .Admin "[17.SS]Usutf Zerstoerer"
sets .Email "init6@m4dsk1llz.com"
sets .IRC ""
sets .Website "http://www.m4dsk1llz.com/phpBB2"
sets .Location "Texas"

// General Settings
set scr_friendlyfire "1"
set sv_maxClients "32"
set sv_privateClients "6"
set sv_maxRate "20000"
set sv_minPing "0"
set sv_maxPing "500"
set sv_pure "1"
set logfile "1"
set g_log "games_mp.log"
set g_allowVote "1"
set scr_allow_vote "1"
set sv_allowAnonymous "0"
set sv_allowDownload "1"
set sv_cheats "0"
set sv_fps "20"
set sv_master1 "codmaster.activision.com"
set sv_master2 ""
set sv_master3 ""
set sv_master4 ""
set sv_master5 ""

// Weapons
set scr_allow_bar "1"
set scr_allow_bren "1"
set scr_allow_enfield "1"
set scr_allow_fg42 "1"
set scr_allow_kar98k "1"
set scr_allow_kar98ksniper "0"
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 "0"
set scr_allow_panzerfaust "1"
set scr_allow_ppsh "1"
set scr_allow_springfield "0"
set scr_allow_sten "1"
set scr_allow_thompson "1"

// DM
set scr_dm_scorelimit "50"
set scr_dm_timelimit "30"
set scr_drawfriend "1"
set scr_forcerespawn "0"

// TDM
set scr_tdm_scorelimit "100"
scr_tdm_timelimit "25"

// SD
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"

// BEL
set scr_bel_alivepointtime "10"
set scr_bel_scorelimit "50"
set scr_bel_timelimit "30"

// RE
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 "0"

// Map Rotation
set sv_mapRotation "gametype tdm map mp_brecourt gametype tdm map mp_carentan gametype tdm map mp_dawnville gametype tdm map mp_hurtgen gametype tdm map mp_pavlov gametype tdm map mp_railyard gametype sd map mp_brecourt gametype sd map mp_carentan gametype sd map mp_dawnville gametype sd map mp_hurtgen gametype sd map mp_pavlov gametype sd map mp_railyard "
set sv_mapRotationCurrentmap "mp_brecourt "


There ya go...thanks for the help!

imported_tsr3
11-18-2003, 06:06 PM
to be sure, the dedicated.cfg is in the main folder? or the root game folder, should be in main.

and my map rotation at the end of the config is a bit different, try something like this:

// The rotation.
set sv_mapRotation "gametype tdm map mp_brecourt gametype tdm map mp_carentan 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_railyard gametype tdm map mp_rocket gametype tdm map mp_chateau gametype tdm map mp_powcamp"

Tighten
11-18-2003, 06:17 PM
server.cfg should go into main.

call it codserver.cfg for example.

You can make an autoexec_mp.cfg and place that in your main folder as well. In that file put this command in

exec codserver.cfg

This file (autoexec_mp.cfg) gets executed everytime the application starts.

imported_Zerstoerer
11-18-2003, 06:18 PM
ok, I had the .cfg in the root Call of Duty folder, not main.

Tighten
11-18-2003, 06:30 PM
So your all set?

imported_Zerstoerer
11-18-2003, 08:22 PM
Well it says that it's running, but it gives me a warning about "no sound aliases" (I'm assuming that's for sound mods)...

But other than that, I cannot find the server anywhere; whether in the game browser or in All-Seeing Eye. :(

Anyone else seen it? "[17.SS] CoD Server - NO SNIPERS"

Just in test mode now, so it's passworded.

PoD
11-19-2003, 05:24 AM
Check which ports are redirected to you cod-server, also give it some time to show up

Tighten
11-19-2003, 10:46 AM
//Server Heartbeat======================
seta sv_master1 "codmaster.activision.com"
seta sv_master2 "master0.gamespy.com"
seta sv_gamespy "1"

In the console - make sure that the above ^^^ is resloving to that address. If it says it is reporting to those, it does not mean the master servers are getting or sending information on your server's behalf - it simply says that your server is sending the information (which is good) but, if they are not resloving you have other issues.

Known issues -
Cracked software (known or unknown)
Ports - configured improperly
Security (server side) - Anti-virus, firewall, router or other types of NAT devices.

imported_Zerstoerer
11-19-2003, 11:59 AM
How can I check that they're being resolved? I mean, I know I can ping them from the server's console, but does that guarantee that my server is contacting them?

I had one of my squadmates attempt to connect to the server (this spawns another question: how can I connect via IP alone? Is this possible from in-game?) and he got an error which apparently was caused due to an 'impure client'. Should I turn off 'force pure client'?

Thanks again for the help guys, and I think what I'm going to need to do is actually learn how to write config files and troubleshoot that thing myself, but I figured for the first go-round I'd use the SoS tool.

Thanks for all the help!

imported_DesuMacchi
11-19-2003, 12:26 PM
How can I check that they're being resolved? I mean, I know I can ping them from the server's console, but does that guarantee that my server is contacting them?

I had one of my squadmates attempt to connect to the server (this spawns another question: how can I connect via IP alone? Is this possible from in-game?) and he got an error which apparently was caused due to an 'impure client'. Should I turn off 'force pure client'?

Thanks again for the help guys, and I think what I'm going to need to do is actually learn how to write config files and troubleshoot that thing myself, but I figured for the first go-round I'd use the SoS tool.

Thanks for all the help!

You can connect to your server through the console by launching your game opening console and typing /connect your ip here

Only bad thing about turning off pure is that you will enable people to come in with modded crosshairs that dont move, ect no a good thing. If you and your clan mates have a certain file you would like to use that didnt come with the game you must put it in the servers main flder and there will be no unpure client problems. Also enable downloading so others can get the files you have on your server.

imported_Zerstoerer
11-19-2003, 12:54 PM
I noticed a few spaces between arguments and double-quotes that I eliminated, and added the Gamespy master server in as well. Hopefully these little issues will fix it.

Also, any known issues on running multiple game-types on a single server? I.e, I'm running TDM and SND at the same time, with the same maps.

imported_Zerstoerer
11-19-2003, 01:04 PM
Update:

I connected to the server, it loads....

Then I'm immediately kicked with the message:

"Server disconnect - unpure client detected. Invalid .PK3 files referenced!"

WTF does that mean? This is a brand new install of CoD that I'm using. HEEEEEELP! :(

imported_DesuMacchi
11-19-2003, 01:27 PM
Update:

I connected to the server, it loads....

Then I'm immediately kicked with the message:

"Server disconnect - unpure client detected. Invalid .PK3 files referenced!"

WTF does that mean? This is a brand new install of CoD that I'm using. HEEEEEELP! :(

it sounds like you have a pak file that shouldnt be in your main folder.
make sure you have only the ones that came with the game. Otherwise you need to put it in your servers main folder as well then you should be fine :)

imported_Zerstoerer
11-19-2003, 04:17 PM
I have not installed a single file for CoD other than the straight game off the two CDs.

I took my personal copy, made an image of each CD, then uploaded those to my server. I mounted the images, installed the game, and made the config. And now I have nothing but troubles.

Is it because I have a single CD key running a server and my personal copy? If so, Activision is even more idiotic than I thought. I still find it absolutely unconscionable that they haven't released a Windows dedicated server install, and if I'm expected to buy another copy of the game just to run a server, they can kiss my ass.

I'm frustrated (obviously) and this shit shouldn't be that hard to get running! :x

imported_Zerstoerer
11-20-2003, 12:22 PM
No help on why everyone is getting an unpure client error??

Tighten
11-20-2003, 12:59 PM
As far as unpure client? Are you running sv_pure?

If so - have you checked the all the files on the server for corruption?

It is possible that one or more of your files became corrupt during the install (or upload).

You do not need to have seperate CD-Keys to run the DS.

Two things happen when you get the unpure client error -

1) your files are corrupt - server can't validate

2) servers files are corrupt - so the server thinks your files are corrupt and can't validate.

I would change the sv_pure setting and see if you get the same error.

Does anyone else get this message when trying to connect?

imported_Zerstoerer
11-20-2003, 02:44 PM
I know at least two other squadmates who've tried to connect and got the same. I imagine it's because the files were slightly corrupted during the upload.

I cannot physically install it in person on my server, and I ask again: Does anyone have an ETA on a dedicated server release from Activision/IW???

Tighten
11-20-2003, 02:51 PM
I know you don't want to hear this again, but they will not offer a DS for the game. (I should say very unlikely)

RTCW was the same way.

Did you .zip the files before you uploaded it to the server. This help ensure no file corruption will take place.

I would say zip the files and re-upload them again. OR, if you have a friend with a relatively close location - FTP it over to your server (it will be much quicker)

Anyway - I think your frustration has just begun.

imported_Zerstoerer
11-20-2003, 03:33 PM
I simply refuse to endure another 11-hour upload for these damn CD images.

I am literally shocked and appalled at the lack of a server, and cannot believe the utter lack of forethought displayed by such a decision.

Enemy Territory was free (never played RTCW)! I paid $50 for this damned game, and I expect a dedicated server install that is easy to use! What is a good official forum for me to become extremely pissed off in (knowing that this is not the place)? :x :x :x

Tighten
11-20-2003, 03:43 PM
LMFAO !

I think you would get better results - smashing a select body part in a car door over and over again.


FTP before you go to bed - it's done in the morning!

imported_Zerstoerer
11-20-2003, 05:42 PM
The problem is that for some reason I cannot sustain an FTP connection. After ~150-200MB it drops...so I have to resume the upload. I'm sure the multiple resumes are the source of the corruption. And I don't have a full copy of WinRAR...but I'll give it a shot.

This is utterly idiotic, though. I'm 1/4 inch away from telling this game to piss off completely.

MOMMA
11-21-2003, 11:53 AM
Two suggestions.. switch to an ISP that loads and sets up the server for you or find one that uses linux and dl the new linux dedicated server that just came out...

Those are just suggestions before you toss the game out the window.

imported_Zerstoerer
11-21-2003, 01:15 PM
Well, I'm getting a killer deal on this server I have now ($100/mo. for 1.5Mbps upstream, no limit downstream) and I really just don't know enough about Linux to administer a Linux server (I've been messing with Linux for 5 years now and it still makes me insane).