PDA

View Full Version : Which files are needed for a dedicated server?


imported_Maxim
11-07-2003, 08:09 PM
I have several config files in my dedicated server directory and was wondering what all of them do.

In the CoD root directory I have server.cfg, which I would assume is the config ran at server start up. Then I have 4 directories: Docs, Main, Miles, and Uninstall.

I would like to delete docs as i'll probably never us them, I don't know what miles is used for and Uninstall I may just keep as i'm renting the server and it may cause problems for them.

In the main directory I have autoexec_mp.cfg, config_mp.cfg, and main.cfg on my server, main/main.cfg and server.cfg are slightly different, possibly left over from a previous user, i'm not sure but they differ slightly.

The *_mp.cfg files appear to be configs for the client game so if I could delete them that'd be great.

Hmm is the main used for a none dedicated game?

So in short, what is used for the client games, what can be deleted?

HankScorpio
11-08-2003, 03:35 AM
Of the directories, you only need main on a dedicated server.

As for the config files, it all depends on how the server is setup.

I doubt the server.cfg file is the one used by your server, though. Files named that usually conflict with built-in config files and don't get run plus it's in an odd location. All configs are normally in main.

If you need more help sorting it out, post the output of the path command.

imported_Maxim
11-08-2003, 06:23 PM
Cool, thanks for the info. I'm not able to get to a prompt on the server, everything is done through a web interface. I believe the web interface executes a windows "shortcut" in the root of the CoD direcotry, and in the shortcut it has parameters that set the IP, Port and tell it to exec main.cfg. I'll look into it and expereiment a little more.

I have since deleted autoexec_mp.cfg and server.cfg(Which is not executed at all), and config_mp.cfg. On start up only config_mp.cfg comes back.

Does anyone know why this re-created? Does it have a purpose?

HankScorpio
11-08-2003, 08:18 PM
It's used to store permanent settings between server runs. When you set a cvar with the seta command, that cvar should be written to the config_mp.cfg file when the server shuts down.

imported_Maxim
11-08-2003, 10:44 PM
Ahh cool, thank you very much for your help. :)