L2Guard NPC

Support for the latest build of L2J Server, get help here with installations, upgrades, problems.
Do not post bugs reports here, use viewforum.php?f=77 instead.
There is no support for other server builds than the official provided by l2jserver.com
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
AstroGlide
Posts: 36
Joined: Sat Jul 17, 2010 1:35 am

L2Guard NPC

Post by AstroGlide »

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? :idea:


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)
Last edited by AstroGlide on Wed Jul 28, 2010 4:33 am, edited 1 time in total.
AstroGlide
Posts: 36
Joined: Sat Jul 17, 2010 1:35 am

Re: L2Guard NPC

Post by AstroGlide »

Errors seem to happen when the Guard is killing someone.
User avatar
JIV
L2j Veteran
L2j Veteran
Posts: 1882
Joined: Sun Jan 06, 2008 8:17 pm
Location: Slovakia
Contact:

Re: L2Guard NPC

Post by JIV »

check your logs, you will find problem.
User avatar
J0Y
Posts: 73
Joined: Wed Dec 31, 2008 6:22 pm

Re: L2Guard NPC

Post by J0Y »

No that doesn't help me...
AstroGlide
Posts: 36
Joined: Sat Jul 17, 2010 1:35 am

Re: L2Guard NPC

Post by AstroGlide »

Guys anyone know a solution, I cannot find the problem :?
Post Reply