+set fs_homepath $USR<br>
<br>
must be<br>
<br>
+set fs_homepath /home/$USR<br>
<br>
<br>
and the config should be in /home/$USR/main/server.cfg<br>
<br>
<br>
<br>
--jay<br><br><br><br><br><br><br><br><br>On Dec 20, 2007 2:34 PM, Georgecooldude &lt;<a href="mailto:georgecooldude@gmail.com">georgecooldude@gmail.com</a>&gt; wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
Hi Guys<br><br>I&#39;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 &quot;cod4host&quot; 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&#39;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=&quot;:&quot;
<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" target="_blank">192.168.1.15</a><br>USR=cod4srv<br>
INSTALL=/home/games/cod4files/data
<br><br># Let&#39;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 &quot;&quot;<br>echo &quot;Cod4-Server running under user $USR has been started&quot;<br>echo &quot;&quot;<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&#39;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>
</blockquote></div><br>