Donate to the B3 fund!

"even a small donation helps!"
Donate with PayPal!
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!

Author Topic: xlrstats 3 problem.  (Read 3208 times)

Offline glitchhh

  • Jr. Member
  • **
  • Posts: 21
xlrstats 3 problem.
« on: January 20, 2014, 07:42:54 PM »
Hello, I've got b3 running fine, with the exception that xlrstats isn't updating.

It's stuck on the default settings.

Is there something I didn't config?

I can post my b3.log if need be.

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: xlrstats 3 problem.
« Reply #1 on: January 21, 2014, 03:23:14 PM »
XLRStats isn't updating on the website? In game? What settings are we talking about - website or in-game? Did you restart B3 after changing the settings?
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline glitchhh

  • Jr. Member
  • **
  • Posts: 21
Re: xlrstats 3 problem.
« Reply #2 on: January 21, 2014, 05:00:46 PM »
XLRStats isn't updating on the website? In game? What settings are we talking about - website or in-game? Did you restart B3 after changing the settings?


My mistake, I should have been more clear, it's not updating in game.
I've restarted b3 I think twice, and it's still not updating in game.
It's connected to the db, so I don't think that's the issue.

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: xlrstats 3 problem.
« Reply #3 on: January 21, 2014, 07:24:07 PM »
so when doing !xlrstats, they are not getting updated stats?

is the xlrstats plugin enabled?
do you have the xlrstats tables in the database?
maybe a b3.log would be helpful since it is ingame issues.
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline glitchhh

  • Jr. Member
  • **
  • Posts: 21
Re: xlrstats 3 problem.
« Reply #4 on: January 21, 2014, 10:46:28 PM »
XLRstats is enabled, and I do have xlrstats tables in the db.

When I first started b3, xlrstats disabled, and then re-enabled itself I'm not sure if that's normal.
I'll post a b3.log when the gameserver comes back online.

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: xlrstats 3 problem.
« Reply #5 on: January 22, 2014, 05:33:12 AM »
xlrstats will disable itself if there isn't enough players in the game.
you can set the number in the xlrstats.xml

make sure your b3.log shows you doing a !xlrstats. also a kill would be good.
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline glitchhh

  • Jr. Member
  • **
  • Posts: 21
Re: xlrstats 3 problem.
« Reply #6 on: January 22, 2014, 06:51:40 PM »

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: xlrstats 3 problem.
« Reply #7 on: January 22, 2014, 07:36:05 PM »
Thanks for the log. First, plugin was disabled...

Code: [Select]
140122 15:32:33    CONSOLE    '845:43 say;660396;0;^1|DHC|^7Ervin;x15!xlrstats'
140122 15:32:33    VERBOS2    'Aborted Making Alias for cid: 0, name is the same'
140122 15:32:33    VERBOSE    u'Queueing event Say !xlrstats'
140122 15:32:33    VERBOSE    'Parsing Event: Say: AdminPlugin'
140122 15:32:33    DEBUG    u'AdminPlugin: OnSay handle 5:"!xlrstats"'
140122 15:32:33    DEBUG    u'AdminPlugin: Handle command !xlrstats'
140122 15:32:33    VERBOSE    "RCON sending (74.91.113.103:28960) 'tell 0 ^1|D|^7|H|^4|C|: ^3[pm]^7 ^7cannot execute command. Plugin disabled'"

Then we got this error.... not sure what it means, but I would replace the xlrstats.xml with a fresh one...
Code: [Select]
140122 17:37:08    WARNING    "XlrstatsPlugin: config file is missing 'cmd_xlrstats' in section 'messages'" 

But then you did xlrstats again and it was active...
Code: [Select]
140122 17:37:08    CONSOLE    '97:13 say;610440;3;^1|DHC|^7JohN;x15!xlrstats'
140122 17:37:08    VERBOSE    u'Queueing event Say !xlrstats'
140122 17:37:08    VERBOSE    'Parsing Event: Say: AdminPlugin'
140122 17:37:08    DEBUG    u'AdminPlugin: OnSay handle 5:"!xlrstats"'
140122 17:37:08    DEBUG    u'AdminPlugin: Handle command !xlrstats'
140122 17:37:08    WARNING    "XlrstatsPlugin: config file is missing 'cmd_xlrstats' in section 'messages'"
140122 17:37:08    VERBOSE    "RCON sending (74.91.113.103:28960) 'tell 3 ^1|D|^7|H|^4|C|: ^3[pm]^7 ^3XLR Stats: ^7^^11|DHC|^^77JohN^7 ^7: K ^20 ^7D ^30 ^7TK ^10 ^7Ratio ^50.00 ^7Skill ^31000.00'"
and it gave us your score...

