Jump to content

Question

Posted

Well, The Following Problem Appears When I Hit A Mob. I Need Your Help (PLZ) http://www.maxcheaters.com/forum/index.php?topic=50068.0 I Made My Server With This Guide...

X:\L2J Server\gameserver\data\scripts\ai\group_template\L2AttackableAIScript.jav

a

java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2Minio

nInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInsta

nce

        at net.sf.l2j.gameserver.model.actor.L2Character.doAttack(L2Character.ja

va:688)

        at net.sf.l2j.gameserver.model.actor.L2Character$AIAccessor.doAttack(L2C

haracter.java:3392)

        at net.sf.l2j.gameserver.ai.L2AttackableAI.thinkAttack(L2AttackableAI.ja

va:1416)

        at net.sf.l2j.gameserver.ai.L2AttackableAI.onEvtThink(L2AttackableAI.jav

a:1440)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:418)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:361)

        at net.sf.l2j.gameserver.ai.L2CharacterAI.onIntentionAttack(L2CharacterA

I.java:256)

        at net.sf.l2j.gameserver.ai.L2AttackableAI.onIntentionAttack(L2Attackabl

eAI.java:384)

        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:309)

 

        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:249)

 

        at net.sf.l2j.gameserver.ai.L2AttackableAI.onEvtAttacked(L2AttackableAI.

java:1488)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:421)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:361)

        at ai.group_template.L2AttackableAIScript.onAttack(Unknown Source)

        at net.sf.l2j.gameserver.model.quest.Quest.onAttack(Quest.java:554)

        at net.sf.l2j.gameserver.model.quest.Quest.notifyAttack(Quest.java:343)

        at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable

.java:795)

        at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Atta

ckable.java:377)

        at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Atta

ckable.java:349)

        at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.

java:5247)

        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2

PcInstance.java:4272)

        at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character

.java:2486)

        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)

 

X:\L2J Server\gameserver\data\scripts\ai\group_template\L2AttackableAIScript.jav

a

java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2Minio

nInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInsta

nce

        at net.sf.l2j.gameserver.model.actor.L2Character.doAttack(L2Character.ja

va:688)

        at net.sf.l2j.gameserver.model.actor.L2Character$AIAccessor.doAttack(L2C

haracter.java:3392)

        at net.sf.l2j.gameserver.ai.L2AttackableAI.thinkAttack(L2AttackableAI.ja

va:1416)

        at net.sf.l2j.gameserver.ai.L2AttackableAI.onEvtThink(L2AttackableAI.jav

a:1440)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:418)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:361)

        at net.sf.l2j.gameserver.ai.L2CharacterAI.onIntentionAttack(L2CharacterA

I.java:256)

        at net.sf.l2j.gameserver.ai.L2AttackableAI.onIntentionAttack(L2Attackabl

eAI.java:384)

        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:309)

 

        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:249)

 

        at net.sf.l2j.gameserver.ai.L2AttackableAI.onEvtAttacked(L2AttackableAI.

java:1488)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:421)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:361)

        at ai.group_template.L2AttackableAIScript.onAttack(Unknown Source)

        at net.sf.l2j.gameserver.model.quest.Quest.onAttack(Quest.java:554)

        at net.sf.l2j.gameserver.model.quest.Quest.notifyAttack(Quest.java:343)

        at net.sf.l2j.gameserver.model.actor.L2Attackable.addDamage(L2Attackable

.java:795)

        at net.sf.l2j.gameserver.model.actor.instance.L2MonsterInstance.callMini

onsToAssist(L2MonsterInstance.java:188)

        at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Atta

ckable.java:392)

        at net.sf.l2j.gameserver.model.actor.L2Attackable.reduceCurrentHp(L2Atta

ckable.java:349)

        at net.sf.l2j.gameserver.model.actor.L2Character.onHitTimer(L2Character.

java:5247)

        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.onHitTimer(L2

PcInstance.java:4272)

        at net.sf.l2j.gameserver.model.actor.L2Character$HitTask.run(L2Character

.java:2486)

        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)

 

Exception in thread "General Pool-2" java.lang.ClassCastException: net.sf.l2j.ga

meserver.model.actor.instance.L2MonsterInstance cannot be cast to net.sf.l2j.gam

eserver.model.actor.instance.L2PcInstance

        at net.sf.l2j.gameserver.model.actor.L2Character.doAttack(L2Character.ja

va:688)

        at net.sf.l2j.gameserver.model.actor.L2Character$AIAccessor.doAttack(L2C

haracter.java:3392)

        at net.sf.l2j.gameserver.ai.L2AttackableAI.thinkAttack(L2AttackableAI.ja

va:1416)

        at net.sf.l2j.gameserver.ai.L2AttackableAI.onEvtThink(L2AttackableAI.jav

a:1440)

        at net.sf.l2j.gameserver.ai.L2CharacterAI.onEvtArrived(L2CharacterAI.jav

a:764)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:454)

        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:346)

        at net.sf.l2j.gameserver.GameTimeController$MovingObjectArrived.run(Game

TimeController.java:233)

        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)

 

HELP

0 answers to this question

Recommended Posts

There have been no answers to this question yet

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.



×
×
  • Create New...