Separate VPIP etc. for HU-stage of a SNG

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

Separate VPIP etc. for HU-stage of a SNG

Postby MachtiSonni » Thu Apr 14, 2011 4:31 pm

Righty,

so I'm embarking on an ambitious journey of creating the perfect MachtiHUD for STTs. I'm a bit of a beginner in terms of custom stat creation so here's my problem: How do I create a "Hands HU"-stat which will show me exactly how many hands I have of him HU? Regarding HU-stats I can probably figure out the rest myself.

I created a column called cnt_hands_hu with the following expression:

sum(if[

(tourney_holdem_summary.cnt_players=2)

, 1, 0])

However, the stat that I connected to didn't work. Is it because tourney_holdem_summary.cnt_players refers to the original number of players and not the remaining?

And oh, I'm aware I can filter for #players but that's not what I'm after.

Thank you in advance,
-MachtiSonni
MachtiSonni
 
Posts: 18
Joined: Tue Dec 15, 2009 4:07 am

Re: Separate VPIP etc. for HU-stage of a SNG

Postby kraada » Thu Apr 14, 2011 6:21 pm

If you only want to see data from heads up play when heads up, the easiest way to accomplish this is via the Player Ranges option on the Configure --> Configure Hud --> Hud Options tab - set the Player Ranges for 2 to 2 and you'll only see heads up data when heads up and it doesn't require any custom statistics. You might also want to set up other ranges like 3-4, 5-6, etc.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Separate VPIP etc. for HU-stage of a SNG

Postby WhiteRider » Fri Apr 15, 2011 2:58 am

Just for reference, to identify tournament hands where 2 players were dealt-in you can use:
tourney_holdem_hand_summary.cnt_players = 2
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