Changeset 3155

Show
Ignore:
Timestamp:
02/07/2010 07:37:15 AM (7 months ago)
Author:
jackpoz
Message:

FIXED: Spell_to_sql works with 3.3.2.

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/extras/Spell_to_sql/src/defines.h

    r3027 r3155  
    1414#define SERVER_DECL __declspec(dllexport) 
    1515 
    16 #define SPELL_DBC_CLIENT_BUILD 10314 // 3.2 
     16#define SPELL_DBC_CLIENT_BUILD 11403 // 3.3.2 
    1717 
    1818#define SQL_INSERTS_PER_QUERY 1000 
    1919 
    2020//this might change from 1 version to another of the DBC 
    21 #define SPELL_COLUMN_COUNT 239 
     21#define SPELL_COLUMN_COUNT 240 
    2222//last column is "skip_this_for_sql" 
    2323 
    24 const char sql_translation_table[SPELL_COLUMN_COUNT][3][300] =  
     24const char sql_translation_table[SPELL_COLUMN_COUNT][3][SPELL_COLUMN_COUNT] =  
    2525{ 
    2626        {"uint32",      "Id", "0"},                                                             //1 
     
    263263        {"uint32",      "UNK6", "0"},                                                   //238 
    264264        {"uint32",      "UNK7", "0"},                                                   //239 
     265        {"uint32",      "UNK8", "0"},                                                   //240 
    265266};