Jump to content
  • 0

[HElP] Soneone plz help!!


sakisd

Question

Hello all i am trying to fix a Interlude server and is almost Rd i am useing l2j last interlude rev.but i have 1 problem

can anyone help to find what cause this problem so i can fix it?

 

java.lang.ClassCastException: net.sf.l2j.gameserver.model.L2ItemInstance cannot
be cast to net.sf.l2j.gameserver.model.L2Character
        at net.sf.l2j.gameserver.model.L2Skill.getTargetList(L2Skill.java:1431)
        at net.sf.l2j.gameserver.model.L2Skill.getTargetList(L2Skill.java:2124)
        at net.sf.l2j.gameserver.model.L2Character.doCast(L2Character.java:1218)

        at net.sf.l2j.gameserver.model.L2Character$AIAccessor.doCast(L2Character
.java:3158)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance$AIAccessor.do
Cast(L2PcInstance.java:290)
        at net.sf.l2j.gameserver.ai.L2PlayerAI.thinkCast(L2PlayerAI.java:231)
        at net.sf.l2j.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:277)
        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:350)
        at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:324)
        at net.sf.l2j.gameserver.ai.L2CharacterAI.onIntentionCast(L2CharacterAI.
java:285)
        at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:278)

        at net.sf.l2j.gameserver.model.L2Character.useMagic(L2Character.java:158
9)
        at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance.useMagic(L2Pc
Instance.java:7604)
        at net.sf.l2j.gameserver.model.L2Character$QueuedMagicUseTask.run(L2Char
acter.java:1979)
        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)

 

ty in advance

sakisd

 

 

ps: plz post only  if you know ty!

Link to comment
Share on other sites

1 answer to this question

Recommended Posts

  • 0

You got a bug at

 

L2Skill.getTargetList(L2Skill.java:1431) => method getTargetList at line 1431

 

According to message, it's about a use of L2ItemInstance, you can't use it in this (dunno what, no code) condition.

Link to comment
Share on other sites

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...

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock