View Full Version : Linux games_mp.log file
powermuffin
03-12-2004, 02:23 AM
Know that the games_mp.log place itself under a hidden directory ./callofduty.
Is there any way to force this file to appear in the directory u installed COD in as a non hidden file??
OldandSlow
03-12-2004, 08:26 AM
./cod_lnxded +set fs_basepath /gamedisk/games/cod_v1.2/ +set fs_homepath /gamedisk/games/cod_v1.2/ +set dedicated 2 +exec dedicated.cfg +map_rotate
This will place the games_mp.log file in: /gamedisk/games/cod_v1.2/main
Just replace "/gamedisk/games/cod_v1.2/" with whatever your CoD directory is...
powermuffin
03-12-2004, 10:47 AM
Hmmm. Directory is /home/user/callofduty.
therefore:
screen -A -m -d -S CoD ./cod_lnxded +set fs_basepath home/user/callofduty/ +set fs_homepath home/user/callofduty/ +map_rotate
I get a error message when trying the script saying
./start: directory exists
if I change the path to whatever error message moves to Directory doesn't excist
Cannot use exec dedicated.cfg either. Command not found says console then. While I can see COD console is waiting for the input after the exec command.
All this is running on redhat 7.2
Could this be a problem??
OldandSlow
03-12-2004, 01:30 PM
you will need the full path (including leading slash), try:
screen -A -m -d -S CoD ./cod_lnxded +set fs_basepath /home/user/callofduty/ +set fs_homepath /home/user/callofduty/ +exec dedicated.cfg +map_rotate
I assume that you are executing this in the /home/user/callofduty/ directory...
You need to execute your server config file - mine is called "dedicated.cfg" - substitute whatever yours is. This file MUST be in the main directory, i.e. /home/user/callofduty/main/
The "+set dedicated 2" can be in your server config file but you must tell the server where to find this file!
powermuffin
03-13-2004, 11:15 AM
Sorry. had the leading slash in script :oops:
Tried this, it wouldn't work. Thats why I asked RH 7.2 might be a problem. Running all these commands inside a start script.
BUT as I said, it just wont accept + exec dedicated.cfg (mine is named that as well) or +set dedicated 2.
Get error on them both. Set command not found & exec command not found. That toghether with directory exists when I set fs_homepath & fs_basepath
And I execute this from the directory where cod_lnxded is. Config is of course in main folder.
Wondering whether RH 7.2 supports this variables to the start string at all. Maybe a upgrade to newer distro would help. Anyone out there runnig on Redhat 7.2??
OldandSlow
03-13-2004, 06:37 PM
Does that same server command work outside of the script? What shell are you using? what does the script look like in full?
Here is the exact CoD v1.1 script I use with bash under RH 7.3 - I wouldn't think 7.2 would be that much different:
/usr/bin/screen -A -m -d -S cod ./cod_lnxded +set fs_basepath /home/gibke/COD +s
et fs_homepath /home/gibke/COD +set dedicated 2 +set ttycon 0 +exec dedicated.cf
g +map_rotate
file:
-rwxr-xr-x 1 gibke users 781 Feb 4 10:05 run_cod*
vBulletin® v3.8.7, Copyright ©2000-2012, vBulletin Solutions, Inc.