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

You are here: Big Brother Bot ForumAdd-OnsXLRstats(CoD5)Possible to add flag captures?
Pages: [1]   Go Down
  Print  
Author Topic: (CoD5)Possible to add flag captures?  (Read 1359 times) Bookmark and Share
Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« on: February 17, 2010, 09:00:55 PM »

Been running the XLRstats for a while with no problems on our CoD5 TWAR-mode server, it's awesome! http://209.239.120.58/xlrstats/index.php?config=1

One of the side affects has been a lot of people mainly concerned with KDR instead of going for the objective lol. Is it possible to add flag captures (in TWAR mode) to the list of things it records, maybe as one of the awards (overall flag captures or average per round, either one or both would be awesome). Also, if it is possible, would it only credit the person who's name shows up in the console as 'captures the flag' or would it credit everyone that was on the flag at the time of capture. I'm not sure if it records that, but obviously the server knows as it awards all of them 30pts to their score.

Thanks in advance for your reply!
Logged

B3 Contrib/Support
*
OS: Linux
Type: Home user
Gameservers: Over see 25 URT servers / B3 servers (not all mine)
Posts: 339
Offline Offline
WWW
« Reply #1 on: February 18, 2010, 01:03:22 AM »

Im sure one could adapt the knifer plug-in , to make a flag one?  Wink Wink  it would be cool at the end of the round to see the top capper
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #2 on: February 18, 2010, 01:43:16 AM »

XLRstats Version 2.1.0 has the ability to keep stats of actions like capture the flag, search and destroy etc. This includes an action award too. Of course you'll also need to upgrade your database and xlrstats plugin. Required files are included in the package.

The only thing is that we haven't tested the action stats with codwaw. Maybe you can test and let us know the results Smiley
Logged

B3 Contrib/Support
*
OS: --No B3 installed--
Type: --No B3 installed--
Posts: 1225
Offline Offline
Support Specialty: B3-Core, CoD/BFBC2 parsers, FTP-functionality, Plugin development
« Reply #3 on: February 18, 2010, 03:03:58 AM »

If CoD5 is anything like CoD4 there are no action events, eg only kills, assists, damage can be monitored. Feel free to write a mod to fix this problem, many would be very grateful Smiley
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« Reply #4 on: February 18, 2010, 03:28:42 PM »

XLRstats Version 2.1.0 has the ability to keep stats of actions like capture the flag, search and destroy etc. This includes an action award too. Of course you'll also need to upgrade your database and xlrstats plugin. Required files are included in the package.

The only thing is that we haven't tested the action stats with codwaw. Maybe you can test and let us know the results Smiley

Alrighty, I updated to 2.1.0 from 2.0.7 (sorry! I shoulda checked for new versions first!), is there anything else I have to do now? I went through the normal install, used the same info from the old b3 database, etc and everything is working, but when I click on player names for details and click on the Actions tab it's blank. Is this due to what Bakes said, or am I doing something wrong / skipping something.

Thanks again for the replies gentlemen!
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #5 on: February 18, 2010, 11:52:32 PM »

Did you also run "xlrstats-update-to-v1.0.0.sql" to add actionstats tables in your database?
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« Reply #6 on: February 19, 2010, 12:15:17 AM »

Nope, I saw that file on xlrstats.com and it said "...If you are upgrading from an xlrstats version prior to 1.0.0..." I assumed since I was upgrading from 2.0.7 I wouldn't need to run that. I'll run it in just a sec and post back tomorrow (er... later today? 2am here!) with any changes/results.

Thanks!
Logged
XLRstats dev.
Dev. Team
*
OS: Linux
Type: Home user
Gameservers: COD5, COD7, BF3
Posts: 909
Offline Offline
WWW
Support Specialty: XLRstats webfront
« Reply #7 on: February 19, 2010, 06:02:34 AM »

Mentioned version 1.0.0 is the version of XLRstats PLUGIN not XLRstats WEBFRONT. Note that they are kinda different things. XLRstats PLUGIN collects and writes data in your B3 database, XLRstats WEBFRONT reads and displays the data in a web browser.

You can check your xlrstats plugin version by opening xlrstats.py placed in b3/extplugins folder. You'll see the version info somewhere at the beginning part of the file like "__version__ = '1.1.0'".

About the new tables, check your database to see if you have "xlr_actionstats" and "xlr_playeractions" tables required for actionstats. If not, you can use the sql file in xlrstats website.
Logged

Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« Reply #8 on: February 19, 2010, 11:33:20 AM »

Yup, I have/had 1.0.0

I think I found my problem though, in the xlrstats.xml file...

Code:
 <settings name="actions">
    <!-- Insert your action bonus here, as they appear in the gamelog. See example below. default is no (0) bonus -->
    <set name="hq_defend">0.0</set>
  </settings>

So where would I find a list of actions, or is it as Bakes said and there are none?

Edit: der, guess I gotta look in the gamelog hehe
Logged
Jr. Member
**
OS: Linux
Type: Renting Server, no B3
Gameservers: Remote b3 to CoD5
Posts: 22
Offline Offline
WWW
« Reply #9 on: February 19, 2010, 11:37:59 AM »

Yup, looking in the gamelog I don't see anything that mentions the words 'flag' or 'capture' other than people screaming at their teammates. No action events (Again, that I see)... man that's disheartening.

But I thank ya'll greatly for your time!
« Last Edit: February 19, 2010, 11:42:35 AM by Kellithe » Logged
Tags:
Pages: [1]   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal