cnt_pfr_opp based on player dealt

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

cnt_pfr_opp based on player dealt

Postby 4StarGen » Tue Jul 29, 2025 6:44 pm

I got this code that should retrieve cnt_pfr_opp based on player dealt in the hand

Code: Select all
sum(if[ cash_hand_summary.cnt_players >= 5 AND (lookup_actions_p.action LIKE '__%' OR (lookup_actions_p.action LIKE '_' AND (cash_hand_player_statistics.amt_before > (cash_limit.amt_bb + cash_hand_player_statistics.amt_ante)) AND (cash_hand_player_statistics.amt_p_raise_facing < (cash_hand_player_statistics.amt_before - (cash_hand_player_statistics.amt_blind + cash_hand_player_statistics.amt_ante))) AND (cash_hand_player_statistics.flg_p_open_opp OR cash_hand_player_statistics.cnt_p_face_limpers > 0 OR cash_hand_player_statistics.flg_p_3bet_opp OR cash_hand_player_statistics.flg_p_4bet_opp) )), 1, 0])


When I debug the stat it clearly shows a different number of instances greater than the number of hands played with a certain number of players
Attachments
Screenshot 2025-07-30 004135.png
(7.08 KiB) Downloaded 689 times
4StarGen
 
Posts: 1020
Joined: Sat Mar 08, 2014 6:58 am

Re: cnt_pfr_opp based on player dealt

Postby Flag_Hippo » Wed Jul 30, 2025 5:10 am

After adding your custom column did you rebuild your custom database cache? If not please do so via 'Database -> Database Management -> Rebuild Cache -> Custom Cache Rebuild'.
Flag_Hippo
Moderator
 
Posts: 17077
Joined: Tue Jan 31, 2012 7:50 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 3 guests