antneye wrote:kraada wrote:anteeye:
(1) Ok in that case these can be built very easily as custom stats. For example, on the flop:
cnt_f_bet_fold: sum(if[cash_hand_player_statistics.flg_f_bet and cash_hand_player_statistics.flg_f_fold, 1, 0])
cnt_f_bet_face_raise: sum(if[cash_hand_player_statistics.flg_f_bet and cash_hand_player_statistics.flg_f_face_raise, 1, 0])
Put the former over the latter and multiply by 100 to get the stat. You can also substitute _t_ or _r_ for _f_ to get turn and river, respectively.
(2) Start with the stat from (1) - that should help you get used to the way things work. Create those columns in the Player section then build the flop stat - that is almost entirely copy and paste. Then alter then to make the turn and river version and you'll be starting on your way. The main structure adds up each time some set of tests is true and when it is, it adds 1 and when it is false it adds 0. You can see lots of other things to test for in the other columns that exist and these can be mixed and matched however you like.
(3/4) I'll discuss this with the development team but I can't guarantee that these will necessarily be added as default statistics.
OK....kind of psyched....I think I as able to build B/Fold (item 1 above) for the Flop, Turn and River but I won't know for sure if I have gotten it EXACTLY right until I finish building the other possibilities....Bet/Call and Bet/Raise. Taken together these should add to 100% and represent the full range of villains possible actions when he bets and faces a raise. I'm slowly getting the hand of this but could use some help creating the cnt_f_bet_call and cnt_f_bet_raise expressions....would it be as simple as the following?
cnt_f_bet_call:sum(if[cash_hand_player_statistics.flg_f_bet and cash_hand_player_statistics.flg_f_call, 1, 0])
and
cnt_f_bet_raise:sum(if[cash_hand_player_statistics.flg_f_bet and cash_hand_player_statistics.flg_f_raise, 1, 0])
That seems right to me if I am understanding this properly
Thanks for all of your help!
Edit: Bah....it must be wrong because I am getting a not valid sql error. any clues?
If u would have read the instruction of white rider, one site before, you would know, that the blue part is the recommended name of the stat and the red one only the expression