21-11-2008, 06:23 PM
|
#1 (permalink)
|
|
Membro - Coronel
Registrado em: Nov 2008
Localização: Firenze
Posts: 192
Agradecido 629 Vezes em 83 Posts
Achei Ruim:
Acharam ruim Vezes em Posts
Meu Estado:
Nome Real: Antonio / Junior
|
Correção do java contra phx.
Funciona Somente na Rev 2741 l2jfree (INTERLUDE)
Vcs Terao Que alterar os arquivos .class localizado nos arquivos .jar
Citação:
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
Tutorial para aprender a compilar com o marven : [Somente Usuários Registrados Podem Visualizar os Links Desta PáginaClique aqui para se Registrar]
|
|
|