[6.x] items with spells (item_effect)

Hello everyone.

I’ve tried to create custom items with effect(s) (spell(s) on it) and it doesn’t work. I’ve made many tests, my items are recognized by client but when I click on it, the client doesn’t send CMSG_USE_ITEM and never ask server for ItemEffect hotfix (just Item-sparse). Is there any special flag to set for this type of item?

Thanks you for your help.

Regards,

et65.

— Canned message start —

This thread is not related to the official Trinity codebase and was moved to the Custom Code section.

Please read the stickies next time.

— Canned message end —

DJScias told me the solution. I’ve just added a row in “hotfix_data” table like he described on the wiki (http://collab.kpsn.org/display/tc/hotfix_data) for “item_effect” table and it’s work /emoticons/default_smile.png!

Thanks to him!

Glad to hear it worked, also added in the information for item_effect on the wiki.

Kind regards,

DJScias