04-02-2011, 05:30 PM
Всем привет, возникла проблема со скриптом квеста.
в ГС выдает ошибку =>
в ГС выдает ошибку =>
Ошибка
PHP код:
<?php
Unevenly distributed hash code - Degraded Preformance
java.lang.ArrayIndexOutOfBoundsException: 1
at l2p.gameserver.model.quest.Quest.<init>(Quest.java:373)
at l2p.gameserver.model.quest.Quest.<init>(Quest.java:351)
at DW2.DW2.<init>(DW2.java:36)
at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
at sun.reflect.NativeConstructorAccessorImpl.newInstance(Unknown Source)
at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(Unknown Sou
rce)
at java.lang.reflect.Constructor.newInstance(Unknown Source)
at java.lang.Class.newInstance0(Unknown Source)
at java.lang.Class.newInstance(Unknown Source)
at l2p.extensions.scripts.Script.newInstance(Script.java:18)
at l2p.extensions.scripts.Scripts.loadAndInitHandlersForClass(Scripts.ja
va:202)
at l2p.extensions.scripts.Scripts.loadAndInitHandlers(Scripts.java:192)
at l2p.extensions.scripts.Scripts.callOnLoad(Scripts.java:174)
at l2p.extensions.scripts.Scripts.reload(Scripts.java:69)
at l2p.extensions.scripts.AdminScripts.useAdminCommand(AdminScripts.java
:36)
at l2p.gameserver.handler.AdminCommandHandler.useAdminCommandHandler(Adm
inCommandHandler.java:69)
at l2p.gameserver.clientpackets.RequestBypassToServer.runImpl(RequestByp
assToServer.java:51)
at l2p.gameserver.clientpackets.L2GameClientPacket.run(L2GameClientPacke
t.java:46)
at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source
)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
В чем может быть проблема?
Вот сам скрипт:
Скрипт
PHP код:
<?php
package quests.DW2;
import l2p.extensions.scripts.ScriptFile;
import l2p.gameserver.model.instances.L2NpcInstance;
import l2p.gameserver.model.quest.Quest;
import l2p.gameserver.model.quest.QuestState;
public class DW2 extends Quest implements ScriptFile
{
// NPC's
private static int GLIS = 50004;
private static int JENA = 31356;
...
...
Весь скрипт не выкладываю так как он очень большой...