Tourney hands in k in HUD?? (1,2,999,1.0k,11k)

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

Tourney hands in k in HUD?? (1,2,999,1.0k,11k)

Postby grolegogo » Mon Dec 22, 2008 6:15 am

I think there is one for cash games somewhere here, but cant find it. I tried that,but I think something was wrong with it since my cache(?) never finish update.
I need one to use when play sng's so I need it to go in the tourney part. I want it to show hands like this: 1, 2, 3, 100, 999, 1.1k, 2.8k, 9.9k, 10k, 14k, 103k ....
I'm a noooooooob and can't make it myself.
grolegogo
 
Posts: 9
Joined: Sat Jan 26, 2008 2:53 pm

Re: Tourney hands in k in HUD?? (1,2,999,1.0k,11k)

Postby kraada » Mon Dec 22, 2008 11:31 am

Click Configure --> Configure Stats.

Click Tournament Holdem Player Statistics, then click on the Stats tab.

Click New.

Name it Hands k, with whatever description you think is appropriate, with the value expression of cnt_hands.

On the format tab, give it a title of Hands k, a width of 70, and in the format box add:

Code: Select all
if( cnt_hands>999 , format( '{1}k' , format_number((cnt_hands / 1000) , 1 , false , false)) , cnt_hands )


And add the same in the format summary expression. (Note: you don't want to add the "Code: Select All" bit, that's the forum helping you select the actual code in the box)

Click Save, click Apply, update your cache on those databases and you should be able to use your new stat in the HUD.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


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

Who is online

Users browsing this forum: No registered users and 0 guests