limp/fold stat funny results 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

limp/fold stat funny results in hud

Postby zubs1aa » Sat Jan 09, 2010 7:46 pm

Hi-

I tried using the limp fold and limp-fol-mzone stats but I didn't get the results I expected.

I added it in two places in my tourney hud.

1) a modded version of the default preflop HUD (statistic Limp/Fold)

2) a modded version of the M zone hud (statistic Limp/Fold - BZ GZ OZ RZ etc...)

In the preflop stats it displayed a whole number only, like "7"

In the Mzone I got what I expected, which was something like 50% (5/10)

From looking at the stats I cant figure out why I don't get the x% (Y/Z) format for the Limp/Fold.. and only get it for the mzone version.

any help appreciated!

THanks.
zubs1aa
 
Posts: 2219
Joined: Fri Feb 08, 2008 1:52 pm

Re: limp/fold stat funny results in hud

Postby zubs1aa » Sat Jan 09, 2010 7:55 pm

OOPS-

I think I figured it out.

1) Can you verify that these stats are both giving me the info, only by Mzone in cae and in general by the other?

Definitions from the stats page-- I didn't change these.

Limp/Fold - BZ: (cnt_p_limp_fold_bz / cnt_p_limp_faceraise_bz) * 100

Limp- Fold: (cnt_p_limp_fold / cnt_p_limp) * 100


2) I realized it wa just a formatting issue and that there was different formatting in teh mzone version. So I took the mzone version and replaced the elements with the plain version for the plain version formatting.

This look right?

Mzone version had Format expression as:
format( '{1}% ({2}/{3})', format_number((cnt_p_limp_fold_bz / cnt_p_limp_faceraise_bz) * 100 ,0,false,false), cnt_p_limp_fold_bz, cnt_p_limp_faceraise_bz )

So I changed it in the plain one to this:
format( '{1}% ({2}/{3})', format_number((cnt_p_limp_fold / cnt_p_limp) * 100 ,0,false,false), cnt_p_limp_fold, cnt_p_limp)


Mzone version had Format Summary expression as this:
format( '{1}% ({2}/{3})', format_number((cnt_p_limp_fold_bz / cnt_p_limp_faceraise_bz) * 100 ,0,false,false), cnt_p_limp_fold_bz, cnt_p_limp_faceraise_bz )

So I changed it in the plain one to this:
format( '{1}% ({2}/{3})', format_number((cnt_p_limp_fold / cnt_p_limp) * 100 ,0,false,false), cnt_p_limp_fold, cnt_p_limp )
zubs1aa
 
Posts: 2219
Joined: Fri Feb 08, 2008 1:52 pm

Re: limp/fold stat funny results in hud

Postby WhiteRider » Sun Jan 10, 2010 5:32 am

These are from Kraada's Advanced HUD Configuration, yes?

1. The M-zone versions of the stats are the same but only count hands where the player's stack was in the specified zone.

2. You shouldn't need that kind of format expression unless you want to see the stat like that in a report too.
In the HUD you can enable the times/opportunities in the Statistic Properties. If you're only seeing a single number with no decimals, then the Decimal Places is probably set to 0 in the stat properties.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


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

Who is online

Users browsing this forum: No registered users and 0 guests