Modcraft - The community dedicated to quality WoW modding!

Wrath of the Lich King Modding => Serverside Modding => Topic started by: ZxOxZ21 on March 27, 2013, 01:52:34 pm

Title: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: ZxOxZ21 on March 27, 2013, 01:52:34 pm
Hello, today I was working on a custom quest, and I've wanted to add a new item quest with a Mists of Padnaria Icon.

The problem is, after I modify the ItemDisplayInfo.DBC (By modify I mean I'm adding a new column, adding the ID, Icon and the Item Flag), after saving and entering WoW, I'm seeing my item okay, but every weapon in the game have no texture (is green) and shoulders / heads too. What may cause it? I can't figure it.

I've tried also to remove the MoP Icon and add another icon, still happening.
But if I add only the column with the ID, not adding Icon / Item Flag, it's not bugging other items.

So anyone can help me? Thanks a lot.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: Ascathos on March 27, 2013, 02:04:08 pm
Quote from: "ZxOxZ21"
Hello, today I was working on a custom quest, and I've wanted to add a new item quest with a Mists of Padnaria Icon.

The problem is, after I modify the ItemDisplayInfo.DBC (By modify I mean I'm adding a new column, adding the ID, Icon and the Item Flag), after saving and entering WoW, I'm seeing my item okay, but every weapon in the game have no texture (is green) and shoulders / heads too. What may cause it? I can't figure it.

I've tried also to remove the MoP Icon and add another icon, still happening.
But if I add only the column with the ID, not adding Icon / Item Flag, it's not bugging other items.

So anyone can help me? Thanks a lot.
Sounds to me like you created an item with the entry 0. Check that out.

Else, could you provide the itemDisplayInfo ?
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: ZxOxZ21 on March 27, 2013, 02:12:01 pm
No, the entry is not 0...

What else may 'cause it?
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: Ascathos on March 27, 2013, 02:14:15 pm
A broken DBC maybe, but it shouldn't start up at that point. I have no idea which is why I would like to take a look at it.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: ZxOxZ21 on March 27, 2013, 02:25:44 pm
I sent you a PM with the .DBC File.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: Ascathos on March 27, 2013, 02:33:57 pm
... Did you try opening it with a DBC editor? All the texture files are numbers instead of textures. Recreate the file and make sure that this is not happening again. Make backups every some saves.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: ZxOxZ21 on March 27, 2013, 02:35:48 pm
Quote from: "Ascathos"
... Did you try opening it with a DBC editor? All the texture files are numbers instead of textures. Recreate the file and make sure that this is not happening again. Make backups every some saves.

I've tried also to make an item with a normal vanilla icon and still happening.

It's actually an quest item, have no .m2 with texture, I'm just adding the icon .blp.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: Ascathos on March 27, 2013, 02:36:31 pm
Quote from: "ZxOxZ21"
Quote from: "Ascathos"
... Did you try opening it with a DBC editor? All the texture files are numbers instead of textures. Recreate the file and make sure that this is not happening again. Make backups every some saves.

I've tried also to make an item with a normal vanilla icon and still happening.

It's actually an quest item, have no .m2 with texture, I'm just adding the icon .blp.
As I said, "ALL THE TEXTURE FILES" were replaced by numbers within your itemdisplayinfo.dbc.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: ZxOxZ21 on March 27, 2013, 02:39:35 pm
I've just opened it with MyDBCEditor v.1.2.2 and no, textures were not replaced with numbers...

I'm still seeing 'em as text.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: ZxOxZ21 on March 27, 2013, 02:45:28 pm
So that's the problem so far:

http://img13.imageshack.us/img13/8365/w ... 154317.jpg (http://img13.imageshack.us/img13/8365/wowscrnshot032713154317.jpg" onclick="window.open(this.href);return false;)

Look into the backpack, the icon is looking okay but the weapons / and even other armors that are not showed in this screenshots are green.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: Ascathos on March 27, 2013, 03:45:47 pm
http://666kb.com/i/ccprmujh47lmt0xyb.gif (http://666kb.com/i/ccprmujh47lmt0xyb.gif" onclick="window.open(this.href);return false;)

I can not help you then. (Here: Row 4, 5)
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: ZxOxZ21 on March 27, 2013, 03:49:35 pm
So how can I fix that? :/
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: Ascathos on March 27, 2013, 05:44:09 pm
Quote from: "ZxOxZ21"
So how can I fix that? :/
Re-extract the DBC and just add your custom content anew. I suggest the .csv method, as in: convert the .dbc into .csv, edit with text editor, convert back to .dbc.
Just the cleanest way.
Title: Re: [Question] - DBC - Modifying ItemDisplayInfo Problem.
Post by: Rockfire on April 18, 2013, 06:29:23 pm
I've got the same problem. And that was MyDBCeditor who was corrupting the .dbc. Now I'm using the .csv method, and editing the .csv with notepad++ and I didn't get any problems since that time.