WowPacketParser icon indicating copy to clipboard operation
WowPacketParser copied to clipboard

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

Open ellingtonsantos opened this issue 1 year ago • 2 comments

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

ellingtonsantos avatar Apr 28 '23 13:04 ellingtonsantos

wich build? to me work perfect

Thordekk avatar Apr 28 '23 13:04 Thordekk

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

ellingtonsantos avatar Apr 28 '23 14:04 ellingtonsantos