I've started playing around a bit with the statistics. As a simple start, I want to calculate the known Net Win and ROI of a player. By that, I mean the Net Win and ROI based on known tournament results, ignoring the records where you don't know the player's finish (this is indicated by finish = 0). A lot of sites don't provide tournament summaries so you might have players in your tournament for which the finish is not know.
Now, this is not working yet.
1. First, I thought that the custom statistics are stored in the database. I have one shared database with 2 PT3 clients on my netbook and desktop respectively. I created the custom stats on my netbook, but when I open PT3 on my desktop there is no sign of the custom stats. Is that normal ?
2. I did all actions in the 'Holdem Tournament Tournaments' section. Created a custom column 'amt_buyin_ttl_known' which is a copy of 'amt_buyin_ttl' but has the if inside the sum : sum(if[tourney_holdem_results.val_finish>0, tour...copiedfromoriginal...addon, 0]). So basically the if says that if I don't have a finish for the player, I set his buyin to 0 as well.
Then I created a custom variable 'amt_net_known' copied from 'amt_net' which uses 'amt_buyin_ttl_known' instead of 'amt_buyin_ttl'.
Finally, I created 2 custom stats 'Net Won Known' and 'ROI Known' which again are identical to the originals but that use the _known variants instead.
Now, apparently this is not working. The stats that I can now get on the Winnings tab are there, but they are identical to their originals. So it's as if the if-statement in the sum is not working.
What am I doing wrong here ?
3. Finally, how do I include this stat (provided I can get it to work) in my HUD ? I noticed that I can't even select the built-in stats like Net Won or ROI.
