Change stat to include pot size

Discuss and learn how to use TableTracker for table selection and NoteTracker for taking automated notes.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Change stat to include pot size

Postby CliveMorley » Mon Apr 04, 2016 8:07 pm

Hello!

I have various stats I use such as W$SD which I'd like to split into small pot hands and large pot hands - how do I go about this?

For instance I'd like to have; W$SD if final pot size > 100bb
CliveMorley
 
Posts: 7
Joined: Mon Aug 20, 2012 2:14 pm

Re: Change stat to include pot size

Postby WhiteRider » Tue Apr 05, 2016 3:20 am

The size of the final pot is stored in "cash_hand_summary.amt_pot" - to get it in BBs divide by "cash_limit.amt_bb", so include something like this:
(cash_hand_summary.amt_pot / cash_limit.amt_bb) > 100
..or for tournaments:
(tourney_hand_summary.amt_pot / tourney_blinds.amt_bb) > 100
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Change stat to include pot size

Postby CliveMorley » Tue Apr 05, 2016 5:17 am

I found the stat, opened up definitions and pasted that directly in below what was there already;

but it doesn't work - how do I add in this new line of text to an existing stat?
CliveMorley
 
Posts: 7
Joined: Mon Aug 20, 2012 2:14 pm

Re: Change stat to include pot size

Postby kraada » Tue Apr 05, 2016 7:28 am

Use AND and put it in the antecedent of the if[] statement. See this thread which talks about a different situation but it's the same general idea of adding a piece to a column.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Change stat to include pot size

Postby CliveMorley » Tue Apr 05, 2016 7:55 am

Use AND and put it in the antecedent of the if[] statement. See this thread which talks about a different situation but it's the same general idea of adding a piece to a column.

I simply don't know enough about the stat building process to be able to see what's relevant or not here (sorry!). I've read the tutorials and get the basics but come really unstuck when having multiple rules.

1. Can I do everything I need simply by editing the value expression within the definition?
2. If so, this is the current stat I'd like to duplicate and edit:

(cnt_r_bet_wtsd_won / cnt_r_bet_wtsd) * 100

3. I've read the thread you pointed me to and I'm struggling to see what bits of that I need to take here...

Here's my best guess: if[(cash_hand_summary.amt_pot / cash_limit.amt_bb) > 100 AND (cnt_r_bet_wtsd_won / cnt_r_bet_wtsd) * 100] but it doesn't work :-(
CliveMorley
 
Posts: 7
Joined: Mon Aug 20, 2012 2:14 pm

Re: Change stat to include pot size

Postby kraada » Tue Apr 05, 2016 10:13 am

No, you need to do more than editing the value expression. See this guide for the basics on custom statistics creation and this guide for a deeper walkthrough. The latter was written for PT3 but the techniques all apply to PT4, the interface is just slightly different.
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to TableTracker & NoteTracker

Who is online

Users browsing this forum: No registered users and 9 guests

cron
highfalutin