Author Topic: Yet Another Noob Question...  (Read 4065 times)

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Yet Another Noob Question...
« on: May 29, 2008, 09:44:42 pm »
I have several directories to keep my multiple servers from conflicting, but I don't know if this will work or not. Each server has a different admin.dat.

Here are the directories.
Code: [Select]
/Users/me/Library/Application Support/Tremulous/server-1/
/Users/me/Library/Application Support/Tremulous/server-2/
/Users/me/Library/Application Support/Tremulous/server-3/

I am just wondering if this will actually work and whether I can give each one a different layouts folder. So if I want server-2 to have its own layouts and I put the "layouts" folder in server-2's directory, will it use the layouts in that folder and no others?

Also, does putting a separate QVM in each server's directory make it use just that QVM, or does it use the /Users/me/Library/Application Support/Tremulous/base/vm/ one no matter what I do? Because if I take the QVM out of server-3/vm/, tremded still finds one and uses it.

Sorry for the truckload of questions but I really am a n00b to how Tremulous handles filesystems.
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.

David

  • Spam Killer
  • *
  • Posts: 3543
  • Turrets: +249/-273
Re: Yet Another Noob Question...
« Reply #1 on: May 29, 2008, 11:58:07 pm »
If its can't find a file in its mod folder it looks in base.
The suggested way of doing it is one user per server, or at least to set fs_homepath as using fs_basepath screws with clients.
Any maps not in the MG repo?  Email me or come to irc.freenode.net/#mg.
--
My words are mine and mine alone.  I can't speak for anyone else, and there is no one who can speak for me.  If I ever make a post that gives the opinions or positions of other users or groups, then they will be clearly labeled as such.
I'm disappointed that people's past actions have forced me to state what should be obvious.
I am not a dev.  Nothing I say counts for anything.

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Re: Yet Another Noob Question...
« Reply #2 on: May 29, 2008, 11:59:48 pm »
Umm k. Thanks, I will try this.
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.

tuple

  • Posts: 833
  • Turrets: +97/-80
Re: Yet Another Noob Question...
« Reply #3 on: June 02, 2008, 12:03:47 pm »
You could also run each instance as a seperate user, since the default location for configs is $HOME/.tremulous/

As far as qvm's, trem has the equivalent of a $PATH variable that may in fact be named path :P  Trem searches through the path for pk3s, qvms and I don't know what else.  The $HOME config directory is the last area searched, so try putting server specific things there (configs, qvms or even maps).  You can even copy the whole tremulous game directory (or just download the zip) and run it from within the user home directory.  That way its search path would be
Code: [Select]
$HOME/.tremulous/base
$HOME/.tremulous/
$HOME/tremulousbinarylocation/
So it would load things in the home config, but still find needed pk3s in the "install" directory.
etc, etc.  You get the picture.  It will gobble up more space and make managing it a bit of a headache, but it will work in a pinch to get the damn thing running ;)

Le Compilateur

  • Posts: 315
  • Turrets: +14/-19
Re: Yet Another Noob Question...
« Reply #4 on: June 02, 2008, 08:56:01 pm »
TY for the help but I just set fs_game and it worked fine. :D :P
I'm a developer! If you'd like to contribute to the Equilibrium QVM project or download the latest version, please visit this thread.

QVMs now compile under Leopard; get the patch here. Requires SVN r1053 or later.