Columns verify, Stat verifies, HUD chokes with error. HALP!
I've been working on this for hours, I'm completely stumped. All the columns enter correctly, the SQL verifies, the stat SQL verifies too, but when I go to use the stat in a HUD, I get:
Error: Expression: Invalid operation specified in expression.
I know this looks like a lot to weed through but I generated this with a php script so if the problem exists anywhere, it'll exists in the statistic definition or the first five column definitions since the file is generated by iterating over street & actions and spitting out the same stuff otherwise.
Error: Expression: Invalid operation specified in expression.
I know this looks like a lot to weed through but I generated this with a php script so if the problem exists anywhere, it'll exists in the statistic definition or the first five column definitions since the file is generated by iterating over street & actions and spitting out the same stuff otherwise.
- Code: Select all
COLUMNS
cnt_vpip_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND tourney_hand_player_statistics.flg_vpip, 1, 0])
cnt_hands_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND tourney_hand_player_statistics.id_hand > 8, 1, 0])
cnt_walks_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND lookup_actions_p.action = '', 1, 0])
cnt_f_fold_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND tourney_hand_player_statistics.flg_f_fold, 1, 0])
cnt_f_call_8_to_30bb
sum(if[if[tourney_hand_player_statistics.cnt_f_call > 0] AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8, 1, 0])
cnt_f_bet_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND tourney_hand_player_statistics.flg_f_bet, 1, 0])
cnt_f_raise_8_to_30bb
sum(if[if[tourney_hand_player_statistics.cnt_f_raise > 0] AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8, 1, 0])
cnt_t_fold_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND tourney_hand_player_statistics.flg_t_fold, 1, 0])
cnt_t_call_8_to_30bb
sum(if[if[tourney_hand_player_statistics.cnt_t_call > 0] AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8, 1, 0])
cnt_t_bet_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND tourney_hand_player_statistics.flg_t_bet, 1, 0])
cnt_t_raise_8_to_30bb
sum(if[if[tourney_hand_player_statistics.cnt_t_raise > 0] AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8, 1, 0])
cnt_r_fold_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND tourney_hand_player_statistics.flg_r_fold, 1, 0])
cnt_r_call_8_to_30bb
sum(if[if[tourney_hand_player_statistics.cnt_r_call > 0] AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8, 1, 0])
cnt_r_bet_8_to_30bb
sum(if[(tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND tourney_hand_player_statistics.flg_r_bet, 1, 0])
cnt_r_raise_8_to_30bb
sum(if[if[tourney_hand_player_statistics.cnt_r_raise > 0] AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) <= 30 AND (tourney_hand_summary.amt_p_effective_stack / tourney_blinds.amt_bb) > 8, 1, 0])
STATS
RAFq 30 to 75bb
format_number(((((cnt_f_bet_30_to_75bb + cnt_f_raise_30_to_75bb + cnt_t_bet_30_to_75bb + cnt_t_raise_30_to_75bb + cnt_r_bet_30_to_75bb + cnt_r_raise_30_to_75bb) / (cnt_f_call_30_to_75bb + cnt_f_fold_30_to_75bb + cnt_t_call_30_to_75bb + cnt_t_fold_30_to_75bb + cnt_r_call_30_to_75bb + cnt_r_fold_30_to_75bb + cnt_f_bet_30_to_75bb + cnt_f_raise_30_to_75bb + cnt_t_bet_30_to_75bb + cnt_t_raise_30_to_75bb + cnt_r_bet_30_to_75bb + cnt_r_raise_30_to_75bb)) * 100) * ((cnt_vpip_30_to_75bb / (cnt_hands_30_to_75bb - cnt_walks_30_to_75bb)) * 100)) / 1000, 0, false, false)
