Ir para conteúdo
  • Cadastre-se
  • 0

Warning ao compilar l2j Scripts


slym

Pergunta

Galera, to com o seguinte warning quando compilo o pack l2j scripts 2.0 zaken:

Quote

 C:\Classic\Source-Zaken\gameserver\src\main\java\l2s\gameserver\model\Creature.java:3733: warning: [deprecation] stop(EffectType) in AbnormalList has been deprecated
    [javac]             getAbnormalList().stop(EffectType.Meditation);
    [javac]                              ^
    [javac] C:\Classic\Source-Zaken\gameserver\src\main\java\l2s\gameserver\model\Creature.java:3774: warning: [deprecation] stop(EffectType) in AbnormalList has been deprecated
    [javac]                 getAbnormalList().stop(EffectType.Meditation);
    [javac]                                  ^
    [javac] C:\Classic\Source-Zaken\gameserver\src\main\java\l2s\gameserver\model\Creature.java:4623: warning: [deprecation] stop(EffectType) in AbnormalList has been deprecated
    [javac]         getAbnormalList().stop(EffectType.FakeDeath);
    [javac]                          ^
    [javac] C:\Classic\Source-Zaken\gameserver\src\main\java\l2s\gameserver\model\Player.java:2385: warning: [deprecation] stop(EffectType) in AbnormalList has been deprecated
    [javac]         getAbnormalList().stop(EffectType.Relax);
    [javac]                          ^
    [javac] 4 warnings
gameserver-jar:
      [jar] Building jar: C:\Classic\Source-Zaken\build\gameserver.jar
gameserver:
    [mkdir] Created dir: C:\Classic\Source-Zaken\build\dist\gameserver\log
     [sync] Removed 1 empty directory from C:\Classic\Source-Zaken\build\dist\gameserver
     [copy] Copying 2 files to C:\Classic\Source-Zaken\build\dist\gameserver\lib
dist:
      [zip] Building zip: C:\Classic\Source-Zaken\build\L2-Scripts(Classic)_dist.zip
BUILD SUCCESSFUL
Total time: 3 minutes 11 seconds

copila ok, mas surgem varios bugs quando rodando o projeto, por exemplo, os buffs não são restaurados quando se reloga e alguns buffs não estão dando os efeitos.

alterei o stop para stopEffects e não funcionou, ja tentei alterar o texto de diversas formas e não obtive sucesso.

Abaixo vou deixar a parte do script q da o primeiro warning, acredito que resolvendo este o resto segue o mesmo padrão:

O conteúdo está oculto, favor efetuar login ou se cadastrar!

 

Editado por slym

zf3sc.png

Thanks PsicotikoO pela Assinatura

Link para o comentário
Compartilhar em outros sites

0 respostass a esta questão

Posts recomendados

Até agora não há respostas para essa pergunta

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.