[Archive] Need help with DB2/DBC <-> CSV convert
[Archive] Need help with DB2/DBC <-> CSV convert
Archived author: Intension • Posted: 2016-01-05T16:36:22+00:00
Original source
I want to convert "CharStartOutfit.db2" from Trinity 6.x with that maps
<?xml version="1.0" encoding="UTF-8"?>
<root>
<CharStartOutfitEntry>
<element>
<name>ID</name>
<type>uint32</type>
</element>
<element>
<name>RaceID</name>
<type>uint8</type>
</element>
<element>
<name>ClassID</name>
<type>uint8</type>
</element>
<element>
<name>GenderID</name>
<type>uint8</type>
</element>
<element>
<name>OutfitID</name>
<type>uint8_t</type>
</element>
<element>
<name>ItemID[MAX_OUTFIT_ITEMS]</name>
<type>int32</type>
</element>
<element>
<name>PetDisplayID</name>
<type>uint32</type>
</element>
<element>
<name>PetFamilyID</name>
<type>uint32</type>
</element>
</CharStartOutfitEntry>
</root>but become a Mistake.
Edited January 5, 2016 by Intension
Archived author: Intension • Posted: 2016-01-05T16:42:17+00:00
Original source
Here the DB2Structure.h from the Source
view-29335490/Unbenannt-2423423.jpg.html
Edited January 5, 2016 by Intension
Quote: <element>Maybe try changing uint8_t to just uint8
<name>OutfitID</name>
<type>uint8_t</type>
</element>
Archived author: Elrena • Posted: 2016-01-05T17:42:54+00:00
Original source
Quote: <element>Maybe try changing uint8_t to just uint8
<name>OutfitID</name>
<type>uint8_t</type>
</element>
Archived author: Intension • Posted: 2016-01-05T17:48:53+00:00
Original source
Oh i dont see... but i become the same Mistak... hm
Error: Der angegebene Schlüssel war nicht im Wörterbuch angegeben.
Quote: <CharStartOutfitEntry>Oh, and remove the word "Entry"
...
...
...
</CharStartOutfitEntry>
</root>
Archived author: Elrena • Posted: 2016-01-05T18:04:06+00:00
Original source
Quote: <CharStartOutfitEntry>Oh, and remove the word "Entry"
...
...
...
</CharStartOutfitEntry>
</root>
Archived author: Intension • Posted: 2016-01-05T18:36:57+00:00
Original source
again the same Error
//
Hier mal mein Code -> Klick mich
die DBC -> Klick mich
Edited January 5, 2016 by Intension
Quote:Here the DB2Structure.h from the Source#define MAX_OUTFIT_ITEMS 24
view-29335490/Unbenannt-2423423.jpg.html
Archived author: luzifix • Posted: 2016-01-05T21:31:32+00:00
Original source
Quote:Here the DB2Structure.h from the Source#define MAX_OUTFIT_ITEMS 24
view-29335490/Unbenannt-2423423.jpg.html
Archived author: Intension • Posted: 2016-01-05T21:50:08+00:00
Original source
Okey, change it. and look again >_>... same error.
Not my Day ![]()
CharStartOutfit.db2
map.xml
CharStartOutfit.db2
map.xml
Archived author: luzifix • Posted: 2016-01-05T22:00:07+00:00
Original source
![]()
You most writ 24x
<element> <name>ItemX</name> <type>int32</type></element>in the map
Like
<element>
<name>Item1</name>
<type>int32</type>
</element><element>
<name>Item2</name>
<type>int32</type>
</element><element>
<name>Item3</name>
<type>int32</type>
</element><element>
<name>Item4</name>
<type>int32</type>
</element><element>
<name>Item5</name>
<type>int32</type>
</element>...<element>
<name>Item24</name>
<type>int32</type>
</element>
Edited January 5, 2016 by luzifix
Archived author: Intension • Posted: 2016-01-05T22:07:34+00:00
Original source
![]()
haha, easy peasy lemon squeezy... im a big noob but now is working. Thx a loot and i know what you mean
(embarrassing)