Color Coded Stats not showing on Popup

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

Color Coded Stats not showing on Popup

Postby gerygg » Fri Nov 06, 2009 2:41 pm

Hi, first of all I say hello as I'm new on the forums.

I've been using kraada's HUD for quite a while and I think it's time to make one of my own which better adjust to my needs, so I'll be asking some questions about programing since I don't know nothing about this.

I'm having my first problem, I tried to make a popup where i would see my hud but it different positions, so I took the color coded stats that i have in the hud, put them in the popup by position, but the colors are not showing. Is this normal? You cannot use those stats on the popup? Will this be available in the future? How can it be solved?

Thanks,

Gery
gerygg
 
Posts: 6
Joined: Wed Apr 08, 2009 8:37 pm

Re: Color Coded Stats not showing on Popup

Postby kraada » Fri Nov 06, 2009 3:33 pm

Unfortunately that won't really work right. What you could do is make custom per-position statistics as I explain early on in my FAQ with my HUD, and then use those and that should work properly.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Color Coded Stats not showing on Popup

Postby gerygg » Fri Nov 06, 2009 3:42 pm

hey!

when u say it wont work what do u mean?
a. the colors defined in those stats wont work
b. using PT's EP, MP, LT.
c. none

and you're solution is for a or just b?

thanks
gerygg
 
Posts: 6
Joined: Wed Apr 08, 2009 8:37 pm

Re: Color Coded Stats not showing on Popup

Postby kraada » Fri Nov 06, 2009 4:55 pm

Taking the - Colored stats and putting then in various positions the colors won't actually relate to the positions for the stats in question, so you'd need to create - Colored/MP that uses just the stats you want to see.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Color Coded Stats not showing on Popup

Postby gerygg » Sat Nov 07, 2009 3:37 am

oh great, i understand. So i can get color coded stats on the popup? because there was no color when i tried yours.

Another thing. How can I calculate the hands me and the villain were ate the table together? Because I just moved up in limits, bought a bunch of hands but would be interesting to know how many they think we have.
gerygg
 
Posts: 6
Joined: Wed Apr 08, 2009 8:37 pm

Re: Color Coded Stats not showing on Popup

Postby kraada » Sat Nov 07, 2009 9:37 am

I certainly thought you could; I'll do some investigating to see what I come up with though and if we don't get any I'll make sure that gets added to our list of bugs to fix.

With regards to hands villain has played with us, that sort of statistic requires a more complicated query than the custom statistics are able to build. You can build this as a custom report, but it's not possible to make custom stats like this at this point in time.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: Color Coded Stats not showing on Popup

Postby gerygg » Sat Nov 07, 2009 2:33 pm

ok, then please let me know if it's a bug or just me.

about the custom reports showing the number of hands we've been at the same table, what stat should i put in there? or do i need to program this?

thanks,

Gery
gerygg
 
Posts: 6
Joined: Wed Apr 08, 2009 8:37 pm

Re: Color Coded Stats not showing on Popup

Postby kraada » Sat Nov 07, 2009 3:18 pm

Add Player name and Hands to the report.

Add this as a filter in the Filters section:

id_hand in (SELECT id_hand from holdem_hand_player_statistics where holdem_hand_player_statistics.id_player::int = (SELECT setting_value::int from settings where setting_name = 'my_player_id')

Then run the report and you will see the number of hands listed under hands for each player that is the number of hands he was dealt into where you were dealt in as well.
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