mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-17 04:04:21 +00:00
fixes
This commit is contained in:
@@ -1,5 +1,9 @@
|
|||||||
#include "RegisterWithZoneControl.h"
|
#include "RegisterWithZoneControl.h"
|
||||||
|
|
||||||
|
#include "Entity.h"
|
||||||
|
#include "EntityManager.h"
|
||||||
|
#include "GameMessages.h"
|
||||||
|
|
||||||
void RegisterWithZoneControl::OnStartup(Entity* self) {
|
void RegisterWithZoneControl::OnStartup(Entity* self) {
|
||||||
GameMessages::ObjectLoaded objLoaded;
|
GameMessages::ObjectLoaded objLoaded;
|
||||||
objLoaded.objectID = self->GetObjectID();
|
objLoaded.objectID = self->GetObjectID();
|
||||||
|
|||||||
@@ -1,6 +1,14 @@
|
|||||||
|
// Darkflame Universe
|
||||||
|
// Copyright 2026
|
||||||
|
|
||||||
|
#ifndef REGISTERWITHZONECONTROL_H
|
||||||
|
#define REGISTERWITHZONECONTROL_H
|
||||||
|
|
||||||
#include "CppScripts.h"
|
#include "CppScripts.h"
|
||||||
|
|
||||||
class RegisterWithZoneControl : public CppScripts::Script {
|
class RegisterWithZoneControl : public CppScripts::Script {
|
||||||
public:
|
public:
|
||||||
void OnStartup(Entity* self) override;
|
void OnStartup(Entity* self) override;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
#endif //!REGISTERWITHZONECONTROL_H
|
||||||
|
|||||||
@@ -737,10 +737,10 @@ namespace {
|
|||||||
"scripts\\ai\\MINIGAME\\SIEGE\\OBJECTS\\ATTACKER_BOUNCER_SERVER.lua",
|
"scripts\\ai\\MINIGAME\\SIEGE\\OBJECTS\\ATTACKER_BOUNCER_SERVER.lua",
|
||||||
"scripts\\ai\\AG\\L_AG_ZONE_PLAYER.lua",
|
"scripts\\ai\\AG\\L_AG_ZONE_PLAYER.lua",
|
||||||
"scripts\\ai\\GENERAL\\L_NPC_GENERIC_MOVEMENT.lua", // Really old alpha script
|
"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\\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\\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\\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\\02_server\\Map\\General\\L_SIMPLE_MOVER_SWITCH.lua", // This platform does not exist even when moved manually on a client
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user