DB/GameTables: Difference between revisions

From wowdev
Jump to navigation Jump to search
No edit summary
mNo edit summary
 
(6 intermediate revisions by 3 users not shown)
Line 1: Line 1:
They list different tables. The real content is in files called gtName.dbc. Not many of them exist in the archives. Far less than in here. As of 3.0.9 the clientside list is:
They list different tables. The real content is in files called gtName.dbc. Not many of them exist in the archives. Far less than in here.  
 
{{Verified|The OCT that appears in several table names is a reference to October 2004, as during development leading up to the launch of WoW, new GameTables were created with each month's name as the schema and contents changed. The October versions were the final development version before launch, and the names stuck.|sourcedesc=Brian Birmingham in an interview with Countdown To Classic|sourceurl=https://www.youtube.com/live/oImDrgsHNxs?t=1162}}
 
 
As of 3.0.9 the clientside list is:
*gtBarberShopCostBase
*gtBarberShopCostBase
*gtCombatRatings
*gtCombatRatings
Line 12: Line 17:
*gtRegenMPPerSpt
*gtRegenMPPerSpt


{{Template:Sandbox/VersionRange|min_expansionlevel=2|max_expansionlevel=6}}
==Structure==
==Structure==
  '''Column Field Type Notes'''  
  '''Column Field Type Notes'''  
  1 Name String how the DBC is called.
  1 Name String how the DBC is called.
  2 numRows Integer
  2 numRows Integer
  3 numColumns Integer
  3 numColumns Integer         I believe this defines the numbers of '''entries''' in the table, not columns.
                                        1 entry has #numRows rows.


==6.0.1.18179==
==6.0.1.18179==

Latest revision as of 13:54, 9 August 2023

They list different tables. The real content is in files called gtName.dbc. Not many of them exist in the archives. Far less than in here.

The OCT that appears in several table names is a reference to October 2004, as during development leading up to the launch of WoW, new GameTables were created with each month's name as the schema and contents changed. The October versions were the final development version before launch, and the names stuck.


As of 3.0.9 the clientside list is:

  • gtBarberShopCostBase
  • gtCombatRatings
  • gtChanceToMeleeCrit
  • gtChanceToMeleeCritBase
  • gtChanceToSpellCrit
  • gtChanceToSpellCritBase
  • gtNPCManaCostScaler
  • gtOCTRegenHP
  • gtOCTRegenMP
  • gtRegenHPPerSpt
  • gtRegenMPPerSpt

BC … WoD

Structure

Column	Field 		Type 		Notes 
1 	Name 		String 		how the DBC is called.
2 	numRows 	Integer 	
3 	numColumns 	Integer         I believe this defines the numbers of entries in the table, not columns. 
                                       1 entry has #numRows rows.

6.0.1.18179

struct GameTablesRec {
  uint8_t padding_0[4];
  stringref m_name;
  uint32_t m_numRows;
  uint32_t m_numColumns;
};