Custom columns for cash game hud, stack size and position

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

Custom columns for cash game hud, stack size and position

Postby gllen » Sun Mar 21, 2010 10:35 pm

Hi,

I created a few custom statistics this weekend and am relatively good with SQL. I think I need to create custom columns to take what I'm working on further, and I'm kind of scared of working out these custom columns myself. If anyone can point me to existing code, or give me guidance, I'd appreciate it! Even if you just tell me "yes it's possible", that would help!

I realize each of these columns would be based on a recently completed hand (and not actual live data), that's fine.

I read the "Tournament HUD - Mark 4 - With M" post by Kraada a few times. I'm not really confident enough to do the same thing for cash games. I'm also confused a little on how a player who I'm playing multiple tables with would end up with the correct stats on each table.

Stack Size (in BB)
I want to use the current stack size of the player in my hud stats for cash games.

For example, if stack_bb was the players current stack size in big blinds, I'd be able to create a statistic expression for my hud like:
if (stack_bb < 25, 'SHORTSTACK','NOT A SHORTSTACK')

Position on me
I want to use the position-on-me of the player in my hud stats. I'm mostly interested in "how many occupied seats to the left" I am to each player.

Example stat:
if (rel_pos <= 2, 'GOOD POSITION ON THIS GUY','NOT A GOOD POSITION ON THIS GUY')
gllen
 
Posts: 3
Joined: Sat Nov 01, 2008 5:57 pm

Re: Custom columns for cash game hud, stack size and position

Postby kraada » Mon Mar 22, 2010 10:27 am

At the moment these sorts of statistics are not working properly due to cache changes in Beta 30.6+. We are currently investigating more elegant long term solutions.
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