diff --git a/world/zoneserver.cpp b/world/zoneserver.cpp index ec098a492..a23d0bec8 100644 --- a/world/zoneserver.cpp +++ b/world/zoneserver.cpp @@ -74,7 +74,6 @@ ZoneServer::ZoneServer(std::shared_ptr in_c zone_os_process_id = 0; client_port = 0; is_booting_up = false; - is_authenticated = false; is_static_zone = false; zone_player_count = 0; @@ -143,20 +142,6 @@ bool ZoneServer::SetZone(uint32 in_zone_id, uint32 in_instance_id, bool in_is_st return true; } -void ZoneServer::LSShutDownUpdate(uint32 zone_id) { - if (WorldConfig::get()->UpdateStats) { - auto pack = new ServerPacket; - pack->opcode = ServerOP_LSZoneShutdown; - pack->size = sizeof(ZoneShutdown_Struct); - pack->pBuffer = new uchar[pack->size]; - memset(pack->pBuffer, 0, pack->size); - auto zsd = (ZoneShutdown_Struct*) pack->pBuffer; - zsd->zone = zone_id ? zone_id : GetPrevZoneID(); - zsd->zone_wid = GetID(); - loginserverlist.SendPacket(pack); - safe_delete(pack); - } -} void ZoneServer::LSBootUpdate(uint32 zone_id, uint32 instanceid, bool startup) { if (WorldConfig::get()->UpdateStats) { auto pack = new ServerPacket; diff --git a/world/zoneserver.h b/world/zoneserver.h index f7b5ea3ac..cc490bdd1 100644 --- a/world/zoneserver.h +++ b/world/zoneserver.h @@ -46,7 +46,6 @@ public: void IncomingClient(Client* client); void LSBootUpdate(uint32 zone_id, uint32 instance_id = 0, bool startup = false); void LSSleepUpdate(uint32 zone_id); - void LSShutDownUpdate(uint32 zone_id); uint32 GetPrevZoneID() { return zone_server_previous_zone_id; } void ChangeWID(uint32 iCharID, uint32 iWID); void SendGroupIDs(); @@ -74,7 +73,6 @@ public: std::string GetUUID() const { return tcpc->GetUUID(); } inline uint32 GetInstanceID() { return instance_id; } - inline void SetInstanceID(uint32 i) { instance_id = i; } inline uint32 GetZoneOSProcessID() { return zone_os_process_id; } @@ -88,7 +86,6 @@ private: uint16 client_port; bool is_booting_up; bool is_static_zone; - bool is_authenticated; uint32 zone_player_count; char compiled[25]; char zone_name[32];