problem with expression in custom stat

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

problem with expression in custom stat

Postby chadi99 » Sat Oct 13, 2018 3:26 am

I am trying to add this stat: "Number of times player raised the river then went to showdown and won the hand", but I get the message that the expression is invalid. I have been trying to use the following expression. Please let me know how I can correct it.

sum(if[cash_hand_player_statistics.cnt_r_bet > 0 AND cash_hand_player_statistics.flg_showdown AND cash_hand_player_statistics.flg_won_hand, 1, 0])
chadi99
 
Posts: 4
Joined: Wed Sep 13, 2017 1:28 pm

Re: problem with expression in custom stat

Postby Flag_Hippo » Sat Oct 13, 2018 7:19 am

That expression isn't valid SQL because cash_hand_player_statistics.cnt_r_bet doesn't exist in the database so replace that with cash_hand_player_statistics.cnt_r_raise.
Flag_Hippo
Moderator
 
Posts: 14495
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 18 guests

cron