Most of the plugins here are made by B3 users and the authors may not visit frequently. If you need support for plugins or if questions remain unanswered, you will have to contact the author directly. Read the full Support Disclaimer here
NOTE: Do not attach plugins to your forumtopics! Attachements are periodically removed by maintenance tasks. Upload your plugins to our Downloads section instead!

Pages: 1 2 [3] 4 5 ... 8   Go Down
  Print  
Author Topic: XLRstats  (Read 39326 times) Bookmark and Share
Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #30 on: January 03, 2008, 04:45:30 AM »

it is mod_melee.  You can adjust it in the statsconfig.php file and in the xlrstats.xml file.
Logged

Deadbone Platoon
B3 Driven CoD Servers

Jr. Member
**
Posts: 25
Offline Offline
« Reply #31 on: January 03, 2008, 05:04:27 AM »

hmokay...

I editted this in the xlrstats.xml to read 1.50:
Code:
    <set name="mod_melee">1.50</set>

and I added this to the statsconfig.php (it was not there) :
Code:
$w['mod_melee'] = "Knife Kill";

But I don't seem to get any knife kill i the stats..maybe crying to early, but I think that , since it has only been added to the statsconfig.php and it was allready present in the xlrstats.xml the kills were recorded but just not shown. And they should be with the addition to the statsconfig.php.

But I can't seem to find ANYTHING like "melee" in the xlrstats.py

edit : and I can't find any instance of the word "melee" or "MELEE" in the database

regards
B4M
« Last Edit: January 03, 2008, 05:27:20 AM by B4M » Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #32 on: January 03, 2008, 05:59:20 AM »

It is discussed in this same thread, but earlier.
See here: http://bigbrotherbot.com/forums/index.php?topic=19.msg717#msg717

It involves modification of the plugin itself, but it will make the plugin useless for other games.
Logged

Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #33 on: January 03, 2008, 11:47:14 AM »

Hm....my brain must be failing because I don't remember changing my xlrstats.py.  But I may have.  Anyway, I get knife stats just fine, so I must have.
Logged

Deadbone Platoon
B3 Driven CoD Servers
Jr. Member
**
Posts: 25
Offline Offline
« Reply #34 on: January 03, 2008, 01:02:43 PM »

OMG,

I read it, but I missed the clue .... I thought that the plugin had the mod_melee in it but it wasn't active.
So I searched for mod_melee and it didn't come up.
Thought that it was lacking in my version.

Sorry, should have read better.
Cheers
B4M
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #35 on: January 03, 2008, 02:51:00 PM »

Hm....my brain must be failing because I don't remember changing my xlrstats.py.  But I may have.  Anyway, I get knife stats just fine, so I must have.
I sent you a modified version remember?
Logged

Jr. Member
**
Posts: 25
Offline Offline
« Reply #36 on: January 03, 2008, 05:49:08 PM »

Just another question.

On the cod2 server I use Fxstats. With this system I can re-run the stats , by re-feeding the log file to the stats generating script.
Is this also possible with Xlrstats ?.... using the log file to re-generate the stats. And building (like I do with the stats of the cod2 server) a stats database per month.

Cheers
B4M

btw knife kills are workin' now... ;-)
Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #37 on: January 04, 2008, 12:28:50 AM »

B3 and/or XLRstats do not have that feature. You would need to build a new program to do so. Maybe a program that reads an existing logfile line by line and writes it to a new logfile which B3 and XLRstats read. That would take a long time to parse a log though. In my opinion this is too far of the current possibilities.
Logged

Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #38 on: January 04, 2008, 05:30:10 AM »

You could just empty the xlrstats database fields each month.
Logged

Deadbone Platoon
B3 Driven CoD Servers
Sr. Member
****
Posts: 238
Offline Offline
« Reply #39 on: January 18, 2008, 03:27:39 AM »

can I see it in action what it looks like?
Maybe someone has it running in pub
Logged

Sr. Member
****
Posts: 259
Offline Offline
WWW
« Reply #40 on: January 18, 2008, 05:41:32 AM »

can I see it in action what it looks like?
Maybe someone has it running in pub

http://www.deadboneplatoon.com/cod4stats/
Logged

Deadbone Platoon
B3 Driven CoD Servers
Sr. Member
****
Posts: 238
Offline Offline
« Reply #41 on: January 19, 2008, 02:35:44 AM »

thanks!
Logged

Sr. Member
****
Posts: 238
Offline Offline
« Reply #42 on: January 22, 2008, 04:21:43 AM »

Yes you can... You run 2 bots, with a shared database.

Default table names for xlrstats are eg. xlr_playerstats
You can make a new set of tables in the same database with names like eg. xlr_playerstats2

Then add a new section to xlrstats.xml that looks like this:
Code:
<settings name="tables">
<set name="playerstats">xlr_playerstats2</set>
<set name="weaponstats">xlr_weaponstats2</set>
<set name="weaponusage">xlr_weaponusage2</set>
<set name="bodyparts">xlr_bodyparts2</set>
<set name="playerbody">xlr_playerbody2</set>
<set name="opponents">xlr_opponents2</set>
<set name="mapstats">xlr_mapstats2</set>
<set name="playermaps">xlr_playermaps2</set>
</settings>

(You must make the new tables yourself, by hand or by tweaking the packaged .sql file.)

Just some more info I would like to know where I would tell the bot to log for a specific server to these secondary tables?

Furthermore the Urban terror version of the stat contains only as bodypart 'none' If i would add the exact naming of bodyparts from the server log file should it be able to log correctly?

Logged

[ www.xlrstats.com ]
Project Lead
*
OS: Linux
Type: Owner dedicated server(s)
Gameservers: CoD, CoD2, CoD5, UrT
Posts: 1998
Offline Offline
WWW
Support Specialty: B3-Core, CoD/UrT/WoP/ETPro parsers, Plugin development
« Reply #43 on: January 22, 2008, 10:07:56 AM »

1. In this situation you are running 2 bots using the same b3 database... You need to create the tables in your mySQL database by hand and refer to them in the file xlrstats.xml of the second bot. You have to add the section to the xlrstats.xml file if that part is non existent or modify the default part.

2. Sadly in Urban Terror the body part information is missing from the Kill line in the logs, therefor xlrstats is unable to keep stats for them. It has nothing to do with the configuration of xlrstats, it all comes down to the necessary information just not bing there where we need it.
Logged

Former Dev. (senate)
*****
Posts: 350
Offline Offline
« Reply #44 on: January 22, 2008, 10:57:58 AM »

2. Sadly in Urban Terror the body part information is missing from the Kill line in the logs, therefor xlrstats is unable to keep stats for them. It has nothing to do with the configuration of xlrstats, it all comes down to the necessary information just not bing there where we need it.

Really? It used to be there.
Logged
Tags:
Pages: 1 2 [3] 4 5 ... 8   Go Up
  Print  
 
Jump to:  


Rate this page +1 at Google Search


SimplePortal 2.3.1 © 2008-2009, SimplePortal