Stats Project

Discuss how to create custom stats, reports and HUD profiles and share your creations.

Moderators: WhiteRider, kraada, Flag_Hippo, morny, Moderators

Stats Project

Postby PJs Ronin » Sun Feb 03, 2013 3:31 am

I'm trying to build a stat concerning tournament hands and will have a couple of questions.

First off, within the PT4 db, is there a unique identifier for Hero. That is, is Hero's player_id (if there is such a stat) permanently 0 or 1 or some similar fixed value?

ty
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Stats Project

Postby WhiteRider » Sun Feb 03, 2013 7:36 am

No - there can be several hero players in a database, and player IDs are assigned in the order that players are imported.
What you can use is:

cash_hand_player_statistics.flg_hero
WhiteRider
Moderator
 
Posts: 54018
Joined: Sat Jan 19, 2008 7:06 pm
Location: UK

Re: Stats Project

Postby PJs Ronin » Sun Feb 03, 2013 5:59 pm

WhiteRider wrote:No - there can be several hero players in a database, and player IDs are assigned in the order that players are imported.
What you can use is:

cash_hand_player_statistics.flg_hero


ty
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Stats Project

Postby PJs Ronin » Sun Feb 03, 2013 9:46 pm

just a reminder about what I'm trying to do:

PJs Ronin wrote:I'm trying to build a stat concerning tournament hands and will have a couple of questions.


So the tourney version would be:
tourney_hand_player_statistics.flg_hero, or
tournament_hand_player_statistics.flg_hero
?
PJs Ronin
 
Posts: 978
Joined: Fri Dec 25, 2009 11:55 pm

Re: Stats Project

Postby kraada » Mon Feb 04, 2013 9:21 am

tourney_hand_player_statistics.flg_hero
kraada
Moderator
 
Posts: 54431
Joined: Wed Mar 05, 2008 2:32 am
Location: NY


Return to Custom Stats, Reports and HUD Profiles

Who is online

Users browsing this forum: No registered users and 50 guests

cron
highfalutin