[DiscordArchive] does string block offsets start with 1 or 0 ? i mean string ends with empty byte so string `Hangar`
[DiscordArchive] does string block offsets start with 1 or 0 ? i mean string ends with empty byte so string `Hangar`
Archived author: Rymercyble • Posted: 2022-11-08T18:15:51.583000+00:00
Original source
strings are pointed by offset that is single offset so it has to be in 1 piece in string block and that means cutting string block by offsets as positions of cut will result in list of all strings without errors
Archived author: Rymercyble • Posted: 2022-11-08T18:16:23.852000+00:00
Original source
there is nothing that could go wrong there
Archived author: stoneharry • Posted: 2022-11-08T18:16:40.751000+00:00
Original source
I'm just saying that's not guaranteed and not the behaviour of other readers and writers
Archived author: Rymercyble • Posted: 2022-11-08T18:17:31.817000+00:00
Original source
well as long as i create blizzlike structure of dbc every reader should be able to read it....not that i even care if anything other than server and client can read my dbcs
Archived author: stoneharry • Posted: 2022-11-08T18:20:30.081000+00:00
Original source
why are you so opposed to following the standard
Archived author: Rymercyble • Posted: 2022-11-08T18:20:47.816000+00:00
Original source
btw if some row got empty string does that mean i have to add empty string to string block and each column with empty string point to that offset ?
Archived author: stoneharry • Posted: 2022-11-08T18:20:50.607000+00:00
Original source
It's blizzlike compatible but not blizzlike
Archived author: stoneharry • Posted: 2022-11-08T18:21:28.756000+00:00
Original source
Some dbcs write lots of empty strings to the block, others refer to a single one
Archived author: Rymercyble • Posted: 2022-11-08T18:22:32.141000+00:00
Original source
then i dont even understand this anymore
Archived author: Rymercyble • Posted: 2022-11-08T18:23:42.922000+00:00
Original source
im not even sure what "standard" u mean i thought from what i asked here in last week that placing string with empty byte on end is what im supposed to do