--
[ Picked text/plain from multipart/alternative ]
I have four servers (on two seperate machines, at that!) that all have their
banlists synced up. =) I won't go into tremendous detail since you have the
luxary of both servers on the same box, but here's how you do it (or how I
would).

cp /path/to/server1/cstrike/cfg/banned.cfg
/path/to/server2/cstrike/cfg/s1ban.txt
cp /path/to/server2/cstrike/cfg/banned.cfg
/path/to/server1/cstrike/cfg/s2ban.txt

Then simply stuff exec s1ban.txt into server2's screen, and exec
s2ban.txtinto server1's screen. =) You can also cat both banned_users
and _ip into a
single file. Just make sure to stuff a writeid and/or writeip after the exec
so they save the differences.

It's not realtime, but you can cron it to run as often as you want. I have
mine done once a day, but mine has to rsync files between servers and such,
it's a bit more complex.

-tsue

On 4/29/07, Husayn ibn al-Samarqandi <[EMAIL PROTECTED]>
wrote:
>
> Folks:
>
> This has been asked before but for the life of me I can't find it in the
> archives or doing a general search on various forums:
>
> I want to use a common banned.cfg and listip.cfg across two physically
> seperate DoD and TFC servers, the general principle being if a player is
> a jerk in one place he's most probably a universal jerk. I suspect
> mounting the directory of one on the other and doing a soft link, ala
>
> ln -s /mnt/otherserver/tfc/banned.txt
> /usr/local/games/hlds_l/dod/banned.txt
>
> may not work as Server A  may 'write' to the banned.cfg but Server B may
> not 'read' from the file, keeping its banned.cfg in memory and only
> writing to the physically shared banned.cfg when necessary, overwriting
> what Server A has put in banned.cfg. Am I thinking right? If not, will
> this work? If so, is there another method?
>
> Thanks!
>
> "Insane" Husayn
>
>
> _______________________________________________
> To unsubscribe, edit your list preferences, or view the list archives,
> please visit:
> http://list.valvesoftware.com/mailman/listinfo/hlds_linux
>
--

_______________________________________________
To unsubscribe, edit your list preferences, or view the list archives, please 
visit:
http://list.valvesoftware.com/mailman/listinfo/hlds_linux

Reply via email to