Custom Stats not available in HUD

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

Re: Custom Stats not available in HUD

Postby Lythande71 » Wed Mar 30, 2011 3:25 pm

Everything has been sorted out and works absolutely smoothly.

There has never been any problems with the blind level stuff. So this works as described above.
All problems came from my self customized fields that I added manually to a system table!

Kudos to all guys from support team :D

It's remarkable that you guys continued supporting me although I altered the table in a way that usually leads to loss of any kind of support!
Lythande71
 
Posts: 33
Joined: Thu Jul 31, 2008 10:28 am

Re: Custom Stats not available in HUD

Postby kraada » Wed Mar 30, 2011 3:54 pm

I'm glad to hear you got everything working :)
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Custom Stats not available in HUD

Postby m2510k » Wed Apr 06, 2011 10:40 pm

Lythande71 wrote:created new columns in Holdem Tournament player statistics:

[1] cnt_hands_lbp: sum(if[tourney_holdem_hand_player_statistics.id_hand > 0 and tourney_holdem_blinds.amt_bb <=60, 1, 0]) Desc: "Number of hands played in low blind phase."
[2] cnt_vpip_lbp: sum(if[tourney_holdem_hand_player_statistics.flg_vpip and tourney_holdem_blinds.amt_bb <=60, 1, 0]) Desc: "Number of times player voluntarily put money in the pot in low blind phase."

Quick question: how would these lines look like for medium and for high blind phase? Thanks.
m2510k
 
Posts: 2
Joined: Wed Apr 06, 2011 10:36 pm

Re: Custom Stats not available in HUD

Postby WhiteRider » Thu Apr 07, 2011 3:47 am

Change:

tourney_holdem_blinds.amt_bb <=60

..for something like:

tourney_holdem_blinds.amt_bb > 60 AND tourney_holdem_blinds.amt_bb <= 300

[1] cnt_hands_lbp: sum(if[tourney_holdem_hand_player_statistics.id_hand > 0 and tourney_holdem_blinds.amt_bb > 60 AND tourney_holdem_blinds.amt_bb <= 300, 1, 0]) Desc: "Number of hands played in low blind phase."
[2] cnt_vpip_lbp: sum(if[tourney_holdem_hand_player_statistics.flg_vpip and tourney_holdem_blinds.amt_bb > 60 AND tourney_holdem_blinds.amt_bb <= 300, 1, 0]) Desc: "Number of times player voluntarily put money in the pot in low blind phase."
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Custom Stats not available in HUD

Postby m2510k » Tue Apr 12, 2011 10:56 pm

Thanks. I created VPIP stats for low, med and high blind levels by copy-pasting appropriate lines into expression boxes (cnt_hands and cnt_vpip columns and then the VPIP stats according to formula (cnt_vpip/cnt_hands)*100 for each level). Summary type is set to Count Unique. Then I tested all three VPIP stats in HUD, but the numbers I get are wrong. For example, I have a player with 1264 hands on him, and when I drag over these new stats I get something like this in the pupop box:

VPIP for LOW: "Value: 14.235500 (81/569)"
VPIP for MED: "Value: 15.229400 (166/1090)"
VPIP for HIGH: "Value: 15.427200 (195/1264)"

According to my PT3 data on this player the stats should be calculated as:

VPIP for LOW: 13,9 over 586 hands
VPIP for MED: 16,4 over 533 hands
VPIP for HIGH: 17,0 over 186 hands

I have no prior experience with custom stats so I hardly know what I'm doing :) If you have an idea where I went wrong your help would be greately appreciated.

P.S. Since I had to put something into expression for high blind level cnt_vpip and cnt_hands columns, I put "AND tourney_holdem_blinds.amt_bb <= 1000" since all turbo Fifty50 tourneys finish before this level anyway. Is that ok?
m2510k
 
Posts: 2
Joined: Wed Apr 06, 2011 10:36 pm

Re: Custom Stats not available in HUD

Postby WhiteRider » Wed Apr 13, 2011 3:48 am

m2510k wrote:Since I had to put something into expression for high blind level cnt_vpip and cnt_hands columns, I put "AND tourney_holdem_blinds.amt_bb <= 1000" since all turbo Fifty50 tourneys finish before this level anyway. Is that ok?

That's okay, but will count all hands where you had less than 1000 BB. If you want a range you'll need to use something like:

AND tourney_holdem_blinds.amt_bb > 50 AND tourney_holdem_blinds.amt_bb <= 1000

(or whatever you want your ranges to be)
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Previous

Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 4 guests

cron