From 71b7f19ec83d2d901113965b632d9b5953ffb8f7 Mon Sep 17 00:00:00 2001 From: Aaron Kimbrell Date: Tue, 29 Sep 2026 06:40:54 -0500 Subject: [PATCH] fix(level): scene objects of LOT 1 are not loaded, as in the client ReadLvlObjectData (1.10.64, 0x0103ba20) loads every scene object except those of LOT 1 (the player). The world spawned them; now it skips them. No live scene has one; one older client scene file has two. Check in game: nothing to check (no live scene has LOT 1 objects). Co-Authored-By: Claude Opus 5.5 --- dZoneManager/Level.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/dZoneManager/Level.cpp b/dZoneManager/Level.cpp index b72d7e484..fcf410139 100644 --- a/dZoneManager/Level.cpp +++ b/dZoneManager/Level.cpp @@ -132,8 +132,9 @@ void Level::LoadSceneObjects(const std::vector& objects) { Game::zoneManager->GetZoneMut()->SetSpawnRot(obj.rotation); } - // We should never have more than 1 zone control object - bool skipLoadingObject = obj.lot == zoneControlObject->GetLOT(); + // We should never have more than 1 zone control object; and the client never loads a scene object of LOT 1 (the + // player; ReadLvlObjectData) + bool skipLoadingObject = obj.lot == zoneControlObject->GetLOT() || obj.lot == 1; for (const auto& data : obj.settings | std::views::values) { if (!data) continue; if (data->GetKey() == u"gatingOnFeature") {