Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 49 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 97 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 101 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 109 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 120 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 124 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 132 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 201 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/init.php on line 421 Deprecated: Assigning the return value of new by reference is deprecated in /home/gameadm/public_html/forums/includes/class_core.php on line 2384
Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /archive/global.php on line 26

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3249

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436

Warning: date(): It is not safe to rely on the system's timezone settings. You are *required* to use the date.timezone setting or the date_default_timezone_set() function. In case you used any of those methods and you are still getting this warning, you most likely misspelled the timezone identifier. We selected 'America/New_York' for 'EST/-5.0/no DST' instead in /includes/functions.php on line 3436
PB & SymLinks: Multiple servers on Linux? [Archive] - Main

PDA

View Full Version : PB & SymLinks: Multiple servers on Linux?


madgabz
11/12/02, 03:40 am
Hi all,

I'm a bit befuddled as to setup multiple Q3A-gameservers properly in linux, so that it is done in the most economical way, and with no problems for PunkBusters autoupdate!

I read the post over at EvenBalance: Run multiple PB-Enabled servers on one computer (http://www.evenbalance.com/index.php?page=support#multiple)

I also read the Quake3 and Mod's on Symlinks (http://www.gameadmins.com/modules.php?name=Sections&op=viewarticle&artid=28)
But that article really doesnt make much sense, as it seems VERY untidy and entirely based on a symlinking-file-to-file-nitpicking-basis. But I'm a linux-n00b, so maybe it IS the only way...??? :(

What I dont quite understand is how the FS_HOMEPATH variable works?

Does it make q3a-server keep looking at mods in a separate dir, yet still getting data/maps from the original baseq3?

I was thinking of setting it up like this:
Base install in /usr/local/bin/games/quake3/

Server A (OSP server!):
Install in /usr/local/bin/games/q3a/
Startup-options: +set fs_homepath ../q3a
folders:
pb
folder-symlinks:
baseq3 => /usr/local/bin/games/quake3/baseq3
osp => /usr/local/bin/games/quake3/osp

Server B (InstaUnlagged server!):
Install in /usr/local/bin/games/q3b/
Startup-options: +set fs_homepath ../q3b
folders:
pb
folder-symlinks:
baseq3 => /usr/local/bin/games/quake3/baseq3
InstaUnlagged => /usr/local/bin/games/quake3/InstaUnlagged

I would then make shell scripts to start q3ded from usr/local/bin/games/quake3/

This should make it possible to setup even more servers using the SAME baseq3 and mod-dirs, making it easier to update mods and adding new maps, without all the redundancy of having a new complete install for every gameserver....i think!

Would this work? Or does symlinks work in a different way?

Unregistered
11/22/02, 02:14 pm
You are on the right track.

Just do this:

1) INstall all games in /usr/local/games/quake3 (including all addons, etc)

2) Strip all the configs from that install (ie remove them and save them for later)

3) Make sure root owns that folder, and chmod -R 0555. This way the files can be read and not overwritten.

4) Setup user accounts in /home/game1 /home/game2

5) Symlink the stuff:
cp -Rds /usr/local/games/quake3 /home/game1/
*this will symlink ALL the files, that is why we stripped the configs to start with*

6) Copy your configs that you removed before to /home/game1/quake3/baseq3

7) Edit, change IPs/Ports and fire it up!

*You may wish to just make a .tar.gz of the configs so they unpack automatically in the right place. I run like 23 servers and this saves me LOTS of time*

madgabz
11/24/02, 06:58 am
Thanx a LOT, man

That was definitely easier to understand than the guides!

Works like a breeze....cant You do the guide, plz??? :D :D :D