danhale-git
danhale-git
Currently working on entity coordinates: https://github.com/OpenDiablo2/OpenDiablo2/pull/576
`d2vector.Position` has been implemented here: https://github.com/OpenDiablo2/OpenDiablo2/pull/579 https://github.com/OpenDiablo2/OpenDiablo2/pull/587/files Next I want to benchmark vectors and make an informed decision about pointers vs values. Use of pointers in `d2vector.Vector` is inconsistent and...
I'll take this.
I think I found a possible solution today. All feedback is welcomed. Possible concerns: - New clients will spawn all NPCs with incorrect states _then_ synchronise their states with the...
> Solution assumes that, if all map entities are synchronised on connection, they will stay synchronised. Is that the case? It is not the case. That was not a viable...
I have been unable to find a satisfactory solution for this yet, mainly due to a lack of knowledge about the project I think. The issue has become 'find a...
Here it is in Go: ``` const ( chunkSize = 16 ) // SubChunkKey builds the levelDB key for the sub chunk at the given x/y/z coordinates. // // https://minecraft.fandom.com/wiki/Bedrock_Edition_level_format#NBT_Structure...
Thanks for the quick reply, confirmed a lot of my vague suspicions :) Once I've read (removed) everything but the NBT data I get a clean palette of the expected...
Ah I'm not sure why I made the repo private, I made it public. Here's the code for parsing the sub chunk, the NBT function uses nbtToJSON. https://github.com/danhale-git/mine/blob/test-get/parse/parse.go This is...
With log level set to trace: `log_format: json` ``` 2023-06-07 06:05:01 +0000 [trace]: #0 [... ...] enqueueing all chunks in buffer instance=1960 2023-06-07 06:05:01 +0000 [trace]: #0 [... ...] enqueueing...