Defend against X sizing

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Defend against X sizing

Postby Chamie » Fri Jan 24, 2025 6:19 am

Hello I wish to make a stat that says how often they defend vs 2.5x open in HU, how do I make that one?
Chamie
 
Posts: 63
Joined: Sat Nov 29, 2008 8:52 pm

Re: Defend against X sizing

Postby Flag_Hippo » Fri Jan 24, 2025 7:28 am

When a player is facing a 2bet of that size the following will be true:

Code: Select all
((cash_hand_player_statistics.amt_p_2bet_facing + cash_hand_player_statistics.amt_blind) / cash_limit.amt_bb) = 2.5
Flag_Hippo
Moderator
 
Posts: 17092
Joined: Tue Jan 31, 2012 7:50 am

Re: Defend against X sizing

Postby Chamie » Sun Jan 26, 2025 6:00 pm

Flag_Hippo wrote:When a player is facing a 2bet of that size the following will be true:

Code: Select all
((cash_hand_player_statistics.amt_p_2bet_facing + cash_hand_player_statistics.amt_blind) / cash_limit.amt_bb) = 2.5


If we want to make it between 2.4bb and 2.7bb whats the best way to write it? with the entire code please for heads up.
Chamie
 
Posts: 63
Joined: Sat Nov 29, 2008 8:52 pm

Re: Defend against X sizing

Postby Flag_Hippo » Mon Jan 27, 2025 1:38 pm

Chamie wrote:If we want to make it between 2.4bb and 2.7bb whats the best way to write it?


Code: Select all
((cash_hand_player_statistics.amt_p_2bet_facing + cash_hand_player_statistics.amt_blind) / cash_limit.amt_bb) between 2.4 and 2.7

Chamie wrote:with the entire code please for heads up.

If by "heads up" you mean hands with only two players dealt in then you can add:

Code: Select all
and cash_hand_summary.cnt players = 2
Flag_Hippo
Moderator
 
Posts: 17092
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 0 guests