• This is a read only backup of the old Emudevs forum. If you want to have anything removed, please message me on Discord: KittyKaev

TrinityCore Custom Item Problem

Seasons

Member
You can find the fix for this problem by following the tutorial found here.

---

Dear EmuDevs,

There seems to be a problem with a custom item that I've created...

I've given the item a custom icon and it's properly patched (as you can see its display in the screenshot below); however, when I move the item from point A to point B, it doesn't make a sound like a premade item does. Anyone know why? :3

6LTt47Q.png
 
Last edited:

sundays

Member
See the 'Material' field in item_template.

From the TC wiki:
The material that the item is made of. The value here affects the sound that the item makes when moved. Use -1 for consumable items like food, reagents, etc.

Food, reagents, etc... 0
Not Defined 1
Metal 2
Wood 3
Liquid 4
Jewelry 5
Chain 6
Plate 7
Cloth 8
Leather 9
 

Seasons

Member
See the 'Material' field in item_template.

From the TC wiki:
The material that the item is made of. The value here affects the sound that the item makes when moved. Use -1 for consumable items like food, reagents, etc.

Food, reagents, etc... 0
Not Defined 1
Metal 2
Wood 3
Liquid 4
Jewelry 5
Chain 6
Plate 7
Cloth 8
Leather 9

Hey, sundays! Thanks a lot! :)

Update: I checked the item again, however, its material is set to "Leather", and yet, it still doesn't make a sound when moved. Is something wrong with my patch? I wrote a simple SQL script that pulls the necessary information from the database:

Code:
select entry, class, subclass, soundoverridesubclass, material, displayid, inventorytype, sheath
from item_template where entry > 85000 INTO OUTFILE "/tmp/item.dbc.csv";

I take the CSV file, and then merge it with a copy of my full Item.dbc file, and then convert it back to a DBC file and patch it. Am I missing something?

lLQVakt.png

Update #2: I'm using custom icons for the two items that I'm struggling with. When I use a premade displayID, the item makes a sound when moved. I patched ItemDisplayInfo.dbc... am I missing a different file that needs to be patched, as well?
 
Last edited:

Seasons

Member
Maybe a column of this dbc or other item* dbc has something to be.
I will investigate something

Did you discover anything?

Note: I updated the original post with the fix. This post should be marked resolved.
 
Last edited:
Top