Make Hud stats disclude multiway pots

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Make Hud stats disclude multiway pots

Postby Whiplash99 » Tue Feb 22, 2022 4:29 am

Is there a way to make sure hud stats disclude or include only multiway pots?
Whiplash99
 
Posts: 46
Joined: Wed Aug 09, 2017 1:07 pm

Re: Make Hud stats disclude multiway pots

Postby Flag_Hippo » Tue Feb 22, 2022 5:41 am

You can specify the number of players on the flop in a custom statistic using cash_hand_summary.cnt_players_f.
Flag_Hippo
Moderator
 
Posts: 15215
Joined: Tue Jan 31, 2012 7:50 am

Re: Make Hud stats disclude multiway pots

Postby BPD1997 » Sat Aug 19, 2023 12:21 pm

How does this actually work? Where di i put the text andwhere do I type the number of players?
BPD1997
 
Posts: 16
Joined: Thu May 21, 2020 3:41 pm

Re: Make Hud stats disclude multiway pots

Postby WhiteRider » Sat Aug 19, 2023 3:58 pm

The Custom Stats Guide has an overview of the custom statistics system, and the Tutorial: Custom Reports and Statistics goes into much more detail, with examples etc. The latter was written for PT3, but the same principals apply in PT4.

Including:

cash_hand_summary.cnt_players_f = 2

...would test for two players seeing the flop, for example.
WhiteRider
Moderator
 
Posts: 54017
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Make Hud stats disclude multiway pots

Postby BPD1997 » Wed Sep 06, 2023 1:21 pm

I follwed the instructions to make a collumn - it says i need an expression and also I put the name you said and it's invalid. It there an easy way to change the cbet stat for example to be ith just 2 people in the pot.

I am asking - how specifically can I add the formula you wrote to a pokertracker statistic - I dont need to make one from scratch I just want to add a player limit to the stats you already have
BPD1997
 
Posts: 16
Joined: Thu May 21, 2020 3:41 pm

Re: Make Hud stats disclude multiway pots

Postby Flag_Hippo » Thu Sep 07, 2023 5:02 am

See this post for an example on how you can make a new version of a stat - it is for adding position information but the principle is the same. If you have a column expression that isn't validating then please copy/paste it here so we can see what's wrong.
Flag_Hippo
Moderator
 
Posts: 15215
Joined: Tue Jan 31, 2012 7:50 am

Re: Make Hud stats disclude multiway pots

Postby BPD1997 » Fri Sep 08, 2023 1:07 pm

https://imgur.com/a/REOgSTl
https://imgur.com/DsLbgVe


Here I tried to add your "cash_hand_summary.cnt_players_f = 2" to a statistic for fold to cbet (gave two examples) - this error comes up. I followed the same instructions as in the tutorial on changing positions you sent.

Do you know if there are examples of people doing this before, or anyone with these types of statistics?
BPD1997
 
Posts: 16
Joined: Thu May 21, 2020 3:41 pm

Re: Make Hud stats disclude multiway pots

Postby Flag_Hippo » Sat Sep 09, 2023 3:23 am

You are not putting cash_hand_summary.cnt_players_f = 2 in the correct place. It needs to be added like this:

sum(if[cash_hand_player_statistics.enum_f_cbet_action='F' and cash_hand_summary.cnt_players_f = 2, 1, 0])
Flag_Hippo
Moderator
 
Posts: 15215
Joined: Tue Jan 31, 2012 7:50 am

Re: Make Hud stats disclude multiway pots

Postby BPD1997 » Sat Sep 09, 2023 3:49 pm

Thanks, I think it's working but has lots of decimals i dont know how round it to whole numbers on the HUD:

This is for fold to cbet in non 3bet+ pot (and I added non multiway too)

Value expression: ((cnt_f_cbet_def_action_fold_nonMW - cnt_p_3bet_f_cbet_def_action_fold_nonMW) / (cnt_f_cbet_def_opp_nonMW - cnt_p_3bet_f_cbet_def_opp_nonMW)) * 100

Columns ( in the order the value expression shows) : sum(if[cash_hand_player_statistics.enum_f_cbet_action='F' AND cash_hand_summary.cnt_players_f = 2, 1, 0])

sum(if[(cash_hand_player_statistics.flg_p_3bet_def_opp OR cash_hand_player_statistics.flg_p_4bet_def_opp) AND cash_hand_player_statistics.flg_f_cbet_def_opp AND cash_hand_summary.cnt_players_f = 2, 1, 0])

sum(if[cash_hand_player_statistics.flg_f_cbet_def_opp AND cash_hand_summary.cnt_players_f = 2, 1, 0])

sum(if[(cash_hand_player_statistics.flg_p_3bet_def_opp OR cash_hand_player_statistics.flg_p_4bet_def_opp) AND cash_hand_player_statistics.enum_f_cbet_action='F' AND cash_hand_summary.cnt_players_f = 2, 1, 0])
BPD1997
 
Posts: 16
Joined: Thu May 21, 2020 3:41 pm

Re: Make Hud stats disclude multiway pots

Postby Flag_Hippo » Sun Sep 10, 2023 4:02 am

You can specify the number of decimal places in the HUD Profile Editor under the 'Item Properties' for the statistic:

Guide: HUD Profile Editor (Group Items)

Alternatively you can set the 'Format Type' of the statistic to 'Percent' and turn off the 'Decimals' option.
Flag_Hippo
Moderator
 
Posts: 15215
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 17 guests

cron