Full documentation and information about XLRstats can be found on our XLRstats website: www.xlrstats.com

You are here: Big Brother Bot ForumAdd-OnsXLRstatsHelp running two servers off of same DB
Pages: [1]   Go Down
  Print  
Author Topic: Help running two servers off of same DB  (Read 372 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: MW2 (AlterIW), SOF2
Posts: 13
Offline Offline
« on: January 19, 2012, 05:06:08 PM »

I have XLR running fine with one server.  Now I am trying to add a second server to the same stats page.  I want them to share the same database so the stats will be merged.

I created statsconfig1 and statsconfig2 each reflecting back to the correct ip an port and the drop down works

Here is the problem, when I click the drop down it only shows the server name that last dumped the gamelog to status.xml (shows twice) and the port is messed up.

How do I properly configure this or am I trying to do something not possible?

Thanks
Logged

Support Hero
*
OS: Windows
Type: Gameserver Rental Co.
Gameservers: 2x CoD4, 1x BF3
Posts: 2629
Offline Offline
Owner of Host4B3.com - Over 70 bots hosted!
WWW
« Reply #1 on: January 20, 2012, 05:26:31 AM »

you need to configure the plugin_status.xml on the second bot to write status2.xml (or whatever) and then edit the statsconfig2.php to read status2.xml

Then the names/players will show the correct info per server.
Logged

Need B3 Bot hosting? Check out Host4B3.com
Check Twitter.com/Host4B3 for updates if the site it down.

Help will be given to those with a b3.log

System: Python 2.7.1 - B3 Source Code - Locally hosted MySQL & Apache - Win 2k3
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: MW2 (AlterIW), SOF2
Posts: 13
Offline Offline
« Reply #2 on: January 20, 2012, 05:01:00 PM »

Thanks, that did the trick.  I also needed to remove the original statsconfig.php

Works great!
Logged
Newbie
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: urt
Posts: 6
Offline Offline
« Reply #3 on: February 02, 2012, 03:05:21 PM »

an easy way to do this is make a copy of the b3 file and then change anything u want to change in the xml files or anything then make a database called b31 or somthing and changed in ur b3.xml file to ur log in info then /b31 and it will work
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal