PDA

View Full Version : Linux question (server)


Salman
08-24-2003, 05:32 AM
Hi,

I got a small problem, hopefully some linux freak around ! :D

My problem is as followed:

I have several servers running on a linux system. Now, in the main map i got a seperate map for every server, with their own .cfg's in.
For example, my map TEST gets started like this:

./mohaa_lnxded +set dedicated 1 + set ui_console 1 +set password xxx +set net_IP 200.0.0.0 +set net_port 12204 +exec TEST/CONFIGFILE.cfg &

Now to my actual question: Some servers want a CKR mod, or mods with no gun, others want a normal server. IF i put them in the main map, all the servers will automaticly load 'm. If i put 'm in the TEST map, they dont load 'm, so my question: how u do it, that they load the mods from the map where the config file is in?

friendly greetings

Salman

greensha
08-24-2003, 08:21 AM
I think your best option would be to have seperate copies of mohaa in there own directories. I have mine setup mohaa1, mohaa2 etc. That way there independent of each other. Each one can run different mods, maps, cfg etc. Also you dont need all of the pak files only pak0, pak5, pak6 which will reduce the size of each of you mohaa directories.

Salman
08-24-2003, 08:32 AM
There must be a possiblity to do it like i want, not? If u run 10 copies of mohaa on one server u must do it 10x1 gig that's 10 gig of disk space. The thing i want is possible, i just wonna know HOW

greensha
08-24-2003, 08:48 AM
there was command that pointed to different directories fs_basepath or something like that but it seemed to cause more problems (or was that spearhead) you could check out http://icculus.org/cgi-bin/ezmlm/ezmlm-cgi?23:ddp:0:0#b and maybe see if someone has the answer. FYI each install of mohaa i have only takes up just over 250mb of space. So 10 would only be under 3 gigs of space. With the cp commnad in linux it doesnt take long to copy the directories. Im doing a little investigation to see if I can find a better answer.

muncher
09-01-2003, 01:24 PM
Sorry, I'm in a rush to leave, however, the answer to your question is to use symbolic links from one base directory to each of your serverXX directories for the files that are common to all servers. This way, you'll have multiple servers using the links without having to copy anything.

When I get back, I'll try to expand on this if you haven't figured it out yet.

Muncher
- FragCentral Owner -

Salman
09-01-2003, 02:04 PM
would be gr8 if u could explain me that :? when u are back. Thanks in advance !