Page 1 of 1

Win at Showdown when Bet Turn / River

PostPosted: Wed Jun 09, 2010 10:53 am
by dBunny
This stat doesn't seem to work how I expected. If a player bets/raises the turn/river and everyone folds, it shows in the HUD as not winning at showdown when bet turn/river (i.e. 0/1).

If there was no showdown, then how can they lose at showdown? Also, as they won the hand, why is it showing as a loss? Seems to make the stat redundant.

I'm looking for a stat that will count only showdown pots when a player bet/raised, if there was no showdown, then the hand should be ignored for that stat.

Any ideas? Is there such a stat?

Thanks.

dB

PT 3.06.2 on XP

Re: Win at Showdown when Bet Turn / River

PostPosted: Wed Jun 09, 2010 12:05 pm
by kraada
You're right that should be counting as 0/0 - the hand shouldn't be included.

I'll look into getting this fixed for a future release but in the meantime you can create a modified version to do what you want.

Duplicate and edit cnt_t_bet_raise_hands (and _r_ for the river version) and change the name and definition. The new definition should read: sum(if[ (holdem_hand_player_statistics.flg_t_bet OR holdem_hand_player_statistics.cnt_t_raise > 0) and holdem_hand_player_statistics.flg_showdown, 1, 0]) - use whatever name you'd like.

Then duplicate the stats and change the cnt_t_bet_raise_hands name to whatever new name you used. Update your cache and the new stats will be good to go for you.

Re: Win at Showdown when Bet Turn / River

PostPosted: Wed Jun 09, 2010 12:30 pm
by dBunny
OK, thanks.

I think I got it right, updating cache now.

If I don't post back, all went well and thanks again.

dB

Re: Win at Showdown when Bet Turn / River

PostPosted: Wed Jun 09, 2010 1:05 pm
by dBunny
Didn't take as long as I thought.

Implemented and tested and seems to be working perfectly.

Maybe now I won't make so many bad calls on the river! ;-)

Re: Win at Showdown when Bet Turn / River

PostPosted: Wed Jun 09, 2010 3:41 pm
by WhiteRider
It looks like the wrong column is being used by those stats, but the correct columns already exist: see cnt_wtsd_when_t_bet_raise (and _r_) which have the expression that Kraada gave you.

Re: Win at Showdown when Bet Turn / River

PostPosted: Wed Mar 21, 2012 12:10 pm
by dbtje
where can I download this stat / I'm new to PT4 please help

Re: Win at Showdown when Bet Turn / River

PostPosted: Wed Mar 21, 2012 3:02 pm
by kraada
I responded to your PM.

Re: Win at Showdown when Bet Turn / River

PostPosted: Wed Mar 21, 2012 6:27 pm
by dbtje
Thank you but cnt_t_bet_raise_hands is not in statistics in PT4 :?

Re: Win at Showdown when Bet Turn / River

PostPosted: Thu Mar 22, 2012 8:49 am
by kraada
You can create a version of it in PT4 using the same definition changing "holdem" to "cash".