Друзья,появляются ошибки при работе сервера. Можете пожалуйста объяснить что за ошибки,где их искать и как возможно исправить?Буду очень благодарен! WARN [pool-2-thread-5] com.aionemu.commons.utils.concurrent.ExecuteWrapper [ExecuteWrapper.java:51] Exception in a Runnable execution: java.lang.NullPointerException: null at instance.illuminary_obelisk.IlluminaryObeliskInstance.onDie(IlluminaryObeliskInstance.java]:273) ~[na:na] at com.aionemu.gameserver.controllers.NpcController.onDie(NpcController.java:144) ~[AL-Game.jar:na] at com.aionemu.gameserver.model.stats.container.CreatureLifeStats.reduceHp(CreatureLifeStats.java:128) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:255) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.NpcController.onAttack(NpcController.java:307) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:291) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.attackTarget(CreatureController.java:391) ~[AL-Game.jar:na] at com.aionemu.gameserver.ai2.manager.SimpleAttackManager.attackAction(SimpleAttackManager.java:111) ~[AL-Game.jar:na] at com.aionemu.gameserver.ai2.manager.SimpleAttackManager$SimpleAttackAction.run(SimpleAttackManager.java:131) ~[AL-Game.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:48) ~[al-commons.jar:na] at com.aionemu.commons.utils.concurrent.RunnableWrapper.run(RunnableWrapper.java:40) [al-commons.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_17] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_17] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_17] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_17] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_17] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17] 2019-12-10 19:31:45,035 ERROR [pool-2-thread-1] com.aionemu.gameserver.world.World [World.java:501] Exception when running visitor on all objects java.lang.NullPointerException: null at instance.illuminary_obelisk.IlluminaryObeliskInstance.onDie(IlluminaryObeliskInstance.java]:308) ~[na:na] at com.aionemu.gameserver.controllers.NpcController.onDie(NpcController.java:144) ~[AL-Game.jar:na] at com.aionemu.gameserver.model.stats.container.CreatureLifeStats.reduceHp(CreatureLifeStats.java:128) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:255) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.NpcController.onAttack(NpcController.java:307) ~[AL-Game.jar:na] at com.aionemu.gameserver.skillengine.effect.ProcAtkInstantEffect.applyEffect(ProcAtkInstantEffect.java:45) ~[AL-Game.jar:na] at com.aionemu.gameserver.skillengine.model.Effect.applyEffect(Effect.java:749) ~[AL-Game.jar:na] at com.aionemu.gameserver.skillengine.SkillEngine.applyEffectDirectly(SkillEngine.java:166) ~[AL-Game.jar:na] at com.aionemu.gameserver.skillengine.SkillEngine.applyEffectDirectly(SkillEngine.java:139) ~[AL-Game.jar:na] at com.aionemu.gameserver.skillengine.effect.DelayedSkillEffect$1$1.visit(DelayedSkillEffect.java:61) ~[AL-Game.jar:na] at com.aionemu.gameserver.skillengine.effect.DelayedSkillEffect$1$1.visit(DelayedSkillEffect.java:57) ~[AL-Game.jar:na] at com.aionemu.gameserver.world.World.doOnAllObjects(World.java:497) ~[AL-Game.jar:na] at com.aionemu.gameserver.skillengine.effect.DelayedSkillEffect$1.run(DelayedSkillEffect.java:57) [AL-Game.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:48) [al-commons.jar:na] at com.aionemu.commons.utils.concurrent.RunnableWrapper.run(RunnableWrapper.java:40) [al-commons.jar:na] at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) [na:1.7.0_17] at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334) [na:1.7.0_17] at java.util.concurrent.FutureTask.run(FutureTask.java:166) [na:1.7.0_17] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:178) [na:1.7.0_17] at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:292) [na:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) [na:1.7.0_17] at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) [na:1.7.0_17] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17] 2019-12-10 19:43:57,197 INFO [pool-2-thread-7] com.aionemu.gameserver.services.SurveyService [SurveyService.java:152] [SurveyController] update task start. 2019-12-10 19:53:42,789 INFO [Timer-1] com.aionemu.gameserver.services.gc.GarbageCollector [GarbageCollector.java:78] [GarbageCollector] Garbage Collector is optimizing memory to free unused heap memory. 2019-12-10 19:53:50,204 INFO [Timer-1] com.aionemu.gameserver.services.gc.GarbageCollector [GarbageCollector.java:81] [GarbageCollector] Garbage Collector has finished optimizing memory. 2019-12-10 19:54:52,382 INFO [ReadWrite-0 Dispatcher] com.aionemu.commons.network.Dispatcher [Dispatcher.java:306] Write 0 ip: 192.168.1.6 2019-12-10 19:54:54,741 INFO [PacketProcessor:1] com.aionemu.gameserver.spawnengine.StaticDoorSpawnManager [StaticDoorSpawnManager.java:70] Spawned static doors: 301230000 [2] : 1 2019-12-10 19:56:35,782 INFO [PacketProcessor:0] com.aionemu.gameserver.network.aion.clientpackets.CM_GAMEGUARD [CM_GAMEGUARD.java:60] AION Bin size from client: 212 2019-12-10 20:00:00,133 INFO [InstantPool-1] com.aionemu.gameserver.services.rift.RiftOpenRunnable [RiftOpenRunnable.java:92] [RiftService] Spawned randomized 3 of 9 Rifts in Enshar (id:220080000) 2019-12-10 20:00:00,150 INFO [InstantPool-1] com.aionemu.gameserver.services.rift.RiftOpenRunnable [RiftOpenRunnable.java:92] [RiftService] Spawned randomized 3 of 9 Rifts in Cygnea (id:210070000) 2019-12-10 20:03:57,231 INFO [pool-2-thread-2] com.aionemu.gameserver.services.SurveyService [SurveyService.java:152] [SurveyController] update task start. 2019-12-10 20:23:31,533 INFO [ScheduledThreadPool-3] com.aionemu.gameserver.GameServer [CharlesrunerkAI.java]:57] CharlesrunerkAI: Spawned ... 2019-12-10 20:23:31,534 INFO [ScheduledThreadPool-3] com.aionemu.gameserver.GameServer [CharlesrunerkAI.java]:67] CharlesrunerkAI: Spawned on Pos : WorldPosition [heading=15, isSpawned=false, mapRegion=null, x=2826.0615, y=766.9914, z=564.83984] 2019-12-10 20:23:37,228 INFO [ScheduledThreadPool-4] com.aionemu.gameserver.GameServer [EdinerkAI.java]:57] EdinerkAI: Spawned ... 2019-12-10 20:23:37,229 INFO [ScheduledThreadPool-4] com.aionemu.gameserver.GameServer [EdinerkAI.java]:67] EdinerkAI: Spawned on Pos : WorldPosition [heading=74, isSpawned=false, mapRegion=null, x=2660.1885, y=1424.3641, z=334.53787] 2019-12-10 20:23:57,267 INFO [pool-2-thread-2] com.aionemu.gameserver.services.SurveyService [SurveyService.java:152] [SurveyController] update task start. 2019-12-10 20:26:35,780 INFO [PacketProcessor:0] com.aionemu.gameserver.network.aion.clientpackets.CM_GAMEGUARD [CM_GAMEGUARD.java:60] AION Bin size from client: 212 2019-12-10 20:31:38,767 ERROR [PacketProcessor:1] com.aionemu.gameserver.utils.chathandlers.ChatCommand [ChatCommand.java:43] java.lang.NullPointerException: null at instance.illuminary_obelisk.IlluminaryObeliskInstance.onDie(IlluminaryObeliskInstance.java]:238) ~[na:na] at com.aionemu.gameserver.controllers.NpcController.onDie(NpcController.java:144) ~[AL-Game.jar:na] at com.aionemu.gameserver.model.stats.container.CreatureLifeStats.reduceHp(CreatureLifeStats.java:128) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:255) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.NpcController.onAttack(NpcController.java:307) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:291) ~[AL-Game.jar:na] at admincommands.Kill.execute(Kill.java]:50) ~[na:na] at com.aionemu.gameserver.utils.chathandlers.ChatCommand.run(ChatCommand.java:40) ~[AL-Game.jar:na] at com.aionemu.gameserver.utils.chathandlers.AdminCommand.process(AdminCommand.java:59) [AL-Game.jar:na] at com.aionemu.gameserver.utils.chathandlers.ChatProcessor.handleChatCommand(ChatProcessor.java:175) [AL-Game.jar:na] at com.aionemu.gameserver.network.aion.clientpackets.CM_CHAT_MESSAGE_PUBLIC.runImpl(CM_CHAT_MESSAGE_PUBLIC.java:67) [AL-Game.jar:na] at com.aionemu.gameserver.network.aion.AionClientPacket.run(AionClientPacket.java:64) [AL-Game.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:48) [al-commons.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:41) [al-commons.jar:na] at com.aionemu.commons.network.PacketProcessor$PacketProcessorTask.run(PacketProcessor.java:266) [al-commons.jar:na] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17] 2019-12-10 20:32:05,627 ERROR [PacketProcessor:1] com.aionemu.gameserver.utils.chathandlers.ChatCommand [ChatCommand.java:43] java.lang.NullPointerException: null at instance.illuminary_obelisk.IlluminaryObeliskInstance.onDie(IlluminaryObeliskInstance.java]:204) ~[na:na] at com.aionemu.gameserver.controllers.NpcController.onDie(NpcController.java:144) ~[AL-Game.jar:na] at com.aionemu.gameserver.model.stats.container.CreatureLifeStats.reduceHp(CreatureLifeStats.java:128) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:255) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.NpcController.onAttack(NpcController.java:307) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:291) ~[AL-Game.jar:na] at admincommands.Kill.execute(Kill.java]:50) ~[na:na] at com.aionemu.gameserver.utils.chathandlers.ChatCommand.run(ChatCommand.java:40) ~[AL-Game.jar:na] at com.aionemu.gameserver.utils.chathandlers.AdminCommand.process(AdminCommand.java:59) [AL-Game.jar:na] at com.aionemu.gameserver.utils.chathandlers.ChatProcessor.handleChatCommand(ChatProcessor.java:175) [AL-Game.jar:na] at com.aionemu.gameserver.network.aion.clientpackets.CM_CHAT_MESSAGE_PUBLIC.runImpl(CM_CHAT_MESSAGE_PUBLIC.java:67) [AL-Game.jar:na] at com.aionemu.gameserver.network.aion.AionClientPacket.run(AionClientPacket.java:64) [AL-Game.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:48) [al-commons.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:41) [al-commons.jar:na] at com.aionemu.commons.network.PacketProcessor$PacketProcessorTask.run(PacketProcessor.java:266) [al-commons.jar:na] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17] 2019-12-10 20:34:44,378 ERROR [PacketProcessor:1] com.aionemu.gameserver.utils.chathandlers.ChatCommand [ChatCommand.java:43] java.lang.NullPointerException: null at instance.illuminary_obelisk.IlluminaryObeliskInstance.onDie(IlluminaryObeliskInstance.java]:273) ~[na:na] at com.aionemu.gameserver.controllers.NpcController.onDie(NpcController.java:144) ~[AL-Game.jar:na] at com.aionemu.gameserver.model.stats.container.CreatureLifeStats.reduceHp(CreatureLifeStats.java:128) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:255) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.NpcController.onAttack(NpcController.java:307) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:291) ~[AL-Game.jar:na] at admincommands.Kill.execute(Kill.java]:50) ~[na:na] at com.aionemu.gameserver.utils.chathandlers.ChatCommand.run(ChatCommand.java:40) ~[AL-Game.jar:na] at com.aionemu.gameserver.utils.chathandlers.AdminCommand.process(AdminCommand.java:59) [AL-Game.jar:na] at com.aionemu.gameserver.utils.chathandlers.ChatProcessor.handleChatCommand(ChatProcessor.java:175) [AL-Game.jar:na] at com.aionemu.gameserver.network.aion.clientpackets.CM_CHAT_MESSAGE_PUBLIC.runImpl(CM_CHAT_MESSAGE_PUBLIC.java:67) [AL-Game.jar:na] at com.aionemu.gameserver.network.aion.AionClientPacket.run(AionClientPacket.java:64) [AL-Game.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:48) [al-commons.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:41) [al-commons.jar:na] at com.aionemu.commons.network.PacketProcessor$PacketProcessorTask.run(PacketProcessor.java:266) [al-commons.jar:na] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17] 2019-12-10 20:36:03,886 ERROR [PacketProcessor:2] com.aionemu.gameserver.utils.chathandlers.ChatCommand [ChatCommand.java:43] java.lang.NullPointerException: null at instance.illuminary_obelisk.IlluminaryObeliskInstance.onDie(IlluminaryObeliskInstance.java]:308) ~[na:na] at com.aionemu.gameserver.controllers.NpcController.onDie(NpcController.java:144) ~[AL-Game.jar:na] at com.aionemu.gameserver.model.stats.container.CreatureLifeStats.reduceHp(CreatureLifeStats.java:128) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:255) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.NpcController.onAttack(NpcController.java:307) ~[AL-Game.jar:na] at com.aionemu.gameserver.controllers.CreatureController.onAttack(CreatureController.java:291) ~[AL-Game.jar:na] at admincommands.Kill.execute(Kill.java]:50) ~[na:na] at com.aionemu.gameserver.utils.chathandlers.ChatCommand.run(ChatCommand.java:40) ~[AL-Game.jar:na] at com.aionemu.gameserver.utils.chathandlers.AdminCommand.process(AdminCommand.java:59) [AL-Game.jar:na] at com.aionemu.gameserver.utils.chathandlers.ChatProcessor.handleChatCommand(ChatProcessor.java:175) [AL-Game.jar:na] at com.aionemu.gameserver.network.aion.clientpackets.CM_CHAT_MESSAGE_PUBLIC.runImpl(CM_CHAT_MESSAGE_PUBLIC.java:67) [AL-Game.jar:na] at com.aionemu.gameserver.network.aion.AionClientPacket.run(AionClientPacket.java:64) [AL-Game.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:48) [al-commons.jar:na] at com.aionemu.commons.utils.concurrent.ExecuteWrapper.execute(ExecuteWrapper.java:41) [al-commons.jar:na] at com.aionemu.commons.network.PacketProcessor$PacketProcessorTask.run(PacketProcessor.java:266) [al-commons.jar:na] at java.lang.Thread.run(Thread.java:722) [na:1.7.0_17] 2019-12-10 20:43:57,302 INFO [pool-2-thread-7] com.aionemu.gameserver.services.SurveyService [SurveyService.java:152] [SurveyController] update task start. 2019-12-10 20:56:35,776 INFO [PacketProcessor:1] com.aionemu.gameserver.network.aion.clientpackets.CM_GAMEGUARD [CM_GAMEGUARD.java:60] AION Bin size from client: 212 2019-12-10 20:57:53,059 WARN [pool-4-thread-1] com.aionemu.gameserver.network.loginserver.LoginServer [LoginServer.java:129] Connection with LoginServer lost... 2019-12-10 20:57:58,062 INFO [pool-2-thread-5] com.aionemu.gameserver.network.loginserver.LoginServer [LoginServer.java:95] Connecting to LoginServer: /192.168.1.6:9014 2019-12-10 20:57:59,063 INFO [pool-2-thread-5] com.aionemu.gameserver.network.loginserver.LoginServer [LoginServer.java:110] Cant connect to LoginServer: Connection refused: connect 2019-12-10 20:58:09,064 INFO [pool-2-thread-5] com.aionemu.gameserver.network.loginserver.LoginServer [LoginServer.java:95] Connecting to LoginServer: /192.168.1.6:9014 2019-12-10 20:58:10,064 INFO [pool-2-thread-5] com.aionemu.gameserver.network.loginserver.LoginServer [LoginServer.java:110] Cant connect to LoginServer: Connection refused: connect
Please login or register to view links, у тебя всё написано в твоем логе. вот строчка at instance.illuminary_obelisk.IlluminaryObeliskInstance.onDie(IlluminaryObeliskInstance.java]:273) ~[na:na] в ней написано где ошибка. Думаю следующие ошибки уже следствие этой.
В методе onDie?Я просто новичёк в этом деле.Java плохо пока понимаю....Есть возможность подсказать,что исправить конкретно надо? Спойлер public void onDie(Npc npc) { Player player = npc.getAggroList().getMostPlayerDamage(); switch (npc.getObjectTemplate().getTemplateId()) { case 702010: //Eastern Shield Generator. despawnNpc(npc); deleteNpc(233720); deleteNpc(233721); deleteNpc(233728); deleteNpc(233729); deleteNpc(233730); deleteNpc(233732); deleteNpc(233733); deleteNpc(233734); deleteNpc(233735); deleteNpc(233736); deleteNpc(233737); deleteNpc(233738); deleteNpc(233739); deleteNpc(702014); deleteNpc(702218); deleteNpc(702219); deleteNpc(702220); isEnd = true; SP1Task.cancel(true); instance.doOnAllPlayers(new Visitor<Player>() { @Override public void visit(Player player) { PacketSendUtility.sendPacket(player, new SM_SYSTEM_MESSAGE(1402139)); } }); ThreadPoolManager.getInstance().schedule(new Runnable() { @Override public void run() { spawn(702010, 255.47392f, 293.56177f, 321.18497f, (byte) 89); //Eastern Shield Generator. isEnd = false; } }, 10000); break; case 702011: //Western Shield Generator. despawnNpc(npc); deleteNpc(233722); deleteNpc(233723); deleteNpc(233728); deleteNpc(233729); deleteNpc(233730); deleteNpc(233732); deleteNpc(233733); deleteNpc(233734); deleteNpc(233735); deleteNpc(233736); deleteNpc(233737); deleteNpc(233738); deleteNpc(233739); deleteNpc(702015); deleteNpc(702221); deleteNpc(702222); deleteNpc(702223); SP2Task.cancel(true); isEnd = true; instance.doOnAllPlayers(new Visitor<Player>() { @Override public void visit(Player player) { PacketSendUtility.sendPacket(player, new SM_SYSTEM_MESSAGE(1402140)); } }); ThreadPoolManager.getInstance().schedule(new Runnable() { @Override public void run() { spawn(702011, 255.55742f, 216.03549f, 321.21344f, (byte) 30); //Western Shield Generator. isEnd = false; } }, 10000); break; case 702012: //Southern Shield Generator. despawnNpc(npc); deleteNpc(233724); deleteNpc(233725); deleteNpc(233728); deleteNpc(233729); deleteNpc(233730); deleteNpc(233732); deleteNpc(233733); deleteNpc(233734); deleteNpc(233735); deleteNpc(233736); deleteNpc(233737); deleteNpc(233738); deleteNpc(233739); deleteNpc(702016); deleteNpc(702224); deleteNpc(702225); deleteNpc(702226); SP3Task.cancel(true); isEnd = true; instance.doOnAllPlayers(new Visitor<Player>() { @Override public void visit(Player player) { PacketSendUtility.sendPacket(player, new SM_SYSTEM_MESSAGE(1402141)); } }); ThreadPoolManager.getInstance().schedule(new Runnable() { @Override public void run() { spawn(702012, 294.20718f, 254.60352f, 295.7729f, (byte) 60); //Southern Shield Generator. isEnd = false; } }, 10000); break; case 702013: //Northern Shield Generator. despawnNpc(npc); deleteNpc(233726); deleteNpc(233727); deleteNpc(233728); deleteNpc(233729); deleteNpc(233730); deleteNpc(233732); deleteNpc(233733); deleteNpc(233734); deleteNpc(233735); deleteNpc(233736); deleteNpc(233737); deleteNpc(233738); deleteNpc(233739); deleteNpc(702016); deleteNpc(702227); deleteNpc(702228); deleteNpc(702229); SP4Task.cancel(true); isEnd = true; instance.doOnAllPlayers(new Visitor<Player>() { @Override public void visit(Player player) { PacketSendUtility.sendPacket(player, new SM_SYSTEM_MESSAGE(1402142)); } }); ThreadPoolManager.getInstance().schedule(new Runnable() { @Override public void run() { spawn(702013, 216.97739f, 254.4616f, 295.77353f, (byte) 0); //Northern Shield Generator. isEnd = false; } }, 10000); break; /**************************** * Eastern Shield Generator * ****************************/ case 233720: case 233721: case 233881: despawnNpc(npc); if (getNpcs(233720).isEmpty() && getNpcs(233721).isEmpty() && getNpcs(233881).isEmpty()) { spawncheckE(); } break; case 233728: case 233729: case 233730: case 233731: case 233732: case 233733: case 233734: case 233735: case 233736: case 233737: case 233738: case 233739: despawnNpc(npc); break; /**************************** * Western Shield Generator * ****************************/ case 233722: case 233723: case 233882: despawnNpc(npc); if (getNpcs(233722).isEmpty() && getNpcs(233723).isEmpty() && getNpcs(233882).isEmpty()) { spawncheckW(); } break; /***************************** * Southern Shield Generator * *****************************/ case 233724: case 233725: case 233883: despawnNpc(npc); if (getNpcs(233724).isEmpty() && getNpcs(233725).isEmpty() && getNpcs(233883).isEmpty()) { spawncheckS(); } break; /***************************** * Northern Shield Generator * *****************************/ case 233726: case 233727: case 233857: despawnNpc(npc); if (getNpcs(233726).isEmpty() && getNpcs(233727).isEmpty() && getNpcs(233857).isEmpty()) { spawncheckN(); } break; /** * Final Boss. */ case 233740: //Test Weapon Dynatoum. TWDTask.cancel(true); TWD1Task.cancel(true); TWD2Task.cancel(true); PacketSendUtility.sendPacket(player, new SM_QUEST_ACTION(0, 0)); sendMsg("[Congratulation]: you finish <ILLUMINARY OBELISK>"); spawn(730905, 255.5597f, 254.49713f, 455.12012f, (byte) 104); //Illuminary Obelisk Exit. break;
Вот в этом коде Спойлер case 702012: //Southern Shield Generator. despawnNpc(npc); deleteNpc(233724); deleteNpc(233725); deleteNpc(233728); deleteNpc(233729); deleteNpc(233730); deleteNpc(233732); deleteNpc(233733); deleteNpc(233734); deleteNpc(233735); deleteNpc(233736); deleteNpc(233737); deleteNpc(233738); deleteNpc(233739); deleteNpc(702016); deleteNpc(702224); deleteNpc(702225); deleteNpc(702226); SP3Task.cancel(true); isEnd = true; instance.doOnAllPlayers(new Visitor<Player>() { @Override public void visit(Player player) { PacketSendUtility.sendPacket(player, new SM_SYSTEM_MESSAGE(1402141)); } }); Вот эта строка 273 SP3Task.cancel(true); И вот сам код получается этой строки как я понял public void spawncheckS() { if (!isEnd) { SP3Task = ThreadPoolManager.getInstance().schedule(new Runnable() { @Override public void run() { startWaveSouthernShieldGenerator1(); } }, 30000 * 3); //spawn every 1 and a half minutes. } }
Please login or register to view links, это так не решается и никогда не решалось. Во первых, как минимум нужно указать сборку и версию сервера(если у вас не какой то частный эмулятор). Вы спросили про ошибки, я указал с чего начать. Остальное нужно смотреть уже непосредственно в сборке. У вас указан номер строки в каком методе ругается сервер, смотрите этот метод(где вызывается по ядру и за что отвечает).