Does PT2 record game_number as signed or unsigned?

Hold'em or Poker Tracker Hold'em related posts go here

Does PT2 record game_number as signed or unsigned?

Postby Poker_elmo » Fri Nov 13, 2009 3:06 pm

Hi,

I am digging into the PT2 dataset a bit and was wondering whether PokerTracker records game_number as signed or unsigned (or whether it uses 32 or 64 bits)?

Thanks
Poker_elmo
 
Posts: 4
Joined: Thu Jun 12, 2008 9:12 pm

Re: Does PT2 record game_number as signed or unsigned?

Postby ptrack pat » Fri Nov 13, 2009 6:13 pm

It's signed. For most sites, PT2 doesn't even use the game_number field it stores the actual game number in the ub_game_number field which is a string.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm

Re: Does PT2 record game_number as signed or unsigned?

Postby Poker_elmo » Mon Nov 16, 2009 1:20 pm

Thanks, I appreciate your response.

In looking into your database (I am a professor trying to use pokertracker data to get insight into behavior), we found a lot of duplicate game_numbers coming up. Is the reason that ub_game_number is the main key to the game database?
Poker_elmo
 
Posts: 4
Joined: Thu Jun 12, 2008 9:12 pm

Re: Does PT2 record game_number as signed or unsigned?

Postby ptrack pat » Mon Nov 16, 2009 1:40 pm

It's not the main key, game_id is the main key to that table and the only way there could be duplicate game_numbers is if the hands are from different sites because there is a unique index on game_number and site_id. ub_game_number was used because the game_number field became too small to store the game numbers that some of the sites ended up having.
ptrack pat
 
Posts: 4841
Joined: Sun Dec 09, 2007 12:38 pm


Return to PokerTracker Holdem

Who is online

Users browsing this forum: No registered users and 17 guests