On 12/24/05, <b class="gmail_sendername">Jay Vasallo</b> &lt;<a href="mailto:clanwarz@gmail.com">clanwarz@gmail.com</a>&gt; wrote:<div><span class="gmail_quote"></span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>hmm, reading the
txt file, it says to place a certain file in the main folder. If I
switch to Vanilla, will I have to remove that file?
</blockquote></div><br>
I've set my cod2 server up like this:<br>
<br>
* I've got a source dir. where the official game .iwd files are. f.i.<br>
/usr/local/cod2 (which contains a main dir. with in it only the
official iw_00 .. iw_14.iwd and the localized english.iwd files).<br>
* I've got a separate dir. for every single server instance I want to run. f.i.<br>
/usr/local/cod2server1<br>
<br>
In the start line of my cod2 server, I use the following two options:<br>
+set fs_homepath &quot;/usr/local/cod2server1&quot; +set fs_basepath &quot;/usr/local/cod2&quot;<br>
<br>
This way, CoD2 knows where to find the official game files (basepath) and put's all logfile info in the fs_homepath.<br>
<br>
Your server config then goes into the dir. /usr/local/cod2server1/main<br>
<br>
If you now would like to use a mod that also contains client files
(which gets downloaded) I'd advice to use the fs_game option. With that
option the client's main dir. keeps clean, and the mods won't interfere
with other servers with other mods.<br>
<br>
How I've done it:<br>
<br>
I've added this option to the cod2 startup command: +set fs_game 1stSoP<br>
<br>
I've created the dir. /usr/local/cod2server1/1stSoP<br>
This dir. is now used like the game normally uses the main dir. So
you'll need to put the server.cfg file in the new dir. You'll also put
all the mod's in that dir. (not in the main dir.) The logfile the
server writes will also show up in that dir. (and not the main dir.)<br>
<br>
When a client connects to your server, a new dir. on his computer will
be created called 1stSoP. All the mods that are downloaded from my
server will go into that dir. When that client connects to another
server (without fs_game) his CoD2 will not see the 1stSoP dir., will
not load the 1stSoP mods so he still has a clean CoD2 which does not
interfere with the mods downloaded from 1stSoP.<br>
<br>
The mod on the server (in the 1stSoP dir.) is only loaded when the
server is started with the fs_game 1stSoP option. If you leave this
out, the server only uses the default main dir. <br>
If you like to try different mods, you can also setup multiple dir's
and use a different fs_game everytime. Want to switch back to basic
cod2, drop the +set fs_game option and only default main will be used.<br>
<br>
*remember, all configs need to be in the fs_game option's dir.<br>
<br>
In this way, you only have to install the original CoD2 game files
once. All server instances use the same files. When a patch comes out,
you'll only have to update these files.<br>
<br>
I hope it is a bit clear, I'm just a hobbyist ;)...<br>
If I need to clarify something... let me know :)<br>
<br>
Greetz,<br>
Walker<br>