All in by M in HUD

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

All in by M in HUD

Postby socorrista5 » Sat Nov 10, 2012 1:47 pm

Hello,
I want to use a stat in the HUD and it is not displayed in the available stats for the HUD Profile configuration, so I can not include it in the HUD.


In the Tourneys I have the following stats configured:


Columns:

Downloaded from PT4 website:
val_m = if[ tourney_hand_player_statistics.amt_before / (tourney_blinds.amt_bb + tourney_blinds.amt_sb + (tourney_hand_player_statistics.amt_ante * tourney_hand_summary.cnt_players)) < 1, 1, if[ tourney_hand_player_statistics.amt_before / (tourney_blinds.amt_bb + tourney_blinds.amt_sb + (tourney_hand_player_statistics.amt_ante * tourney_hand_summary.cnt_players)) < 5, 2, if[ tourney_hand_player_statistics.amt_before / (tourney_blinds.amt_bb + tourney_blinds.amt_sb + (tourney_hand_player_statistics.amt_ante * tourney_hand_summary.cnt_players)) < 10, 3, if[ tourney_hand_player_statistics.amt_before / (tourney_blinds.amt_bb + tourney_blinds.amt_sb + (tourney_hand_player_statistics.amt_ante * tourney_hand_summary.cnt_players)) < 20, 4, 5]]]]

made by me:
cnt_p_allin_m1 = sum( if[val_m='1' AND (tourney_hand_player_statistics.enum_allin='P' OR ((tourney_hand_player_statistics.enum_face_allin='P' OR tourney_hand_player_statistics.enum_face_allin='p') AND tourney_hand_player_statistics.enum_face_allin_action<>'N' AND tourney_hand_player_statistics.enum_face_allin_action<>'F')), 1, 0] )

cnt_hands_m1 = sum(if[(val_m='1' AND tourney_hand_player_statistics.id_hand > 0), 1, 0])


In Stats:

Allin_Preflop_M1 = (cnt_p_allin_m1 / cnt_hands_m1) * 100

But this stat "Allin_Preflop_M1" is not available to be used as an stat in the HUD Profile for tournaments, any idea of why?

Thanks
socorrista5
 
Posts: 142
Joined: Mon May 24, 2010 7:56 am

Re: All in by M in HUD

Postby kraada » Sat Nov 10, 2012 3:33 pm

You can't use columns like that as variables - it won't work properly.

You'd need to paste in your M code in to every column you want to check (e.g. tourney_hand_player_statistics.amt_before / (tourney_blinds.amt_bb + tourney_blinds.amt_sb + (tourney_hand_player_statistics.amt_ante * tourney_hand_summary.cnt_players)) = 1) - since you've already done the work you have though this should just be a matter of copying and pasting to fix things up.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: All in by M in HUD

Postby socorrista5 » Sat Nov 10, 2012 5:12 pm

Now it worked perfectly.

Thanks!
socorrista5
 
Posts: 142
Joined: Mon May 24, 2010 7:56 am


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 24 guests

cron
highfalutin