Call vs minraise stat

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

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Re: Call vs minraise stat

Postby F.A.Hayek » Thu Aug 15, 2019 12:19 pm

All rigth. So it´s because a i used an expression like this:

if ((cnt_p_raise_sb_limp / cnt_p_facing_sb_limp) > .99,99,(cnt_p_raise_sb_limp / cnt_p_facing_sb_limp)*100)

I saw in another post that it´s the way for the HUD shows 99 instead 100. Is there another way for get that and no losing the counter times/opportunities??
F.A.Hayek
 
Posts: 15
Joined: Sun Feb 01, 2015 2:05 pm

Re: Call vs minraise stat

Postby Flag_Hippo » Thu Aug 15, 2019 12:48 pm

Don't put the formatting directly in the 'Value Expression' - see this example:

99.png
Flag_Hippo
Moderator
 
Posts: 15189
Joined: Tue Jan 31, 2012 7:50 am

Re: Call vs minraise stat

Postby F.A.Hayek » Thu Aug 15, 2019 3:48 pm

i had to do something wrong because now HUD shows this message:
Error:Expresion:Invalid number of arguments passed to function "format number" (Expecting 4. Received 1)
F.A.Hayek
 
Posts: 15
Joined: Sun Feb 01, 2015 2:05 pm

Re: Call vs minraise stat

Postby Flag_Hippo » Fri Aug 16, 2019 6:26 am

Did you change your code? Sorry if I wasn't clear enough but I was showing an example of where to put your code and not what to put so if you are changing your code based on my screenshot that will not work because things are not identical and the entire formatting code I have isn't visible in that tiny window. All you need to do is change the 'Value Expression' and take your existing code and put that in the 'Format Type: Expression' field:

Value Expression:
Code: Select all
(cnt_p_raise_sb_limp / cnt_p_facing_sb_limp) * 100


Format Type: Expression
Code: Select all
if ((cnt_p_raise_sb_limp / cnt_p_facing_sb_limp) > .99,99,(cnt_p_raise_sb_limp / cnt_p_facing_sb_limp)*100)
Flag_Hippo
Moderator
 
Posts: 15189
Joined: Tue Jan 31, 2012 7:50 am

Re: Call vs minraise stat

Postby F.A.Hayek » Sat Aug 17, 2019 9:47 am

Yeah, hehehe, i chnaged my code, it was exactly that.
Now i did correctly and the stat is working as expected but...:
- in the Hud Profiles section, HUD shows "XYZ" instead 99 in each stat configured in that way
- in game, the HUD shows values correctly but with 6 decimals.

I´m changing the Summary Type between "Percent", checking or unchecking Decimals, "Number" or "same as fotmat" and it´s not having any effect.

https://gyazo.com/171486d43555cfdfc3a3d9857c232325

I´m seeing this post: https://www.pokertracker.com/forums/vie ... ls#p336587
But in my stats i can´t change the number of decimals in Item properties in the Hud profile because it doesn´t appear in the box of properties.
F.A.Hayek
 
Posts: 15
Joined: Sun Feb 01, 2015 2:05 pm

Re: Call vs minraise stat

Postby Flag_Hippo » Sun Aug 18, 2019 6:51 am

Please export your HUD Profile and attach it here or in a Support Ticket with a link to this thread.
Flag_Hippo
Moderator
 
Posts: 15189
Joined: Tue Jan 31, 2012 7:50 am

Previous

Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 9 guests

cron