View Full Version : YPC Points stat
Aviat0r71
02-01-2010, 11:56 PM
Hi guys,
How could I add a stat for YPC points earnt?
They say "2.5 Raked Hands = 1 YPC Point"
This would be through absolute poker don't know if that makes a difference :D lol.
Thanks
Aviat0r71
02-03-2010, 09:51 AM
I've tried putting this:
YPC Points:
Stat GroupName="Default" ColumnName="YPC Points" ValueExpressions="Sum(case when ph.RakeAmount > 0 then 1 else 0 end)/sum(2.5) as YPCPoints" Evaluate="YPCPoints" ColumnHeader="YPC\nPoints" ColumnFormat="0" ColumnWidth="60" Tooltip="YPC Points"
into customstats.txt
the stat displays but only displays zero :confused:
Is there a mistake in the formula above??
Cheers guys
Iggy23
02-06-2010, 01:08 AM
Try this...
Stat GroupName="Default" ColumnName="YPC Points" ValueExpressions="Sum(case when ph.RakeAmount > 0 then 1 else 0 end) as YPCPoints" Evaluate="YPCPoints/2.5" ColumnHeader="YPC\nPoints" ColumnFormat="0" ColumnWidth="60" Tooltip="YPC Points"
Aviat0r71
02-08-2010, 11:32 AM
Cool thx Iggy
Powered by vBulletin® Version 4.2.3 Copyright © 2024 vBulletin Solutions, Inc. All rights reserved.