mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-10-02 10:53:44 +00:00
ReadLvlObjectData (1.10.64, 0x0103ba20) reads a scene object's last field, from version 7 on, as a render technique count, and when it is not 0 a 64 byte block and 133 bytes per technique (a 64 byte name, a u32, a u8 and 16 floats) follow. The reader took the count for an unknown u32 and read the next object from inside the techniques, and read the u32 for every version. It also left the node type and glom ID uninitialized when a file has none (or, for the node type, one outside 0-10); the client uses 1 for both. The count is now SceneObject::renderTechniqueCount, the techniques are skipped, and the defaults are the client's. Every scene file on disk has no render techniques, so what they read is unchanged. Check in game: every world spawns its objects as before. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>