Hi Guys<br><br>I'm running 1.4 linux server and am now trying to configure a server.cfg file. I must be doing something wrong as I cannot get it to pickup my server.cfg file. Each time I connect to the server it says "cod4host" as the hostname and not what I have configured it as.
<br><br>Here is my directory structure<br><br>/home/games/cod4files (all my cod4 files are here)<br><br>/home/cod4srv (this is the directory for my user account called cod4srv)<br><br>This is the startup script I'm using. (Between the dashes)
<br><br>---------------------------------------------------------------------------------<br>cod4srv@srv01:~$ cat start<br>#Call of Duty 4 Start Script<br># ---------------------------<br><br>export LD_LIBRARY_PATH=":"
<br><br># Make sure you have the correct ip and user name set below<br># ---------------------------------------------------------<br><br>IP=<a href="http://192.168.1.15">192.168.1.15</a><br>USR=cod4srv<br>INSTALL=/home/games/cod4files/data
<br><br># Let's make sure the server is not running<br># -----------------------------------------<br>screen -S $USR -X quit<br>killall -9 cod4_lnxded<br><br># Now the command line that starts the server<br># ------------------------------------------
<br><br>screen -A -m -d -S $USR $INSTALL/cod4_lnxded \<br>+set net_ip $IP +set net_port 28960 +set fs_basepath \<br>$INSTALL +set fs_homepath $USR +set sv_punkbuster 1 \<br>+set sv_pure 1 +exec server.cfg +map_rotate<br><br>
echo ""<br>echo "Cod4-Server running under user $USR has been started"<br>echo ""<br><br><br># End of File<br>#*********************************************************************************************
<br>---------------------------------------------------------------------------------<br><br><br><br>When i start the server using ./start no matter where it seems I put my server.cfg file it is not picking it up. Where abouts should I be placing the
server.cfg file? I'm looking to run more than 1 server from the base install so I cannot place it in cod4files/data/main.<br><br>Thanks in advance.<br>George<br>