diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminReload.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminReload.java index c7ab063d93..da04c3f76c 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminReload.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/handler/admincommandhandlers/AdminReload.java @@ -29,7 +29,6 @@ import org.l2jmobius.gameserver.datatables.sql.TeleportLocationTable; import org.l2jmobius.gameserver.datatables.xml.WalkerRouteData; import org.l2jmobius.gameserver.handler.IAdminCommandHandler; import org.l2jmobius.gameserver.instancemanager.DatatablesManager; -import org.l2jmobius.gameserver.instancemanager.Manager; import org.l2jmobius.gameserver.instancemanager.QuestManager; import org.l2jmobius.gameserver.model.actor.instance.PlayerInstance; import org.l2jmobius.gameserver.model.multisell.Multisell; @@ -100,12 +99,6 @@ public class AdminReload implements IAdminCommandHandler sendReloadPage(activeChar); BuilderUtil.sendSysMessage(activeChar, "Item templates reloaded"); } - else if (type.startsWith("instancemanager")) - { - Manager.reloadAll(); - sendReloadPage(activeChar); - BuilderUtil.sendSysMessage(activeChar, "All instance manager has been reloaded"); - } else if (type.startsWith("npcwalkers")) { WalkerRouteData.getInstance().load(); @@ -150,19 +143,6 @@ public class AdminReload implements IAdminCommandHandler BuilderUtil.sendSysMessage(activeChar, "AugmentationData reloaded."); BuilderUtil.sendSysMessage(activeChar, "HelperBuffTable reloaded."); } - else if (type.startsWith("scripts_custom")) - { - // try - // { - // final File custom_scripts_dir = new File(Config.DATAPACK_ROOT + "/data/scripts/custom"); - // L2ScriptEngineManager.getInstance().executeAllScriptsInDirectory(custom_scripts_dir, true, 3); - // } - // catch (Exception ioe) - // { - // BuilderUtil.sendSysMessage(activeChar, "Failed loading " + Config.DATAPACK_ROOT + "/data/scripts/custom scripts, no script going to be loaded"); - // ioe.printStackTrace(); - // } - } BuilderUtil.sendSysMessage(activeChar, "WARNING: There are several known issues regarding this feature. Reloading server data during runtime is STRONGLY NOT RECOMMENDED for live servers, just for developing environments."); } catch (Exception e) diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/Manager.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/Manager.java deleted file mode 100644 index a8fc3743bd..0000000000 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/gameserver/instancemanager/Manager.java +++ /dev/null @@ -1,32 +0,0 @@ -/* - * This file is part of the L2J Mobius project. - * - * This program is free software: you can redistribute it and/or modify - * it under the terms of the GNU General Public License as published by - * the Free Software Foundation, either version 3 of the License, or - * (at your option) any later version. - * - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU - * General Public License for more details. - * - * You should have received a copy of the GNU General Public License - * along with this program. If not, see . - */ -package org.l2jmobius.gameserver.instancemanager; - -import org.l2jmobius.Config; - -public class Manager -{ - public static void reloadAll() - { - AuctionManager.getInstance().reload(); - - if (!Config.ALT_DEV_NO_QUESTS) - { - QuestManager.getInstance(); - } - } -} diff --git a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/telnet/GameStatusThread.java b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/telnet/GameStatusThread.java index 7e53497184..281ebfc4e5 100644 --- a/L2J_Mobius_C6_Interlude/java/org/l2jmobius/telnet/GameStatusThread.java +++ b/L2J_Mobius_C6_Interlude/java/org/l2jmobius/telnet/GameStatusThread.java @@ -59,7 +59,6 @@ import org.l2jmobius.gameserver.datatables.sql.TeleportLocationTable; import org.l2jmobius.gameserver.datatables.xml.AdminData; import org.l2jmobius.gameserver.datatables.xml.ZoneData; import org.l2jmobius.gameserver.instancemanager.DayNightSpawnManager; -import org.l2jmobius.gameserver.instancemanager.Manager; import org.l2jmobius.gameserver.instancemanager.QuestManager; import org.l2jmobius.gameserver.instancemanager.RaidBossSpawnManager; import org.l2jmobius.gameserver.model.Inventory; @@ -757,12 +756,6 @@ public class GameStatusThread extends Thread ItemTable.getInstance().reload(); _print.println("done"); } - else if (type.equals("instancemanager")) - { - _print.print("Reloading instance managers... "); - Manager.reloadAll(); - _print.println("done"); - } else if (type.equals("zone")) { _print.print("Reloading zone tables... ");