Playercount Stat

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

Playercount Stat

Postby js2002 » Tue Aug 25, 2009 2:49 am

Hi,

I want to make a stat that show on which Playercount (at table) the actual showing stats depent/rely on.

f.e. the table gets 4 handed, hud refreshes after the first 4 handed hand and the new stat shows a "4"
next hand 5the player joins, so I think the stats are 5 handed showing but actually they are 4 handed (for 1 hand) because the hud updates aufter the first 5 handed hand...

u know? ;)

psydo code:
if holdem_hand_summary.cnt_players=2 echo 2
if holdem_hand_summary.cnt_players=3 echo 3
etc
(iterative = not possible in pt3, cascaded if´s only possible?!

Where to build that and how? columns oder stats?
js2002
 
Posts: 1502
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: Playercount Stat

Postby WhiteRider » Tue Aug 25, 2009 5:22 am

This isn't currently possible - the stats are built from all of a player's previous hands not from information about the last hand.
It may be possible to do something a Table Averages group although I'm sure I tried to do this in the past and wasn't able to get it to work. I've made a note to have another go at it later when I have some time, though.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Playercount Stat

Postby WhiteRider » Tue Aug 25, 2009 11:11 am

If you add the "Player" statistic to a Table Averages group it will display the number of active players.
I haven't tested this thoroughly yet but it appears to be working correctly.
For information on adding/configuring Table Average (or other) Groups see the Tutorial: Managing HUD Groups.
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