L2Guard NPC
Posted: Wed Jul 28, 2010 4:31 am
L2J Revision 4173:
L2JDP Revision 7403:
Hi, I made a guard or "pk protector" to stop spawn killing, etc, etc, but I got a lot of errors, and I don't see why
All I did was make a new NPC(L2Guard) with boosted stats. Anyone can help?
Errors on console:
L2JDP Revision 7403:
Hi, I made a guard or "pk protector" to stop spawn killing, etc, etc, but I got a lot of errors, and I don't see why
All I did was make a new NPC(L2Guard) with boosted stats. Anyone can help?

Errors on console:
Code: Select all
Client: [Character: Intiendo[268493322] - Account: inteindo- IP: 61.191.166.89] - Failed running: [C] 04 Action - L2J Server Version: 4173M - DP Revision: 7403java.lang.ArrayIndexOutOfBoundsException: 777 at com.l2jserver.gameserver.skills.Formulas.calcShldUse(Formulas.java:2009) at com.l2jserver.gameserver.skills.Formulas.calcShldUse(Formulas.java:2060) at com.l2jserver.gameserver.model.actor.L2Character.doAttackHitSimple(L2Character.java:1411) at com.l2jserver.gameserver.model.actor.L2Character.doAttackHitSimple(L2Character.java:1395) at com.l2jserver.gameserver.model.actor.L2Character.doAttack(L2Character.java:952) at com.l2jserver.gameserver.model.actor.L2Character$AIAccessor.doAttack(L2Character.java:3467) at com.l2jserver.gameserver.model.actor.instance.L2PcInstance$AIAccessor.doAttack(L2PcInstance.java:362) at com.l2jserver.gameserver.ai.L2PlayerAI.thinkAttack(L2PlayerAI.java:248) at com.l2jserver.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:343) at com.l2jserver.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:419) at com.l2jserver.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:362) at com.l2jserver.gameserver.ai.L2CharacterAI.onIntentionAttack(L2CharacterAI.java:260) at com.l2jserver.gameserver.ai.L2PlayableAI.onIntentionAttack(L2PlayableAI.java:97) at com.l2jserver.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:310) at com.l2jserver.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:250) at com.l2jserver.gameserver.model.actor.instance.L2GuardInstance.onAction(L2GuardInstance.java:205) at com.l2jserver.gameserver.model.L2Object.onAction(L2Object.java:264) at com.l2jserver.gameserver.network.clientpackets.Action.runImpl(Action.java:126) at com.l2jserver.gameserver.network.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:92) 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)java.lang.ArrayIndexOutOfBoundsException: 777 at com.l2jserver.gameserver.skills.Formulas.calcShldUse(Formulas.java:2009) at com.l2jserver.gameserver.skills.Formulas.calcShldUse(Formulas.java:2055) at handlers.skillhandlers.Continuous.useSkill(Continuous.java:171) at com.l2jserver.gameserver.model.ChanceSkillList.makeCast(ChanceSkillList.java:169) at com.l2jserver.gameserver.model.ChanceSkillList.onEvent(ChanceSkillList.java:128) at com.l2jserver.gameserver.model.ChanceSkillList.onHit(ChanceSkillList.java:68) at com.l2jserver.gameserver.model.actor.L2Character.onHitTimer(L2Character.java:5322) at com.l2jserver.gameserver.model.actor.L2Character$HitTask.run(L2Character.java:2530) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) 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)