Collection of Custom Stats for New FTP
Results 1 to 7 of 7
  1. #1
    Member
    Join Date
    Oct 2008
    Posts
    62

    Default Collection of Custom Stats for New FTP

    Ok!


    FTPs

    All calculations other than Base assume that 50% of play takes place during Happy Hour. As there's no way to actually track this and Happy Hours happen all the damn time it's probably a decent estimate.


    Base

    FTP
    PHP Code:
    <Stat GroupName="Default" ColumnName="Base FTP" 
    ValueExpressions="sum(round(cast(((cast(pkh.rakeamount as numeric)*1)/10)/pkh.numberofplayers as numeric),2)) as FTP" 
    Evaluate="FTP" ColumnHeader="Base FTP" ColumnFormat="0.00" ColumnWidth="*" Tooltip="Full Tilt Points" /> 
    FTP/100
    PHP Code:
    <Stat GroupName="Default" ColumnName="FTP/100" 
    ValueExpressions="sum(round(cast(((cast(pkh.rakeamount as numeric)*1)/10)/pkh.numberofplayers as numeric),2)) as FTPHand" 
    Evaluate="FTPHand/1.0/TotalHands*100" ColumnHeader="FTP/100" ColumnFormat="0.00" ColumnWidth="*" Tooltip="Full Tilt Points per 100h" /> 
    Blackcard

    FTP
    PHP Code:
    <Stat GroupName="Default" ColumnName="BC FTP" 
    ValueExpressions="sum(round(cast(((cast(pkh.rakeamount as numeric)*1)/10)/pkh.numberofplayers as numeric),2)) as FTP" 
    Evaluate="FTP*2.5" ColumnHeader="BC FTP" ColumnFormat="0.00" ColumnWidth="*" Tooltip="Full Tilt Points" /> 
    FTP/100
    PHP Code:
    <Stat GroupName="Default" ColumnName="BC FTP/100" 
    ValueExpressions="sum(round(cast(((cast(pkh.rakeamount as numeric)*1)/10)/pkh.numberofplayers as numeric),2)) as FTPHand" 
    Evaluate="FTPHand/1.0/TotalHands*250" ColumnHeader="BC FTP/100" ColumnFormat="0.00" ColumnWidth="*" Tooltip="Full Tilt Points per 100h" /> 
    Value (Assumes Blackcard)

    Total $ From FTP
    PHP Code:
    <Stat GroupName="Default" ColumnName="BC FTP $" 
    ValueExpressions="sum(round(cast(((cast(pkh.rakeamount as numeric)*1)/10)/pkh.numberofplayers as numeric),2)) as FTP" 
    Evaluate="FTP*2.5*.0035" ColumnHeader="BC FTP $" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="BC FTP $ total" /> 
    FTP $/100
    PHP Code:
    <Stat GroupName="Default" ColumnName="$/100 From FTPs (BC)" 
    ValueExpressions="sum(round(cast(((cast(pkh.rakeamount as numeric)*1)/10)/pkh.numberofplayers as numeric),2)) as FTPHand" 
    Evaluate="FTPHand/1.0/TotalHands*250*.0035" ColumnHeader="BC $/100 from FTP" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="BC FTP $/100" /> 

    WC Rake

    New FTP Rake system -- Weighted Contributed instead of Dealt. Nits will see their effective rakeback decrease, crazy lagtards who run 25/23 or thereabouts will see it increase a bit probably.

    WC Rake
    PHP Code:
    <Stat ColumnName="WCRake" 
    ValueExpressions="SUM(pkh.rakeamount * (phmisc.postamountpreflop + phmisc.betamountpreflop + phmisc.callamountpreflop + COALESCE(flop.betamount + flop.callamount, 0) + COALESCE(turn.betamount + turn.callamount, 0) + COALESCE(river.betamount + river.callamount, 0)) * 1. / (pkh.potsize + pkh.rakeamount)) * 0.01 AS WCRake" 
    Evaluate="WCRake" ColumnHeader="WC Rake" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="Weighted Contributed Rake (including uncalled bets)" /> 
    WC Rakeback (27%)
    PHP Code:
    <Stat ColumnName="WCRB" 
    ValueExpressions="SUM(pkh.rakeamount * (phmisc.postamountpreflop + phmisc.betamountpreflop + phmisc.callamountpreflop + COALESCE(flop.betamount + flop.callamount, 0) + COALESCE(turn.betamount + turn.callamount, 0) + COALESCE(river.betamount + river.callamount, 0)) * 1. / (pkh.potsize + pkh.rakeamount)) * 0.0027 AS WCRB" 
    Evaluate="WCRB" ColumnHeader="WC Rakeback" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="WCRB" /> 
    Totals

    Complete Earn (Totalwin+WCRB+BCFTP$)

    PHP Code:
    <Stat GroupName="Default" ColumnName="Real Earn" 
    ValueExpressions="SUM(pkh.rakeamount * (phmisc.postamountpreflop + phmisc.betamountpreflop + phmisc.callamountpreflop + COALESCE(flop.betamount + flop.callamount, 0) + COALESCE(turn.betamount + turn.callamount, 0) + COALESCE(river.betamount + river.callamount, 0)) * 1. / (pkh.potsize + pkh.rakeamount)) * 0.0027 AS WCRB;Sum(PH.NetAmountWon)/100.0 as NetWin;sum(round(cast(((cast(pkh.rakeamount as numeric)*1)/10)/pkh.numberofplayers as numeric),2)) as FTP;" 
    Evaluate="(WCRB+NetWin)+(FTP*2.5*.0035)" ColumnHeader="RealEarn" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="CompleteFTPEarn" /> 
    Complete EV Earn

    PHP Code:
    <Stat Groupname="Default" ColumnName="EV Earn" 
    ValueExpressions="SUM(pkh.rakeamount * (phmisc.postamountpreflop + phmisc.betamountpreflop + phmisc.callamountpreflop + COALESCE(flop.betamount + flop.callamount, 0) + COALESCE(turn.betamount + turn.callamount, 0) + COALESCE(river.betamount + river.callamount, 0)) * 1. / (pkh.potsize + pkh.rakeamount)) * 0.0027 AS WCRB;sum(case when EV.SklanskyBucks <> 0 or (EV.SklanskyBucks = 0 and EV.EquityPct = 500) then EV.SklanskyBucks else ph.NetAmountWon end) as SklanskyAdjustedWinnings;sum(round(cast(((cast(pkh.rakeamount as numeric)*1)/10)/pkh.numberofplayers as numeric),2)) as FTP;" 
    Evaluate="(WCRB+(SklanskyAdjustedWinnings/100.0)+(FTP*2.5*.0035))" ColumnHeader="EVEarn" ColumnFormat="$0.00" ColumnWidth="*" Tooltip="EVEarn" /> 

  2. #2
    Member
    Join Date
    Oct 2008
    Posts
    62

    Default

    If anyone can figure out how to account for WCRB in big blinds, that'd be pretty awesome & I'd be able to get EVBB/100+WCRB & BB/100+WCRB, but I can't figure out how to do it right now.

  3. #3
    Junior Member
    Join Date
    Jun 2010
    Posts
    4

    Default Full Tilt Poker Calculations

    These calculations are great. Thanks so much!

  4. #4
    Member
    Join Date
    Jul 2008
    Posts
    49

    Default

    Thank you, how accurate do you think your WC rakeback calculation is, as the amount I am being paid is around 1-2% lower (based on daily totals) than the stat. Am I being cheated?

  5. #5
    Junior Member
    Join Date
    Jun 2010
    Posts
    4

    Question WC Rake Calculation

    Raventhon,

    It appears that your calculation for the WC Rake is slightly off. Is this because you are including uncalled bets and Full Tilt Poker is not? Could you post the formula that would not include uncalled bets? Thanks.

    RoslynSlim

  6. #6
    Junior Member
    Join Date
    Jul 2010
    Posts
    13

    Default

    I think it's not possible to evaluate the real potsize (without uncalled bets) in HM. The coders did it wrong and pkh.potsize in HM refers to potsize with uncalled bets, which has no interest. So, the WC Rake formula is not good.
    Last edited by titoufred; 01-30-2011 at 07:04 PM.

  7. #7
    Junior Member
    Join Date
    Jun 2010
    Posts
    4

    Smile

    Quote Originally Posted by titoufred View Post
    So, the WC Rake formula is not good.
    Thanks for your reply. It's not that it's no good, it's just off a little bit depending on how many uncalled bets there were.

    RoslynSlim

Similar Threads

  1. custom hud stats
    By haian in forum Manager General
    Replies: 7
    Last Post: 10-15-2011, 10:57 PM
  2. Can you put custom stats in other groups than Custom Stats?
    By ProsperousOne in forum Manager General
    Replies: 1
    Last Post: 01-29-2010, 10:39 PM
  3. Tourney Stats collection
    By yshulzin in forum Manager General
    Replies: 6
    Last Post: 09-09-2009, 06:48 PM
  4. collection of HM filters for leak finding
    By Holdem_LOL in forum Manager General
    Replies: 1
    Last Post: 07-05-2009, 05:17 AM
  5. custom stats
    By luzil in forum Manager General
    Replies: 1
    Last Post: 03-31-2009, 05:36 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •