View Full Version : Question about the config_mp_server.cfg file
imported_Eroc
11-12-2003, 10:29 AM
I am running 3 COD (Game) Servers on my server and it runs great....but I wasn't sure about something I thought you guys might know about.
I have modified the log to show games_mp#.log (# = 1, 2, & 3)
I have the following files in my .callofduty folder:
games_mp1.log
games_mp2.log
games_mp3.log
config_mp_server.cfg <---- do I need to worry about this not being unique though? I have the games_mp file seperated by server but the config_mp_server isn't. If so what do I need to do to seperated this?
Thanks guys/gals !
Eroc
AADiC
11-12-2003, 01:38 PM
The CODAdmin servers are also running on same box, what we did was put them into seperate directories, that way they will have their own unique files.
imported_Eroc
11-12-2003, 02:16 PM
So did I, but its looking in the /{HOME}/.callofduty/main/ folder for that file for all three servers.
Eroc
HankScorpio
11-12-2003, 02:43 PM
One point that you left out is that you're talking about the Linux server here...not Windows. Windows uses the config_mp.cfg to store what the Linux server puts into server_config_mp.cfg.
That config file goes into the location specified by fs_homepath which defaults to $HOME/.callofduty/main. You can specify different values on the command line for each of your servers to keep them seperate. You'll probably want to have a seperate server_config_mp.cfg for each server. Whenever you set a cvar with seta, it sets the A bit for that cvar and when the server shuts down, it rewrites the server_config_mp.cfg file with the cvars with that bit set. If all your servers are executing the same server_config_mp.cfg file then all seta cvars are global to all your servers.
imported_Eroc
11-12-2003, 02:51 PM
if in the startup line I were to add this:
+seta fs_homepath $HOME/.callofduty#/main (# being the server number)
would that solve my problem?
Thanks,
Eric
imported_Eroc
11-13-2003, 07:59 AM
This didn't work... anyone know what I am doing wrong?
Eroc
HankScorpio
11-13-2003, 10:08 AM
Don't use +seta on the command line, just +set. Also, sorry for getting wrong on my post above, fs_homepath doesn't include main. If you put main on there then the server won't create the directory for you.
You just want:
+set fs_homepath $HOME/.callofduty#
imported_Eroc
11-13-2003, 11:00 AM
That worked great, thanks Maximus !!
Eroc
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.