Author Topic: TD Flat File Database  (Read 930 times)


  • Newbie
  • *
  • Posts: 3
    • View Profile
    • Isle of Man Poker
TD Flat File Database
« on: October 14, 2010, 12:03:08 PM »
Having looked at the td.db file:

new MultiFileDatabase("2.5.11", [], [new PlayerName("79d22520-d78d-11df-0674-e460a22a594e", "Nickname", "FirstName", "LastName", 1287062880788)], [])

I understand the player guid is used to reference the indvidual player file in the db folder.

  • What is "1287062880788" in the td.db file?
  • Is there any other information that gets written to the td.db file?

Now looking at the "79d22520-d78d-11df-0674-e460a22a594e" file:
loadedPlayerInfo = new PlayerInfo("79d22520-d78d-11df-0674-e460a22a594e", "Street", "City", "State", "zip", "Country", "Phone1", "Phone2", "Email1", "Email2", "Notes", 1287062880788, "ID", null)

  • What is null, at the end of the line?
  • IS there any other information that may go in here?


Corey Cooper

  • Administrator
  • Hero Member
  • *****
  • Posts: 5625
    • View Profile
Re: TD Flat File Database
« Reply #1 on: October 15, 2010, 04:08:15 PM »
1287062880788 is the last time the player name information was updated, as defined by the ECMA script standard.  1287062880788 would translate to "Thu Oct 14 08:28:00 CDT 2010" for my locale (central daylight time, or CDT).

The td.db file contains the GUID for every player in the database, as well as their first name, nickname, and last name.  It also contains information on every league, including membership, and every season.

The final value "null" in the player's corresponding GUID file is a placeholder for the player's image file.  It is currently unused.

That's pretty much all the database contains, at the moment.  Of course, it could change at any time, but as most information is saved in tournament files, the database has remained relatively constant in structure.