First Attempt at Custom HUD Stat - Please Check

Forum for users that want to write their own custom queries against the PT database either via the Structured Query Language (SQL) or using the PT3 custom stats/reports interface.

Moderator: Moderators

First Attempt at Custom HUD Stat - Please Check

Postby budgreene » Fri Oct 08, 2010 1:54 am

Hello all,

Newbie here. I read the tutorial on Custom Stats and decided to give it a try.

I would like to be able to display:

1) the average hands per session for a player. I hate it when people drop in, play super aggressive for 5 hands and run.
Would this work? (cnt_p_hands/cnt_p_sessions)

2) All in percentages - closely related reasons to #1
Would this work? ( cnt_p_allin ) * 100

Please be advised I am not the most tech savvy person (huge understatement) so please keep the answers simple.

Thank You
budgreene
 
Posts: 2
Joined: Thu Oct 07, 2010 11:59 pm

Re: First Attempt at Custom HUD Stat - Please Check

Postby kraada » Fri Oct 08, 2010 9:03 am

(1) You can display this in the Tracker but you will not be able to display this in the HUD. The stats that display in the HUD can only be based upon data taken from groups of hands. However this stat counts how many sessions a player has played and it is not possible to add that count in the Player Statistics section.

(2) That you can build but you need to have not just the number of times they went all-in, but the number of times they could (cnt_hands, presumably).

However, it sounds like you've got a couple of misunderstandings about custom statistics that need clearing up. The statistics display their numbers based on values found in the Columns tab. cnt_p_allin, for example, is a column. It's also not one that is available by default. If you click Configure --> Configure Statistics, and go to either the Holdem Cash Player Statistics section or the Holdem Tournament Player Statistics section (on the Sections tab, depending on which you play), and then click Columns you can see the full list of columns on the left. If you click on one, you can see its definition on the right. These are the valid things you can add to a Statistic. Of course, you can certainly create a new one (well, you can create quite a few), and I'd be happy to help you with that, but I thought this needed to be cleared up first.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: First Attempt at Custom HUD Stat - Please Check

Postby budgreene » Tue Oct 12, 2010 12:54 am

Thank You kraada,

I appreciate the help and understanding the structure (limitations) of the HUD stats.
budgreene
 
Posts: 2
Joined: Thu Oct 07, 2010 11:59 pm

Re: First Attempt at Custom HUD Stat - Please Check

Postby kraada » Tue Oct 12, 2010 9:18 am

You're welcome. I'm here to help, so please feel free to keep working at it and asking questions when you're stuck - I understand it's a process that takes some time to get used to.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports, and SQL [Read Only]

Who is online

Users browsing this forum: No registered users and 0 guests