Adjusted M

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

Adjusted M

Postby WhamFish » Thu Mar 03, 2011 6:39 pm

Hi, I'd like to create a stat for my hud that Adjusts M by how many players are still to act. Basically I'd like it to display M multiplied by the following numbers based on position

UTG 9X
UTG+1 8x
UTG+2 7x
MP 6x
MP+1 5x
CO 4x
BTN 3X
SB 2X
BB 1X

I have 2 questions
1) does PT3 know my current position or does it only know my position in my last hand?
2)I understand that the final operation would need to go in the stats section, but in order to do this I'm going to need some operation that takes the current position and translates that into the correct multiplayer, where would this function go?

sorry, im sure I sound stupid. I've programed in R but this language isn't intuitive to me at all
WhamFish
 
Posts: 2
Joined: Thu Mar 25, 2010 11:55 am

Re: Adjusted M

Postby kraada » Thu Mar 03, 2011 6:44 pm

PT3 only knows things based on the last hand - so you can know your M for this had because between the end of the last hand and the beginning of this hand your stack size doesn't change. The number of players can change though when your table breaks or a new player gets moved to your table. I don't believe position is a valid option for the live_table_stat function as a result but I'll check into it - it still won't be entirely accurate though for the cases when people arrive or leave for the obvious reason.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Adjusted M

Postby WhamFish » Thu Mar 03, 2011 8:39 pm

so what about an algorithm that looked up the multiplier for the last hand and then subtracted 1, or just moving the multipliers around to reflect the current multiplier for this hand rather than last? wouldn't it be correct like 95% of the time?

this would prob work for my purposes.
WhamFish
 
Posts: 2
Joined: Thu Mar 25, 2010 11:55 am

Re: Adjusted M

Postby WhiteRider » Fri Mar 04, 2011 4:41 am

I don't think that you can access the player's position using the live stats mechanism, so I don't think you'll be able to build that stat.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK


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

Who is online

Users browsing this forum: No registered users and 0 guests