Page 1 of 2

How do i set up hud to show me a stat after X opportunities?

PostPosted: Sat Nov 08, 2014 5:30 am
by Suboptimal88
Lets say i want someone to do an action 10 times to have a better idea , how do i set it up so it wont show me his stats until he has done that action 10 times?

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Sat Nov 08, 2014 6:36 am
by WhiteRider
You would need to use either custom formatting or custom colouring to do that. If it's a built-in stat you can only do colouring (or duplicate the stat and edit the formatting in your custom copy).

The Tutorial: Custom Reports and Statistics has information about how to use formatting and/or color expressions to do this. It was written for PT3 but the principals are the same.
The Custom Stats Guide gives an overview of the layout in PT4.

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Sun Nov 09, 2014 6:52 am
by Suboptimal88
WhiteRider wrote:You would need to use either custom formatting or custom colouring to do that. If it's a built-in stat you can only do colouring (or duplicate the stat and edit the formatting in your custom copy).

The Tutorial: Custom Reports and Statistics has information about how to use formatting and/or color expressions to do this. It was written for PT3 but the principals are the same.
The Custom Stats Guide gives an overview of the layout in PT4.



I think i missed it or the links you gave me dont tell me what codes i should use for the specific thing i want to do but they tell me only where i can make those changes and some general stuff for the existing codes and stuff.

do i have to use another code on value expression? and what that code would be ? also what code can i use on colour condition to achieve this? i probably sound like a noob but im not a programmer , sorry for burdening you more.

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Sun Nov 09, 2014 7:15 am
by Suboptimal88
I dont know if thats possible or not , but can you write a code about the thing i asked then i copy paste it into the value expression or colour condition and use the same for the other stats?

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Sun Nov 09, 2014 8:10 am
by WhiteRider
For colouring, which is the simplest way to do it, if the stat's Value Expression is "(actions / opportunities) * 100" then the color expression would be something like:

opportunities < 10

If you set the color here to the background color of your Hud then it will effectively hide it until there are more than 10 opportunities.
Exactly what "opportunities" is depends on which stat you're looking at, but most stats are in that format.

If you want to do it via a format expression then you'd test the same value.
Something like:
if( opportunities < 10, format(''), format_number( (actions / opportunities) * 100, 2, false, false) )

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Thu Mar 31, 2016 5:08 pm
by bwarepoker
I'd like to revive this thread if I may:
I was able to replicate the method above; however, my HUD's color-coding by the value of the stat overrode the "hiddenness" achieved by changing the color to match the background. I tried some alternate approaches such as a custom stat with an "if opportunities < 10, 'x', [regular stat formula]" expression, but struggled with the formatting - I could never get the HUD to display my text ("x") AND display a formatted, color-coded percentage once the minimum was met by using the same formula.

Hopefully this makes sense. Any ideas?

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Fri Apr 01, 2016 3:09 am
by WhiteRider
You will need to do all of the colour coding in one place - if you're using stat-defined colours then you'll need to add more conditions there to specify the color ranges you want to use.

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Sat Apr 09, 2016 8:59 pm
by irlgtoonight
so does that mean if you choose custom formatting, we can still have it for pokerstars without having to add an extra colour?

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Sun Apr 10, 2016 5:22 am
by WhiteRider
No, stat-defined colours can't be used at PokerStars or Full Tilt in order to remain in compliance with their terms.

Re: How do i set up hud to show me a stat after X opportunit

PostPosted: Sun Apr 10, 2016 5:55 am
by irlgtoonight
WhiteRider wrote:No, stat-defined colours can't be used at PokerStars or Full Tilt in order to remain in compliance with their terms.

i dont get it. we are allowed 2 colours per stat correct? plus if you include the default stat that's 3 correct? so im assuming stat-defined means one which the stat changed colour depending on how many hands there are on that stat...otherwise what your saying is we cant colour code our stats but that's too confusing since we can use up to 2 colours