a stat that worked in PT3 does not work in PT4

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

a stat that worked in PT3 does not work in PT4

Postby mkjmkjmkj » Wed Jul 11, 2012 4:19 pm

this stat worked in PT3 but does not work in PT4.
when i validate the stat it is valid.
but when it is shown in the hud it where the number should be it shows:
Parameters on the the left and right sight must be compatible

here is the stat

(var_live_amt_ante*var_live_cnt_players+var_live_amt_sb+var_live_amt_bb) * 0.85 + (var_live_amt_ante*var_live_cnt_players+var_live_amt_sb+var_live_amt_bb+var_live_amt_stack) * 0.35 * 0.15 - (var_live_amt_stack * 0.65 * 0.1)

the stat is push or fold EV calculation
where i have stats for different estimation of equity and fold equity
mkjmkjmkj
 
Posts: 91
Joined: Mon May 30, 2011 5:41 am

Re: a stat that worked in PT3 does not work in PT4

Postby kraada » Wed Jul 11, 2012 6:11 pm

Those columns do not exist by default in PT4 - can you tell me how they're defined on your custom setup?
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: a stat that worked in PT3 does not work in PT4

Postby mkjmkjmkj » Thu Jul 12, 2012 4:09 am

live_table_stat( 'amt_ante' )
live_table_stat( 'amt_bb' )
live_table_stat( 'amt_sb' )
live_player_stat( str_player_name, 'amt_stack' )
live_table_stat( 'cnt_players' )

i can see that some of the columns isnt there so i just i have to make them?
mkjmkjmkj
 
Posts: 91
Joined: Mon May 30, 2011 5:41 am

Re: a stat that worked in PT3 does not work in PT4

Postby kraada » Thu Jul 12, 2012 7:47 am

That construction does not work in PT4 - I'm surprised they even validated for you at all.

In PT4 you want:
live_cash_table.amt_ante
live_cash_table.amt_bb
live_cash_table.amt_sb
live_cash_player.amt_stack
and
live_cash_table.cnt_players
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 15 guests

cron
highfalutin