Forums WoW Modding Discussion Serverside [Archive] Need help with DB2/DBC <-> CSV convert

[Archive] Need help with DB2/DBC <-> CSV convert

[Archive] Need help with DB2/DBC <-> CSV convert

Pages (2): 1 2 Next
rektbyfaith
Administrator
0
01-05-2016, 04:36 PM
#1
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
rektbyfaith
01-05-2016, 04:36 PM #1

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

rektbyfaith
Administrator
0
01-05-2016, 04:42 PM
#2
Archived author: Intension • Posted: 2016-01-05T16:42:17+00:00
Original source

Here the DB2Structure.h from the Source

[Image: Unbenannt-2423423.thumb.jpg.c1f64d3e0a3c...747657.jpg]view-29335490/Unbenannt-2423423.jpg.html

Edited January 5, 2016 by Intension
rektbyfaith
01-05-2016, 04:42 PM #2

Archived author: Intension • Posted: 2016-01-05T16:42:17+00:00
Original source

Here the DB2Structure.h from the Source

[Image: Unbenannt-2423423.thumb.jpg.c1f64d3e0a3c...747657.jpg]view-29335490/Unbenannt-2423423.jpg.html

Edited January 5, 2016 by Intension

rektbyfaith
Administrator
0
01-05-2016, 05:42 PM
#3
Archived author: Elrena • Posted: 2016-01-05T17:42:54+00:00
Original source

Quote: <element>
<name>OutfitID</name>
<type>uint8_t</type>
</element>
Maybe try changing uint8_t to just uint8
rektbyfaith
01-05-2016, 05:42 PM #3

Archived author: Elrena • Posted: 2016-01-05T17:42:54+00:00
Original source

Quote: <element>
<name>OutfitID</name>
<type>uint8_t</type>
</element>
Maybe try changing uint8_t to just uint8

rektbyfaith
Administrator
0
01-05-2016, 05:48 PM
#4
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.
rektbyfaith
01-05-2016, 05:48 PM #4

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.

rektbyfaith
Administrator
0
01-05-2016, 06:04 PM
#5
Archived author: Elrena • Posted: 2016-01-05T18:04:06+00:00
Original source

Quote: <CharStartOutfitEntry>
...
...
...
</CharStartOutfitEntry>

</root>
Oh, and remove the word "Entry"

Also our code highlighting sucks. We'll fix that eventually.
rektbyfaith
01-05-2016, 06:04 PM #5

Archived author: Elrena • Posted: 2016-01-05T18:04:06+00:00
Original source

Quote: <CharStartOutfitEntry>
...
...
...
</CharStartOutfitEntry>

</root>
Oh, and remove the word "Entry"

Also our code highlighting sucks. We'll fix that eventually.

rektbyfaith
Administrator
0
01-05-2016, 06:36 PM
#6
Archived author: Intension • Posted: 2016-01-05T18:36:57+00:00
Original source

[Image: unsure.png] again the same Error

//

Hier mal mein Code -> Klick mich

die DBC -> Klick mich

Edited January 5, 2016 by Intension
rektbyfaith
01-05-2016, 06:36 PM #6

Archived author: Intension • Posted: 2016-01-05T18:36:57+00:00
Original source

[Image: unsure.png] again the same Error

//

Hier mal mein Code -> Klick mich

die DBC -> Klick mich

Edited January 5, 2016 by Intension

rektbyfaith
Administrator
0
01-05-2016, 09:31 PM
#7
Archived author: luzifix • Posted: 2016-01-05T21:31:32+00:00
Original source

Quote:Here the DB2Structure.h from the Source

[Image: Unbenannt-2423423.thumb.jpg.c1f64d3e0a3c...747657.jpg]view-29335490/Unbenannt-2423423.jpg.html
#define MAX_OUTFIT_ITEMS 24

...

int32 ItemID[MAX_OUTFIT_ITEMS] is equal

24x

<element>    <name>ItemX</name>    <type>int32</type></element>

Edited January 5, 2016 by luzifix
rektbyfaith
01-05-2016, 09:31 PM #7

Archived author: luzifix • Posted: 2016-01-05T21:31:32+00:00
Original source

Quote:Here the DB2Structure.h from the Source

[Image: Unbenannt-2423423.thumb.jpg.c1f64d3e0a3c...747657.jpg]view-29335490/Unbenannt-2423423.jpg.html
#define MAX_OUTFIT_ITEMS 24

...

int32 ItemID[MAX_OUTFIT_ITEMS] is equal

24x

<element>    <name>ItemX</name>    <type>int32</type></element>

Edited January 5, 2016 by luzifix

rektbyfaith
Administrator
0
01-05-2016, 09:50 PM
#8
Archived author: Intension • Posted: 2016-01-05T21:50:08+00:00
Original source

Okey, change it. and look again >_>... same error.

Not my Day [Image: sad.png]

 CharStartOutfit.db2

map.xml

CharStartOutfit.db2

map.xml
rektbyfaith
01-05-2016, 09:50 PM #8

Archived author: Intension • Posted: 2016-01-05T21:50:08+00:00
Original source

Okey, change it. and look again >_>... same error.

Not my Day [Image: sad.png]

 CharStartOutfit.db2

map.xml

CharStartOutfit.db2

map.xml

rektbyfaith
Administrator
0
01-05-2016, 10:00 PM
#9
Archived author: luzifix • Posted: 2016-01-05T22:00:07+00:00
Original source

[Image: biggrin.png]

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
rektbyfaith
01-05-2016, 10:00 PM #9

Archived author: luzifix • Posted: 2016-01-05T22:00:07+00:00
Original source

[Image: biggrin.png]

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

rektbyfaith
Administrator
0
01-05-2016, 10:07 PM
#10
Archived author: Intension • Posted: 2016-01-05T22:07:34+00:00
Original source

[Image: blush.png][Image: laugh.png]  haha, easy peasy lemon squeezy... im a big noob but now is working. Thx a loot and i know what you mean [Image: blush.png](embarrassing)
rektbyfaith
01-05-2016, 10:07 PM #10

Archived author: Intension • Posted: 2016-01-05T22:07:34+00:00
Original source

[Image: blush.png][Image: laugh.png]  haha, easy peasy lemon squeezy... im a big noob but now is working. Thx a loot and i know what you mean [Image: blush.png](embarrassing)

Pages (2): 1 2 Next
Recently Browsing
 1 Guest(s)
Recently Browsing
 1 Guest(s)