statistics.cnt_players and summary.cnt_players

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

statistics.cnt_players and summary.cnt_players

Postby ibyoar » Thu Sep 20, 2012 10:08 am

Thanks for your help,
in PT3 cnt_players give 2 differents stats(players dealt and players in the hand)
i have created 2 queries in pt4 using both and the result is the same. maybe in pt4 statistics.cnt_players and summary.cnt_players are the same data?
ibyoar
 
Posts: 94
Joined: Mon Jun 06, 2011 12:31 pm

Re: statistics.cnt_players and summary.cnt_players

Postby kraada » Thu Sep 20, 2012 12:04 pm

I'm not sure what you mean - the number of players dealt in are the number of players who are in the hand. Could you give me an example hand of when these would differ?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: statistics.cnt_players and summary.cnt_players

Postby ibyoar » Thu Sep 20, 2012 3:25 pm

the numbers of players dealt in the hand is supposed to be initial numbers of players in the table, players in the hand is supposed to be reamining players in the hand.
for example: 4 players in a table-->4 players dealt, player 1 folds-->3 players in the hand

Extract from PT3 Database schema:
Table Statistics-->cnt_players small integer The number of players in the hand.
Table summary-->cnt_players small integer The number of players who were dealt into the hand.
ibyoar
 
Posts: 94
Joined: Mon Jun 06, 2011 12:31 pm

Re: statistics.cnt_players and summary.cnt_players

Postby kraada » Thu Sep 20, 2012 5:03 pm

As far as I'm aware those should both be the number of players dealt in - cnt_players_f, cnt_players_t and cnt_players_r (in the hand_summary table) are the number of players who saw those streets and those would differ from cnt_players as obviously people don't all make it to the various postflop streets.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: statistics.cnt_players and summary.cnt_players

Postby ibyoar » Thu Sep 20, 2012 5:42 pm

ok, so both are the same data...is there any way to obtain the number of players who remain active preflop in certain moment?
lets suppose i want to know % of times a player pushes preflop when there are 3 players active in the hand and 6 players were dealt(3 have folded)

summary.cnt_players =6 AND statistics.flg_p_open AND (statistics.amt_before = statistics.amt_bet_p) AND???
ibyoar
 
Posts: 94
Joined: Mon Jun 06, 2011 12:31 pm

Re: statistics.cnt_players and summary.cnt_players

Postby kraada » Thu Sep 20, 2012 6:50 pm

Well, if you want open shoves without limpers you can just check position - as long as position is between 1 and 7 you're good (BB = 9, SB = 8, BTN = 0). If you allow limps or 3betting/4betting it gets quite a bit more complicated . . .
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: statistics.cnt_players and summary.cnt_players

Postby js2002 » Tue Jun 24, 2014 7:40 am

Is there still a difference in PT4 between:

cash_hand_player_statistics.cnt_players = 4
cash_hand_summary.cnt_players = 4

I dont see one in my DB
js2002
 
Posts: 1501
Joined: Fri Feb 15, 2008 5:44 am
Location: Germany

Re: statistics.cnt_players and summary.cnt_players

Postby kraada » Tue Jun 24, 2014 8:40 am

No, there isn't. The data is stored in both places as it allows us to optimize some queries.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 40 guests

cron
highfalutin