[cod] Fwd: Multiple servers problem

Clanwarz clanwarz at gmail.com
Tue Nov 27 23:09:37 EST 2007


>
> fs_basepath = path to main install
> > > > fs_homepath = path to user folder
> > > >
> > > > example
> > > >
> > > > +set fs_basepath /home/games/cod4-server +set fs_homeptah
> > > > /home/$USER
> > >
> > >
> > >
> > > I have tried with +set fs_basepath /home/COD4 +set fs_homepath
> > > /home/COD4/mixedhardcore   but it still uses the server.cfg in the
> > > main foder and not the one in the mixedhardcore folder.
> > >
> > > The mixedhardcore folder only contains the cfg's i want to run for
> > > that server and each server i am trying to run has its own startup script
> > > now i can star all 3 servers on differant ports but all run the same config.
> > >
> > >
> > > i cannot seem to point the server to run the cfg's in the respective
> > > server folder.
> > >
> > > Should i have more than just the cfg's in the folders i wonder ???
> > >
> > >
> > >
> >
> > Make sure the server.cfg is in  /home/COD4/mixedhardcore/main
> >
> > If not, make a main folder and place it inside. You must also have a
> > mods and pb folder inside /home/COD4/mixedhardcore
> >
>
>
> @  Clanwarz
>
> Thankyou very much finally got it going after trying your suggestions.
>
> Thanks a lot for your help :)
>



NP. The trick about multiple installs is this.

Server starts at the fs_basepath, will load all files there first, then goto
the user folder and load all files there next. So I normally keep a
server.cfg in the main install just in case the user deletes his... the
server will still start.

The user folder does not have to have anything else but the files the user
will use.

example:

/home/$USR/main/server.cfg
/home/$USR/mods/myubermod/server.cfg
/home/$USR/pb/pbfiles

Now the pb folder has to have a legit set of pb files. The user can add his
own configs to his own pb folder.
Using the fs_homepath will ensure that all files that get used in the
/main/$USR folder does not get deposited in /home/$USR/.callofduty hidden
folder.
All logs and pb files will get deposited  in the designated folders as main,
mods and pb.

Since the  user only needs his own files, this saves gigs of space for every
user you create. It also saves on ram :)

Glad it helped.

--jay
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://icculus.org/pipermail/cod/attachments/20071127/80ed2233/attachment.htm>


More information about the Cod mailing list