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

You are here: Big Brother Bot ForumAdd-OnsXLRstatsBugFix :: Multi ctime tables.
Pages: [1]   Go Down
  Print  
Author Topic: BugFix :: Multi ctime tables.  (Read 307 times) Bookmark and Share
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« on: January 16, 2012, 06:30:34 PM »

Just set up 4 COD4 servers running off the same instance of the B3 database but with separate xlrstats/ctime/chatlog tables. An error occurred with displaying the activity graph even after the global variable had been changed in the config file:

Quote
$t['b3_ctime'] = "ctime_69_9_170_53";

To fix the error every instance of 'ctime' needs to be replaced with $t['b3_ctime'] in the inc_activitygraph.php file in the root directory.

Hope this helps.

Duc.
Logged

Sr. Member
****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5WaW, Homefront
Posts: 173
Offline Offline
« Reply #1 on: January 18, 2012, 11:39:30 AM »

this is already solved with my modified files in the download section...
Logged
Jr. Member
**
OS: Windows
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5, BF3
Posts: 32
Offline Offline
« Reply #2 on: January 19, 2012, 07:18:08 AM »

this is already solved with my modified files in the download section...

Damn! would have made my life easier if I had found that lol.. I did search but nothing came up :/

Duc.
Logged
Sr. Member
****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5WaW, Homefront
Posts: 173
Offline Offline
« Reply #3 on: January 19, 2012, 09:21:40 AM »

im still waiting for the devs to approve this and add it into one of the next releases...

it can be found in the xlr section of the downloads...
http://forum.bigbrotherbot.net/downloads/?sa=view;down=163

modified ctime plugin included
« Last Edit: January 19, 2012, 09:23:52 AM by Miramar » Logged
[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 2022
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #4 on: January 31, 2012, 10:55:27 AM »

Your code has been reviewed and the ctime plugin will become part of the xlrstats plugin in a future release. (A minor adjustment was made to also make the purge method work for multiple servers.)
Logged

Sr. Member
****
OS: Linux
Type: Owner dedicated server(s)
Gameservers: COD2, COD4, COD5WaW, Homefront
Posts: 173
Offline Offline
« Reply #5 on: January 31, 2012, 12:06:56 PM »

ah... ok...
i didnt thought about this option when i modified it...  Wink
Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal