+set fs_game mods/pam4 + exec server.cfg etc.<br><br><br><br><div class="gmail_quote">On Jan 24, 2008 10:20 AM, Minte van Dalen &lt;<a href="mailto:minte.vandalen@planet.nl">minte.vandalen@planet.nl</a>&gt; wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">









<div link="blue" vlink="purple" lang="NL">

<div>

<p><span lang="EN-US">Lo all,</span></p>

<p><span lang="EN-US">My server was running from fs_homepath
/home/myaccount/cod4/<br>
I have 3 cod4 servers on my dedicated box, and all 3 had the full files in it, waste
of disk space is a say</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">So today I started to set everything of to
be working with a combination of fs_basepath , fs_homepath &amp; fs_game(if necessary)
</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">With cod2 (this works correct), </span></p>

<p><span lang="EN-US">In/usr /local/myaccount/ cod2/&nbsp; and
all the game files in there works, and the config and pb files in
/home/myaccount/cod2/ with a fs_game set to the map /mymod</span></p>

<p><span lang="EN-US">In /home/myaccount/cod2/ I do not have any
original game files, just the mod and pm nothing more.</span></p>

<p><span lang="EN-US">IP=<a href="http://0.0.0.0" target="_blank">0.0.0.0</a> (should be the real ipadres)<br>
PORT=28900<br>
BASEPATH=/usr/local/myaccount/cod2<br>
HOMEPATH=/home/myaccount/cod2<br>
GAMETYPE=mymod<br>
SERVERCONFIG=server.cfg<br>
STARTMAP=mp_breakout<br>
MAXPLAYERS=20</span></p>

<p><span lang="EN-US">STARTMODE=&quot;$BASEPATH/cod2_lnxded +set
dedicated 2 +set sv_punkbuster 1 +set net_IP $IP +set net_port $PORT +set
fs_basepath $BASEPATH +set fs_homepath $HOMEPATH +set fs_game $GAMETYPE +exec
$SERVERCONFIG +map_rotate &quot;</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">When I try to get the same setup working
for cod4 I run in to problems</span></p>

<p><span lang="EN-US"><br>
the setup:<br>
IP=<a href="http://0.0.0.0" target="_blank">0.0.0.0</a> (should be the real ipadres)<br>
PORT=28910<br>
BASEPATH=/usr/local/myaccount/cod4<br>
HOMEPATH=/home/myaccount/cod4<br>
GAMEPATH=mods/pam<br>
SERVERCONFIG=warserver.cfg<br>
STARTMAP=mp_backlot<br>
MAXPLAYERS=16<br>
HLTVPORT=28935<br>
STARTMODE=&quot;$BASEPATH/cod4_lnxded +set dedicated 2 +set sv_punkbuster 1
+set sv_pure 1 +set net_IP $IP +set net_port $PORT +set fs_homepath $HOMEPATH
+set fs_game $GAMEPATH +set fs_basepath $BASEPATH +exec $SERVERCONFIG
+map_rotate &quot;</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">When I try to run the above, the server
won't start till I gets online, the config files and the pammod are
located in /home/myaccount/cod4/mods/pam, the fs_game which is in Homepath
/home/myaccount/cod4.<br>
when I remove the +set fs_game part, the server starts as a&nbsp; CoD4Host
server, with the build in config file which is located in the game files in
/usr/local/myaccount/cod4 on the correct ipadres en port en the rest enabled
what's mentioned in the command line.</span></p>

<p><span lang="EN-US">Normal wise I would say this config has to
work, at least it does this way with cod2, but it doesn't, it refuses to
read my fs_game located in fs_gamepath, and the server shuts down.</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">The 2nd startup line I tried was:</span></p>

<p><span lang="EN-US">Is triggering it from HOMEPATH and the Linux
bins in /home/myaccount/cod4, so the command line became: <br>
STARTMODE=&quot;$HOMEPATH/cod4_lnxded +set dedicated 2 +set sv_punkbuster 1
+set sv_pure 1 +set net_IP $IP +set net_port $PORT +set fs_homepath $HOMEPATH
+set fs_game $GAMEPATH +set fs_basepath $BASEPATH +exec $SERVERCONFIG
+map_rotate &quot;</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">In this case I putted the Linux bins in my
fs_homepath and tricker the command from there out.</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">Is started with only the serverconfig files
in fs_game "mods/pam" and the PB files in the pb folder, so main
docs and zone are left empty</span></p>

<p><span lang="EN-US">The strange thing now is that the servers
seems to boot, reading the configs in the fs_game, but the problem stats with
the files of the "Zone/english" folder, all other files (of the
main folder) are read from the fs_basepath "main folder" corresponding
the the screen logs, but it wants to read the files of the Zone folder from my
fs_home, so here the server shuts down with the error that these files are not
here. </span></p>

<p><span lang="EN-US">So tested some more with the same command
line, and added the full Zone folder to the fs_homepath dir.</span></p>

<p><span lang="EN-US">And yes the server is running.</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">So for as far as I do know setting up a Linux
servers at this moment, I'm doing something wrong, or is is a problem
with the Linux binaries for cod4, I rather think the first then the second.</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">If it is me and my command line, could
someone help me out, cause I would like to have my /home partition minimal in
size.</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">If it are the Linux bins that just do not
want to read the Zone folder from fs_basepath while the command line says that
there are the files, can someone verify that.</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">If it that the Linux bins have problems
with working with fs_basepath with all the files ,and and a fs_game with only
the server.cfg in the main or in the mods/pam folder and the pb folder, to work
together, can some verify that for me.</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">Cause at this moment I'm totally out
of idea's to get it to work to only have 1 cod4 folder in fs_basepath,
and have different folders for the 3 servers in /home and have only the configs
there in the maps they should be, cause 3 times the zone folder in the servers
in fs_game is another double 6,6Gig on the disk.</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p><span lang="EN-US">So if anyone can help me out , please</span></p>

<p><span lang="EN-US">&nbsp;</span></p>

<p>Regards,</p>

<p>Minte van dalen</p>

<p><span style="font-size: 11pt; color: rgb(31, 73, 125);">&nbsp;</span></p>

</div>

</div>


</blockquote></div><br>