From d3ab8abb2956a98b3ab763cf519b787f5b70ae10 Mon Sep 17 00:00:00 2001 From: David Markowitz Date: Tue, 16 Jun 2026 02:13:59 -0700 Subject: [PATCH] fixes --- dScripts/02_server/DLU/RegisterWithZoneControl.cpp | 4 ++++ dScripts/02_server/DLU/RegisterWithZoneControl.h | 8 ++++++++ dScripts/CppScripts.cpp | 8 ++++---- 3 files changed, 16 insertions(+), 4 deletions(-) diff --git a/dScripts/02_server/DLU/RegisterWithZoneControl.cpp b/dScripts/02_server/DLU/RegisterWithZoneControl.cpp index 7533f910..e588f240 100644 --- a/dScripts/02_server/DLU/RegisterWithZoneControl.cpp +++ b/dScripts/02_server/DLU/RegisterWithZoneControl.cpp @@ -1,5 +1,9 @@ #include "RegisterWithZoneControl.h" +#include "Entity.h" +#include "EntityManager.h" +#include "GameMessages.h" + void RegisterWithZoneControl::OnStartup(Entity* self) { GameMessages::ObjectLoaded objLoaded; objLoaded.objectID = self->GetObjectID(); diff --git a/dScripts/02_server/DLU/RegisterWithZoneControl.h b/dScripts/02_server/DLU/RegisterWithZoneControl.h index 5e9c6eac..dda89882 100644 --- a/dScripts/02_server/DLU/RegisterWithZoneControl.h +++ b/dScripts/02_server/DLU/RegisterWithZoneControl.h @@ -1,6 +1,14 @@ +// Darkflame Universe +// Copyright 2026 + +#ifndef REGISTERWITHZONECONTROL_H +#define REGISTERWITHZONECONTROL_H + #include "CppScripts.h" class RegisterWithZoneControl : public CppScripts::Script { public: void OnStartup(Entity* self) override; }; + +#endif //!REGISTERWITHZONECONTROL_H diff --git a/dScripts/CppScripts.cpp b/dScripts/CppScripts.cpp index 2322791f..a1f37153 100644 --- a/dScripts/CppScripts.cpp +++ b/dScripts/CppScripts.cpp @@ -737,10 +737,10 @@ namespace { "scripts\\ai\\MINIGAME\\SIEGE\\OBJECTS\\ATTACKER_BOUNCER_SERVER.lua", "scripts\\ai\\AG\\L_AG_ZONE_PLAYER.lua", "scripts\\ai\\GENERAL\\L_NPC_GENERIC_MOVEMENT.lua", // Really old alpha script - "scripts\\zone\\LUPs\\DeepFreeze Intro\\WBL_Enemy_Beaver.lua" // Really old alpha script - "scripts\\ai\\GENERAL\\L_NPC_GENERIC_WANDER_SMALL.lua" // Really old alpha script - "scripts\\ai\\NP\\L_NPC_NP_OLD_MAN_SHERLAND.lua" // This NPC doesn't even exist in modern crux, the only place this is used... - "scripts\\02_server\\Map\\General\\L_SIMPLE_MOVER_SWITCH.lua" // This platform does not exist even when moved manually on a client + "scripts\\zone\\LUPs\\DeepFreeze Intro\\WBL_Enemy_Beaver.lua", // Really old alpha script + "scripts\\ai\\GENERAL\\L_NPC_GENERIC_WANDER_SMALL.lua", // Really old alpha script + "scripts\\ai\\NP\\L_NPC_NP_OLD_MAN_SHERLAND.lua", // This NPC doesn't even exist in modern crux, the only place this is used... + "scripts\\02_server\\Map\\General\\L_SIMPLE_MOVER_SWITCH.lua", // This platform does not exist even when moved manually on a client }; };