bet river after checks

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

bet river after checks

Postby justforfun » Sat Feb 21, 2015 6:19 pm

I try to make a stat which counts how many player bet the river after flop and turn have been checked no mather whether player is PFA or caller
My idea is something like this, but maybe im missing something as verification using filters failed

sum(if[cash_hand_player_statistics.flg_r_open AND (not cash_hand_player_statistics.flg_f_bet AND not cash_hand_player_statistics.flg_t_bet) AND cash_hand_player_statistics.amt_f_bet_facing = 0 AND cash_hand_player_statistics.amt_t_bet_facing = 0 AND lookup_actions_t.action = 'X' and lookup_actions_f.action = 'X', 1, 0])

sum(if[cash_hand_player_statistics.flg_r_open_opp AND (not cash_hand_player_statistics.flg_f_bet AND not cash_hand_player_statistics.flg_t_bet) AND cash_hand_player_statistics.amt_f_bet_facing = 0 AND cash_hand_player_statistics.amt_t_bet_facing = 0 AND lookup_actions_t.action = 'X' and lookup_actions_f.action = 'X', 1, 0])
justforfun
 
Posts: 116
Joined: Fri Dec 14, 2012 4:20 pm

Re: bet river after checks

Postby kraada » Sun Feb 22, 2015 9:44 am

Change cash_hand_player_statistics.flg_r_open to cash_hand_player_statistics.flg_r_bet and you should be fine.

This could be done more simply though as you don't need to specify that you didn't bet or face a bet when the actions string is exactly 'X' - when you test via equals it's testing the whole string and XF will not match = 'X'. So this would work just as well:

sum(if[cash_hand_player_statistics.flg_r_open_opp AND lookup_actions_t.action = 'X' and lookup_actions_f.action = 'X', 1, 0])

and the same with flg_r_bet as your actions column.
kraada
Moderator
 
Posts: 54430
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 6 guests