Some heads up stats I don't know how to make

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Some heads up stats I don't know how to make

Postby jaffa » Wed Aug 08, 2012 6:19 pm

I want to create the following stats to add to my heads up hud, was wondering how to do it:

I downloaded the delayed turn c-bet stat, but I would like to add...

fold to delayed turn c-bet

bet river after delayed turn c-bet was called

fold to river bet after calling delayed turn c-bet

bet river after turn probe bet was called

fold to river bet after calling probe bet on turn

I don't really understand the code for each stat so I don't know how to do it
jaffa
 
Posts: 8
Joined: Mon Aug 06, 2012 12:31 pm

Re: Some heads up stats I don't know how to make

Postby jaffa » Tue Aug 14, 2012 5:59 pm

anyone? the trouble i'm having is the code for the columns

the delayed c-bet stat i downloaded was made from the columns cnt_t_delayed_cbet "sum(if[cash_hand_player_statistics.flg_t_bet AND cash_hand_player_statistics.flg_f_cbet_opp AND lookup_actions_f.action='X', 1, 0])"
and cnt_t_delayed_cbet_opp "sum(if[cash_hand_player_statistics.flg_t_open_opp AND cash_hand_player_statistics.flg_f_cbet_opp AND lookup_actions_f.action='X', 1, 0])"

so assuming these are correct I had a go at making the stat for the number of times you continued to bet the river when you made a delayed c-bet on the turn that was called:

not sure if this is correct:

"sum(if[cash_hand_player_statistics.flg_t_bet AND cash_hand_player_statistics.flg_f_cbet_opp AND cash_hand_player_statistics.flg_r_bet AND lookup_actions_t.action='c' AND lookup_actions_f.action='X', 1, 0])"

and

"sum(if[cash_hand_player_statistics.flg_t_bet AND cash_hand_player_statistics.flg_f_cbet_opp AND cash_hand_player_statistics.flg_r_open_opp AND lookup_actions_t.action='c' AND lookup_actions_f.action='X', 1, 0])" for the opportunities

I had a go at a similar stat where you make a turn probe bet and want to know what % player continues to bet the river. I can't seem to get this one to work. I started off with the cnt_t_probe column and added these lines to the if part of the code:
"AND cash_hand_player_statistics.flg_r_bet AND lookup_actions_t.action='c' " and these lines to make the opportunities column "AND cash_hand_player_statistics.flg_r_open_opp AND lookup_actions_t.action='c' "

I don't really understand why this won't produce a stat in my hud (it says the expressions are valid, but it produces a - in my hud)
jaffa
 
Posts: 8
Joined: Mon Aug 06, 2012 12:31 pm

Re: Some heads up stats I don't know how to make

Postby kraada » Tue Aug 14, 2012 6:15 pm

Sorry, I'm not certain how you didn't end up getting a response.

You want lookup_actions_t.action='B' - the one action taken is bet, not call (call is 'C'). Otherwise your columns should work.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Some heads up stats I don't know how to make

Postby jaffa » Wed Aug 15, 2012 12:46 pm

They still won't work. I'm not sure why.

Probe bet turn continued to bet river when called:

sum(if[cash_hand_player_statistics.flg_t_bet AND lookup_actions_t.action='b' AND cash_hand_player_statistics.flg_r_bet AND lookup_actions_f.action LIKE 'X' AND lookup_actions_p.action NOT LIKE '%R' AND cash_hand_player_statistics.flg_p_face_raise AND (cash_hand_player_statistics.val_p_raise_aggressor_pos < cash_hand_player_statistics.position OR (cash_hand_summary.cnt_players = 2 and cash_hand_player_statistics.flg_blind_b)), 1, 0])

sum(if[cash_hand_player_statistics.flg_t_bet AND lookup_actions_t.action='b' AND cash_hand_player_statistics.flg_r_open_opp AND lookup_actions_f.action LIKE 'X' AND lookup_actions_p.action NOT LIKE '%R' AND cash_hand_player_statistics.flg_p_face_raise AND (cash_hand_player_statistics.val_p_raise_aggressor_pos < cash_hand_player_statistics.position OR (cash_hand_summary.cnt_players = 2 and cash_hand_player_statistics.flg_blind_b)), 1, 0])

delayed c-bet turn, continued to bet river when called:

sum(if[cash_hand_player_statistics.flg_t_bet AND cash_hand_player_statistics.flg_f_cbet_opp AND cash_hand_player_statistics.flg_r_bet AND lookup_actions_t.action='B' AND lookup_actions_f.action='X', 1, 0])

sum(if[cash_hand_player_statistics.flg_t_bet AND cash_hand_player_statistics.flg_f_cbet_opp AND cash_hand_player_statistics.flg_r_open_opp AND lookup_actions_t.action='B' AND lookup_actions_f.action='X', 1, 0])


I assume lookup_actions applies to hero then? how does it distinguish a bet from the big blind to a check from the bb and the btn betting? or to a situation where someone bets, does that include the times you bet and get raised? some of the default stats have % signs in them and a LIKE command as well which I don't understand either?
jaffa
 
Posts: 8
Joined: Mon Aug 06, 2012 12:31 pm

Re: Some heads up stats I don't know how to make

Postby pasita » Wed Aug 15, 2012 1:11 pm

I don't really understand why this won't produce a stat in my hud (it says the expressions are valid, but it produces a - in my hud)


Is this still the problem? It'll show a - if there are no opportunities (i.e. PT4 would have to try and divide with 0).
Try putting the stat in an "All players report" and see if it shows any actual numbers there... seems to work for me.
pasita
 
Posts: 605
Joined: Tue May 06, 2008 4:05 pm

Re: Some heads up stats I don't know how to make

Postby jaffa » Wed Aug 15, 2012 1:50 pm

pasita wrote:
I don't really understand why this won't produce a stat in my hud (it says the expressions are valid, but it produces a - in my hud)


Is this still the problem? It'll show a - if there are no opportunities (i.e. PT4 would have to try and divide with 0).
Try putting the stat in an "All players report" and see if it shows any actual numbers there... seems to work for me.


Bet river after delayed turn c-bet seems to be working, it was just being temperamental earlier for some reason i think

Bet river after turn probe isn't however, and it also comes up with a "-" in the all players reports
jaffa
 
Posts: 8
Joined: Mon Aug 06, 2012 12:31 pm

Re: Some heads up stats I don't know how to make

Postby pasita » Wed Aug 15, 2012 2:29 pm

Yeah it was the delcontbet one that I tried and found working.

In the probe stat, I guess this
lookup_actions_t.action='b'

should be
lookup_actions_t.action='B'

(both the count and opp columns).
pasita
 
Posts: 605
Joined: Tue May 06, 2008 4:05 pm

Re: Some heads up stats I don't know how to make

Postby kraada » Wed Aug 15, 2012 3:58 pm

Yes, strings are case sensitive and we use B for bet, not b.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Some heads up stats I don't know how to make

Postby jaffa » Wed Aug 15, 2012 5:50 pm

this solved the problem, thanks
jaffa
 
Posts: 8
Joined: Mon Aug 06, 2012 12:31 pm

Re: Some heads up stats I don't know how to make

Postby Finnisher » Tue Aug 21, 2012 10:50 am

Do you have the other stats too?

Fold to delayed cbet
Fold to river after calling delcbet
Fold to river bet after calling probe bet on turn

Thanks
Finnisher
 
Posts: 1
Joined: Wed Oct 08, 2008 2:23 pm

Next

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 41 guests

cron
highfalutin