TheLuckyOne
10-16-2009, 02:05 AM
Hi Folks,
I am a total noob to custom stats or programming and I am not sure how easy it will be or if it might even be impossible.
I would like to use a custom stat to calculate another custom stat.
In my case I use a iPoker custom stat like this:
Stat GroupName="Default" ColumnName="SNG_MTT_FR Points" ValueExpressions="
Sum(
(case when PKH.RakeAmount between 1 and 9 then 0.75 else 0 end) +
......... (more similar lines)
(case when PKH.RakeAmount between 276 and 300 then 14.0 else 0 end) +
(case when PKH.RakeAmount >= 301 then 18.0 else 0 end)
)/1.0
as Points1" Evaluate="Points1" ColumnHeader="Points1" ColumnFormat="0.00" ColumnWidth="*" Tooltip="Points1 earned"
This stat is caluclating how many points I earned in the hands I played (in my case FR). My rakeback is related to the stat and I would like to be able to display a %-stat in HEM.
What I would need is a additional stat that works like that:
((Points/1000)*21) / Rake = xx.xx%
Means I get $21 per 1000 points and I would like to calculate the total Rakeback I received and divide it through the Rake (MGR).
Who can help me? If it is a lot of work, I could ship some $$$ to you for the work, but I guess it is done in 3 min. if you know how that works.
Thank you in advance.
Chris
//// Update:
$10 for the one who does this!
I am a total noob to custom stats or programming and I am not sure how easy it will be or if it might even be impossible.
I would like to use a custom stat to calculate another custom stat.
In my case I use a iPoker custom stat like this:
Stat GroupName="Default" ColumnName="SNG_MTT_FR Points" ValueExpressions="
Sum(
(case when PKH.RakeAmount between 1 and 9 then 0.75 else 0 end) +
......... (more similar lines)
(case when PKH.RakeAmount between 276 and 300 then 14.0 else 0 end) +
(case when PKH.RakeAmount >= 301 then 18.0 else 0 end)
)/1.0
as Points1" Evaluate="Points1" ColumnHeader="Points1" ColumnFormat="0.00" ColumnWidth="*" Tooltip="Points1 earned"
This stat is caluclating how many points I earned in the hands I played (in my case FR). My rakeback is related to the stat and I would like to be able to display a %-stat in HEM.
What I would need is a additional stat that works like that:
((Points/1000)*21) / Rake = xx.xx%
Means I get $21 per 1000 points and I would like to calculate the total Rakeback I received and divide it through the Rake (MGR).
Who can help me? If it is a lot of work, I could ship some $$$ to you for the work, but I guess it is done in 3 min. if you know how that works.
Thank you in advance.
Chris
//// Update:
$10 for the one who does this!