Jump to content

Recommended Posts

Posted

Hello, another question! :D

How do I read those negative SpellFamilyFlags in the dbc files? how do I convert them so they get into spell_proc_event?(Can't enter negative values)

Thanks

Posted

DBCEditer, which comes with the MaNGOS source in the contrib folder, allows you to view the data in the DBC files extracted from the game client using ad.exe. The are several other DBC editors and viewers available elsewhere, if DBCEditer is not satisfactory for your needs.

I believe a number is assigned a positive or negative value by having a bit set on or off, but I can't be sure this is how MaNGOS and the database handle it. Are there any more knowledgeable developers around that can answer this?

Posted

in MaNGOS source you can look into DBCStructure.h (hope remember name right)

THere is the layout of the table spell.dbc listed.

and you can see if the collumn you are looking at can be negative or you viewed it wrongly

Posted

I know how to read the DBC files, but the problem is that field 162 (1.12 client) has a negative SpellFamilyFlag, and in the database I cannot put negative values in the spell_proc_event table.

That's the problem

×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. Privacy Policy Terms of Use