tourney_table_type.val_flags

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

tourney_table_type.val_flags

Postby Parket » Wed Jul 13, 2011 7:34 am

Is there any documentation available of what exactly sits in this variable ?
I'd like to create some custom stats that are conditional based on some flags like DON, BOUNTY,... I think I need this variable for that, but have no clue how to build the conditions as I don't know how the flags are encoded.

EDIT: seems like the database schema doc (https://www.pokertracker.com/products/P ... Schema.pdf) is out of date. It is referring to a table tourney_holdem_type instead, and doesn't have the tourney_table_type table described.

EDIT2: tried to reverse engineer by displaying the value of the field in the tournament overviews, but the variable seems to always be empty, despite having selected tourneys that should have them (rebuys, knockouts, etc...).
Parket
 
Posts: 367
Joined: Mon Mar 24, 2008 1:03 pm

Re: tourney_table_type.val_flags

Postby Parket » Wed Jul 13, 2011 8:00 am

Forget EDIT2. The table's column was too narrow which was the cause of the flags not showing up. It's working now, so I can reverse engineer.

Here's what I found so far :
* S = SNG
* D = DON
* B = BOUNTY
* O = SHOOTOUT
* T = STEPS
* R = REBUY
* r = RUSH
* m = MULTIENTRY
* s = SATELLITE
* d = DEEP

Unknown due to never having played any of these : MATRIX, POF, FIFTY50
Parket
 
Posts: 367
Joined: Mon Mar 24, 2008 1:03 pm

Re: tourney_table_type.val_flags

Postby kraada » Wed Jul 13, 2011 9:27 am

I'm afraid I don't have those either but I'll ask a developer to chime in with the last few for you.
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: tourney_table_type.val_flags

Postby kraada » Wed Jul 13, 2011 10:05 am

I just got the list. The flags you're missing are:

M = Matrix
P = POF (push or fold)
F = Fifty50
kraada
Moderator
 
Posts: 54430
Joined: Wed Mar 05, 2008 2:32 am
Location: NY

Re: tourney_table_type.val_flags

Postby Parket » Wed Jul 13, 2011 10:14 am

Thanks!
Will finalize my custom stat now and upload to repository.
Parket
 
Posts: 367
Joined: Mon Mar 24, 2008 1:03 pm


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

Who is online

Users browsing this forum: No registered users and 0 guests