In our support boards we aim to provide support for the B3 core in its current state. Older releases of B3 are NOT supported. Check our front page for the latest version. You may post feature requests in our General Discussion board. Modifications and Hacks of the core B3 code are NOT supported.
Before you ask for support: [ Read the Support Instructions ] - More info: [ Full Support Disclaimer ]

You are here: Big Brother Bot ForumSupport ForumsInstallation Support (Moderator: MordyT)Status.xml Help
Pages: [1]   Go Down
  Print  
Author Topic: Status.xml Help  (Read 413 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD4, COD5
Posts: 12
Offline Offline
« on: November 27, 2011, 09:55:25 AM »

Hi all,

New here and seeking some help with this file.  I have read several topics here on this file and the closest I came to my situatiuon is this one here - http://forum.bigbrotherbot.net/installation-support/status-xml-3359/msg22244/#msg22244

However here is my situation.  I am renting a dedicated game server with Windows 2008 Server Edition.  I asked the owner of the server if he had a Tech that installed the B3 With XLRStats and he did and he gave me his contact info and this Tech installed the B3 bot as well as the XLRStats and Webpart of the stats for 3 game servers (2 COD4 and 1 COD WaW).  Well in each of the statsconfig files he has something different for this line - $b3_status_url =.  On one server he has it set for the server IP, the other 2 statsconfig files he has them pointing to http:// and thats it.  In each of the server locations for b3\config\plugin_status.xml files each one is showing for the location as \status.xml.

When I try to run the web install I couldn't get paste part 2 as I didn't know where the status.xml file was located and it kept sending me errors telling me it couldn't open that file.  Well I did a search for the status.xml and only found one on the server in c:\Administrators\status.xml.  Now when I have this file opened with notepad+++ it keeps updating which is telling me multiple servers are updating this file as the Server name and map info is changing each time it updates.

I now have 5 servers that I want the b3 bot with XLRStats running.

Now my questions are?

1) Should I allow all 5 of these servers to update that single file?

or

2) Should I have a seperate status.xml file for each game server?


If I should do #1 what are the Pros & Cons for doing such?

Thank you very much for your time and help in advance.


Logged

Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #1 on: November 27, 2011, 08:28:17 PM »

The status.xml file is the file that shows the status of the game server that XLRStats is displaying the stats for. I use unique names for each status.xml file. For example, status_1.xml, status_2.xml, etc.

The status.xml file needs to be in a location that your XLRStats webfront can access. Personally, I set the location of status.xml to an FTP URL and created an FTP account on my webserver, where XLRStats is installed, so the status.xml is written into a folder inside of the webfront.

Here's what is in the xlrstats statsconfig1.php file for my 1st server (I have 4):

Code:
$b3_status_url = "http://grosskopf-servers.com/xlrstats/status/status_rtd.xml";

That tells the XLRStats webfront that the status_rtd.xml file can be found in the "xlrstats/status" folder.

Here's what is in the plugin_status.xml file in B3's conf folder:

Code:
<set name="output_file">ftp://ftpuser:ftppassword@grosskopf-servers.com/xlrstats/status/status_rtd.xml</set>

That writes the status_rtd.xml file to my webserver.

You will need to get the status plugin in B3 working before you set up XLRstats so that the config can find it when you get to that step.

I hope this helps.
« Last Edit: November 27, 2011, 08:29:54 PM by GrossKopf » Logged
Jr. Member
**
OS: Windows
Type: Gameserver Rental Co.
Gameservers: COD4, COD5
Posts: 12
Offline Offline
« Reply #2 on: November 28, 2011, 05:34:10 AM »

Hi GrossKopf,

Makes alot of sense and sounds like an Idea to use.  I will give it a try.  Only thing is you state you have 4 servers, so I am guessing you have 4 installs of everything, Big Brother Bot. XLRStats and Webfront? 

I was thinking of doing the FTP back to my VPS/site but was concerned how much it would slow down the VPS box as I run a webhosting biz and didn't want to make my clients stuff load slower or whatever.  Plus I was worried alittle bit about bandwidth and drive space with 5 game servers and each one having their own set of files and ftp'ing back to the VPS.

Thanks for your reply and I will keep this in mind for sure.  Very much appreciated.
Logged
Beta Testers
*
OS: Windows
Type: Owner dedicated server(s)
Gameservers: alterIW
Posts: 652
Offline Offline
WWW
« Reply #3 on: November 28, 2011, 07:10:20 AM »

Hi GrossKopf,

Makes alot of sense and sounds like an Idea to use.  I will give it a try.  Only thing is you state you have 4 servers, so I am guessing you have 4 installs of everything, Big Brother Bot. XLRStats and Webfront? 

I was thinking of doing the FTP back to my VPS/site but was concerned how much it would slow down the VPS box as I run a webhosting biz and didn't want to make my clients stuff load slower or whatever.  Plus I was worried alittle bit about bandwidth and drive space with 5 game servers and each one having their own set of files and ftp'ing back to the VPS.

Thanks for your reply and I will keep this in mind for sure.  Very much appreciated.

I have 5 seperate installs of B3. For XLRStats and Echelon, I have one install. With XLRstats, you can just make 4 config files and with Echelon, you can add as many servers as you need to the one config.

Having the status.xml file write to the webserver won't slow down your website and it will speed up XLRStats. If XLRStats has to FTP to the server where B3 is running, it will slow that down. It's much better to have the status.xml written directly to the webfront.
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal