Discuss how to create custom stats, reports and HUD profiles and share your creations.
Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators
by buzzleclair21 » Wed May 20, 2026 4:49 am
Hello, i want to creat stat (numbers of BB won at showdown and numberts of BB won whitout showdown but I don't find the correct expression :(
amt_bb_won_sd ==> At the showdown
amt_bb_won_no_sd ==> Wihtout SD
Help me please :) Thanks
-
buzzleclair21
-
- Posts: 4
- Joined: Sat Sep 14, 2013 12:04 pm
by Flag_Hippo » Thu May 21, 2026 5:26 am
- Code: Select all
sum(if[cash_hand_player_statistics.flg_showdown, (cash_hand_player_statistics.amt_won / cash_limit.amt_bb), 0])
- Code: Select all
sum(if[NOT cash_hand_player_statistics.flg_showdown, (cash_hand_player_statistics.amt_won / cash_limit.amt_bb), 0])
-
Flag_Hippo
- Moderator
-
- Posts: 17062
- Joined: Tue Jan 31, 2012 7:50 am
by buzzleclair21 » Thu May 21, 2026 6:05 am
Thanks, but i don't find the solution, sorry.
Name :
amt_expected_bb_won_non_sd
Expression :
sum(if[NOT cash_hand_player_statistics.flg_showdown, (cash_hand_player_statistics.amt_won / cash_limit.amt_bb), 0])
Stat for winrate whitout showdown :
amt_expected_bb_won_non_sd / (cnt_hands / 100)
Where is my error ?
With this stat PT4 find only the winrate normal general all hand.
-
buzzleclair21
-
- Posts: 4
- Joined: Sat Sep 14, 2013 12:04 pm
by Flag_Hippo » Fri May 22, 2026 7:07 am
cnt_hands is the count of all played hands. If you want the winrate based only on hands that did not reach showdown then you should use (cnt hands - cnt_wtsd) instead.
-
Flag_Hippo
- Moderator
-
- Posts: 17062
- Joined: Tue Jan 31, 2012 7:50 am
Return to Custom Stats, Reports and HUD Profiles
Users browsing this forum: No registered users and 22 guests