Ir para conteúdo
  • Cadastre-se
  • 0

ANT-HACK


Strangler

Pergunta

3 respostass a esta questão

Posts recomendados

1º UTILIZE UM PREFIXO PARA FACILITAR A IDENTIFICAÇÃO DO SEU PEDIDO.

ex:

 

[iNTERLUDE-L2JFREE] [HELLBOUND-L2JEMU] [sITE] [NPC] [QUEST] ETC.

 

Obs: Não crie tópico com o prefixo [DÚVDA] ou [PEDIDO]não tem logica você usa-lo aqui.

 

 

Se sua crônica é Interlude, tá ai um anti - phx:

 

Vcs Terao Que alterar os arquivos .class localizado nos arquivos .jar

 

coloque este script na linea 80 :

 

 

// If no or wrong channel is used - return

if (_type == SystemChatChannelId.Chat_None || _type == SystemChatChannelId.Chat_Announce || _type == SystemChatChannelId.Chat_Critical_Announce

|| _type == SystemChatChannelId.Chat_System || _type == SystemChatChannelId.Chat_Custom

|| (_type == SystemChatChannelId.Chat_GM_Pet && !activeChar.isGM()))

{

_log.warn("[Anti-Phx] Illegal chat channel was used.");

return;

}

 

if (activeChar == null)

{

_log.warn("[say2.java] Active Character is null.");

return;

}

 

 

e Depois Essa :

 

 

@Override

protected void runImpl()

{

L2PcInstance activeChar = getClient().getActiveChar();

 

 

procure o arquivo

net.sf.l2j.gameserver.clientpackets depois você terà que procurar SendWareHouseDepositList.java

in net.sf.l2j.gameserver.clientpackets you will find SendWareHouseDepositList.java

abri-la depois que juntar, em seguida, as importações final estas linhas:

Código:

 

import net.sf.l2j.gameserver.util.IllegalPlayerAction;

import net.sf.l2j.gameserver.util.Util;

 

depois adicione na linha 103 :

 

}

 

if (player.getActiveEnchantItem() != null)

{

Util.handleIllegalPlayerAction(player,"Mofo "+player.getName()+" tried to use phx and got BANED! Peace :-h", IllegalPlayerAction.PUNISH_KICKBAN);

return;

}

 

 

 

 

 

 

 

Creditos : Kidzor

Link para o comentário
Compartilhar em outros sites


Visitante
Este tópico está impedido de receber novos posts.




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