1

Topic: Java Anti-Phx Enchant

And if we post that lets add the other one Tongue anti phx enchant:

in net/sf/l2j/gameserver/clientpackets you will findSend WareHouseDepositList.java
open it then add after imports finsih this lines:

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

after that:

}
       
        if (player.getActiveEnchantItem() != null)
        {
           player.setAccountAccesslevel(-100);// ban first to remove any potential exploit like restarting
           player.sendMessage("You got owned by useing phx!");
           try
           {
             Thread.sleep(5000); // Sleeps 5 seconds
           }
           catch (InterruptedException e)
           {}
           player.closeNetConnection(); // BB forever smile)
           return;
        }

ul insert that at line after this lines:

if ((warehouse instanceof ClanWarehouse) && Config.GM_DISABLE_TRANSACTION && player.getAccessLevel() >= Config.GM_TRANSACTION_MIN && player.getAccessLevel() <= Config.GM_TRANSACTION_MAX)
        {
            player.sendMessage("Transactions are disable for your Access Level");
            return;
        }

or find

       

// Alt game - Karma punishment
        if (!Config.ALT_GAME_KARMA_PLAYER_CAN_USE_WAREHOUSE && player.getKarma() > 0) return;

and put the anti-phx enchant code above it.

Thanks "Setekh"

http://www.hopzones.net/hopzones_banner.gif

2

Re: Java Anti-Phx Enchant

Interlude L2J servers or as we all know, if it free phx 100% success successful your item or the brake gear enchant any package that would help. L2J server and me with a little help, you can use this code to solve the problem.

Thumbs up Thumbs down