Live Hud stats - Positoin

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

Live Hud stats - Positoin

Postby ipsy » Fri Jun 17, 2011 10:37 pm

Is it possible to create var to use here or is it only the once mentioned that i can use. Wanted to put a pos stat in the hud to help me with me small tables, got stack amount working which is sweet in itself but hoped to be able to get a pos stat on there aswell. Made a var named live_player_stat( str_player_name, 'position' ) Just fooling around but thought i might do the trick since the column is named position but get N/A.

Can i do this somehow like this? Or is there any other way getting this in. Aware if i get pos from last hand i would get the prev hand pos but thought i just put in -1 to get that correct.
ipsy
 
Posts: 21
Joined: Fri Jul 04, 2008 7:33 pm

Re: Live Hud stats - Positoin

Postby WhiteRider » Sat Jun 18, 2011 5:13 am

Position isn't available in the live stats mechanism. It is something that has been mentioned before and may be added, but we're working on information from the end of the last hand so it may not be possible to correctly infer the position for the "next" hand correctly in all cases.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Live Hud stats - Positoin

Postby Stoko » Sat Jun 18, 2011 4:52 pm

ok got a friend looking at this that knows this stuff since i really like pos in my hud, he asked me to post this,

Can you please let me know what column(s) in the database are used to calculate the values for any of 'amt_before', 'amt_stack' or 'amt_won'?

I will put a triger that will add the position at one of the fields that your live_player_stat( player, stat ) funciton uses.

Thanks!

edit : friend was logged into his account so was posted from there, thanks in advance with any help on this
Stoko
 
Posts: 2
Joined: Wed Sep 01, 2010 7:05 am

Re: Live Hud stats - Positoin

Postby WhiteRider » Sat Jun 18, 2011 5:37 pm

The live stats are not retrieved from the database - they are stored (in memory) as part of the import, but only certain information is stored.
WhiteRider
Moderator
 
Posts: 54025
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Live Hud stats - Positoin

Postby Stoko » Sat Jun 18, 2011 5:59 pm

is there any stat on the hud that comes from the database and is realtive to the player on the table?
Stoko
 
Posts: 2
Joined: Wed Sep 01, 2010 7:05 am

Re: Live Hud stats - Positoin

Postby WhiteRider » Sun Jun 19, 2011 4:23 am

Other than the "live stats" all stats are based on total information from all of a player's previous hands (from the database) - you can't access information about "the last hand" from the database via the HUD, though.
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