Ir para conteúdo
  • Cadastre-se
  • 0

Help l2j code


name23

Pergunta

Good evening comrades help fix the problem

java.lang.ClassCastException: net.sf.l2j.gameserver.model.actor.instance.L2EvilGuardInstance cannot be cast to net.sf.l2j.gameserver.model.actor.instance.L2PcInstance
    at net.sf.l2j.gameserver.model.L2Character.doAttack(L2Character.java:643)
    at net.sf.l2j.gameserver.model.L2Character$AIAccessor.doAttack(L2Character.java:3672)
    at net.sf.l2j.gameserver.model.actor.instance.L2PcInstance$AIAccessor.doAttack(L2PcInstance.java:303)
    at net.sf.l2j.gameserver.ai.L2PlayerAI.thinkAttack(L2PlayerAI.java:244)
    at net.sf.l2j.gameserver.ai.L2PlayerAI.onEvtThink(L2PlayerAI.java:367)
    at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:356)
    at net.sf.l2j.gameserver.ai.AbstractAI.notifyEvent(AbstractAI.java:334)
    at net.sf.l2j.gameserver.ai.L2CharacterAI.onIntentionAttack(L2CharacterAI.java:272)
    at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:288)
    at net.sf.l2j.gameserver.ai.AbstractAI.setIntention(AbstractAI.java:249)
    at net.sf.l2j.gameserver.model.L2Character.onForcedAttack(L2Character.java:5619)
    at net.sf.l2j.gameserver.clientpackets.AttackRequest.runImpl(AttackRequest.java:87)
    at net.sf.l2j.gameserver.clientpackets.L2GameClientPacket.run(L2GameClientPacket.java:97)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
    at java.lang.Thread.run(Unknown Source)
Link para o comentário
Compartilhar em outros sites

1 resposta a esta questão

Posts recomendados

  • 0
  • L2JBr ADM

Hi!

 

You must provide some extra informations to get help, for example what distribuition of l2j you are using, when the problem happens, what are you trying to do, etc.

And I recomend the reading (you will be able to easy translate it with google translator)

 

EJoOSOj.gif

Sua pergunta foi respondida? Certifique-se de marcar a resposta como a solução aceita.
Se existe mais de uma resposta, utilize o "vote up" para destacá-la.
Se você achar uma resposta útil, diga obrigado clicando no botão "Gostei".

Link para o comentário
Compartilhar em outros 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.

Visitante
Responder esta pergunta...

×   Você colou conteúdo com formatação.   Remover formatação

  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.

Processando...




×
×
  • Criar Novo...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.