[DiscordArchive] are you reading from casc or from extracted files?
[DiscordArchive] are you reading from casc or from extracted files?
Archived author: Tea • Posted: 2023-04-11T17:56:14.048000+00:00
Original source
are you reading from casc or from extracted files?
Archived author: _mrfade_ • Posted: 2023-04-11T17:57:22.518000+00:00
Original source
Casc
Archived author: Tea • Posted: 2023-04-11T17:57:43.160000+00:00
Original source
then you are probably not opening the storage properly
Archived author: _mrfade_ • Posted: 2023-04-11T18:01:20.802000+00:00
Original source
```csharp
_casc = CASCHandler.OpenLocalStorage(path, "wow"); ///wow_classic
_casc.Root.SetFlags(LocaleFlags.All);
```
Archived author: _mrfade_ • Posted: 2023-04-11T18:02:05.652000+00:00
Original source
I'll try with the EnUS locale quick see if that helps.
Archived author: _mrfade_ • Posted: 2023-04-11T18:04:37.425000+00:00
Original source
So while my string table seems a little healthier, I am still bombing out trying to read the strings as such :
```csharp
[typeof(string)] = (id, data, recordOffset, fieldMeta, columnMeta, palletData, commonData, stringTable, header) => header.Flags.HasFlagExt(DB2Flags.Sparse) ? data.ReadCString() :
stringTable[recordOffset + (data.Position >> 3) + GetFieldValue<int>(id, data, fieldMeta, columnMeta, palletData, commonData)],
```
Archived author: Tea • Posted: 2023-04-11T18:20:25.266000+00:00
Original source
its probably this https://github.com/TrinityCore/TrinityCo...b7e5076c5c
[Embed: Core/DataStores: Fixed string fields containing empty strings in so...]
… 10.0.5 db2 files
Closes #28805
https://github.com/TrinityCore/TrinityCo...b7e5076c5c