Then some stats...
Code: [Select]
140122 17:37:18    VERBOSE    "Queueing event Client Damage (96.0, 'mosin_nagant_mp', 'torso_lower', 'MOD_RIFLE_BULLET')"
140122 17:37:18    VERBOSE    'Parsing Event: Client Damage: StatsPlugin'
140122 17:37:18    VERBOS2    'Client Damage event handled by StatsPlugin in 0.000 ms'
140122 17:37:18    VERBOSE    'Parsing Event: Client Damage: XlrstatsPlugin'
140122 17:37:18    VERBOSE    'XlrstatsPlugin: ----> XLRstats: onDamage: attacker added: ^1|DHC|^7Ervin (1) damaged Godfather (0)'
140122 17:37:18    VERBOSE    "XlrstatsPlugin: ----> XLRstats: Assistinfo: {'1': 1390412238.565932}"
140122 17:37:18    VERBOS2    'Client Damage event handled by XlrstatsPlugin in 0.000 ms'

Then later you do !xlrstats...
Code: [Select]
140122 17:41:05    CONSOLE    '101:09 say;610440;3;^1|DHC|^7JohN;x15!xlrstats'
140122 17:41:05    VERBOSE    u'Queueing event Say !xlrstats'
140122 17:41:05    VERBOSE    'Parsing Event: Say: AdminPlugin'
140122 17:41:05    DEBUG    u'AdminPlugin: OnSay handle 5:"!xlrstats"'
140122 17:41:05    DEBUG    u'AdminPlugin: Handle command !xlrstats'
140122 17:41:05    VERBOSE    "RCON sending (74.91.113.103:28960) 'tell 3 ^1|D|^7|H|^4|C|: ^3[pm]^7 ^3XLR Stats: ^7^^11|DHC|^^77JohN^7 ^7: K ^20 ^7D ^30 ^7TK ^10 ^7Ratio ^50.00 ^7Skill ^31000.00'"
and have the same stats... not good...

Maybe our clue lies in
Code: [Select]
140122 13:46:46    BOT        'www.bigbrotherbot.net (b3) v1.10.0dev.daily156-20140119 [posix] [PoisonIvy]'
140122 13:46:46    BOT        'Python: 2.6.6 (r266:84292, Dec 26 2010, 22:31:48) n[GCC 4.4.5]'
140122 13:46:46    BOT        'Default encoding: ascii'
140122 13:46:46    BOT        'Starting CodParser v1.4.30 for server 74.91.113.103:28960'
So you are running COD - but what version? I think cod 1.4 and lower has a GUID issue that can cause the B3 system to have issues.

Other then that, I have no idea...
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline glitchhh

  • Jr. Member
  • **
  • Posts: 21
Re: xlrstats 3 problem.
« Reply #8 on: January 22, 2014, 09:07:22 PM »
It's CoD:UO 1.51.

I suppose I could get a fresh copy of xlrstats.

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: xlrstats 3 problem.
« Reply #9 on: January 22, 2014, 09:36:56 PM »
i would reinstall the xlrstats.xml and xlrstats.py (in plugins folder) and see if that helps.
Otherwise you are waiting for someone wiser then me to take a look.
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

Offline Courgette

  • Senior Dev.
  • Hero Member
  • *
  • Posts: 4882
    • Github repository
Re: xlrstats 3 problem.
« Reply #10 on: January 22, 2014, 11:05:25 PM »
if you created your B3 database with B3 1.9.x and then you upgraded B3 to 1.10, make sure you upgraded your B3 database by running

b3_run -c <your b3.xml file> --update

Offline glitchhh

  • Jr. Member
  • **
  • Posts: 21
Re: xlrstats 3 problem.
« Reply #11 on: January 22, 2014, 11:11:51 PM »
What Mordy suggested worked. It's now recording as normal. For future reference, to reset stats, just adjust the mysql db, correct?

Offline MordyT

  • Support Hero
  • Hero Member
  • *
  • Posts: 3644
  • Over $300 Donated to B3!
    • MordyT
Re: xlrstats 3 problem.
« Reply #12 on: January 23, 2014, 04:50:15 AM »
There is a recreate-xlrstats.sql that can be run against the database... to reset all stats....
Help will be given to those with a b3.log

If drop off the map it is due to RL becoming busy :)

System: Python 2.7.3 - Deb 7 - B3 Source Code - 128MB RAM box (rented at $5 a year) - remote MySQL - Remote Web Services

 


Rate this page +1 at Google Search