Permalink
Browse files

Core/PlayerDump: fix mail items and gifts export

  • Loading branch information...
joschiwald committed Feb 13, 2014
1 parent 006d72a commit cb237a4bc2775a1fdd726faa99ef4ae97dea2bd8
Showing with 6 additions and 6 deletions.
  1. +6 −6 src/server/game/Tools/PlayerDump.cpp
@@ -41,7 +41,6 @@ static DumpTable dumpTables[DUMP_TABLE_COUNT] =
{ "character_aura", DTT_CHAR_TABLE },
{ "character_declinedname", DTT_CHAR_TABLE },
{ "character_equipmentsets", DTT_EQSET_TABLE},
- { "character_gifts", DTT_ITEM_GIFT },
{ "character_glyphs", DTT_CHAR_TABLE },
{ "character_homebind", DTT_CHAR_TABLE },
{ "character_inventory", DTT_INVENTORY },
@@ -54,12 +53,13 @@ static DumpTable dumpTables[DUMP_TABLE_COUNT] =
{ "character_spell", DTT_CHAR_TABLE },
{ "character_spell_cooldown", DTT_CHAR_TABLE },
{ "character_talent", DTT_CHAR_TABLE },
- { "item_instance", DTT_ITEM },
{ "mail", DTT_MAIL },
- { "mail_items", DTT_MAIL_ITEM },
- { "pet_aura", DTT_PET_TABLE },
- { "pet_spell", DTT_PET_TABLE },
- { "pet_spell_cooldown", DTT_PET_TABLE },
+ { "mail_items", DTT_MAIL_ITEM }, // must be after mail
+ { "pet_aura", DTT_PET_TABLE }, // must be after character_pet
+ { "pet_spell", DTT_PET_TABLE }, // must be after character_pet
+ { "pet_spell_cooldown", DTT_PET_TABLE }, // must be after character_pet
+ { "item_instance", DTT_ITEM }, // must be after character_inventory and mail_items
+ { "character_gifts", DTT_ITEM_GIFT }, // must be after item_instance
};
// Low level functions

2 comments on commit cb237a4

Can anyone make this as sql query? To be able to extract it right from DB?

Contributor

SeTM replied Feb 14, 2014

Nope

Please sign in to comment.