TrinityCore / WowPacketParser

World of Warcraft Packet Parser
GNU General Public License v3.0
410 stars 352 forks source link

Gameobject isn't dumped to sql in a locale other than enUS #766

Open ellingtonsantos opened 1 year ago

ellingtonsantos commented 1 year ago

If dumping a sniff in another locale than enUS to SQL, gameobject_template doesn't populate name and castBarCaption neither gameobject_template_locale table.

Thordekk commented 1 year ago

wich build? to me work perfect

ellingtonsantos commented 1 year ago

Sorry, I forgot to specify: 1.14.3 last build.

There are coments in source code filtering gameobject_template fields to not populate another lang besides enUS and locale table isn't implemented:

WowPacketParser/Store/Objects/GameObjectTemplate.cs

[DBFieldName("name", LocaleConstant.enUS)] // ToDo: Add locale support
...
[DBFieldName("castBarCaption", LocaleConstant.enUS)] // ToDo: Add locale support