by COKE_MAN » Mon Apr 09, 2012 6:16 pm
I took a shot at rebuilding the ones I used, but maybe someone there can tell me if I am on the right track...
In PT3, you used the built-in function live_table_history_stat(column, hands) and that would return the values needed to build live table stats. Looking over the 2 existing live stats in PT4, it appears that function has gone away and the values are pulled straight out of the table live_cash_table/player (or tourney if so inclined). So, to pull the winner of the last hand and the pot of the last hand, I just built columns called live_table_last_winner and live_table_last_pot and these pull data from live_cash_table.winner and live_cash_table.amt_pot respectively. Then my imported PT3 stats were modified to use these new columns. Is that correct? It is pulling the data that is in those table and displaying, but I am not able to fire up a live table right now. Will the live_cash_table always just have the last hand info in there or is it going to be cumulative and require more processing?
The 3rd stat I used in PT3 that I cannot yet see how to recreate was the player per flop value. In PT3, this was done with a variable that took the number of players and the number that saw a flop for the last 5 or so hands, divided that and then averaged. So I had a running score of the PPF on a table. I see cnt_players and cnt_saw_flop in the live_cash_table, but with no live_table_history function (assuming this new table is always just the last hand as mentioned above) I really have no way to get an average over the last X hands. Is that correct? Not a big deal if that can't be done right now, I really doubt I use it that much at the moment, but while I am taking the time to tackle some of these workarounds, I might as well hit them all.