Jump to content

[Share] Java Anti-Phx Enchant


Setekh

Recommended Posts

u know...is rly funny how ppl whit less then 50 posts say thnx/good share/and other  staff...but they can't see the post.....i can't see it ...but if u rly want it u can seach it on other forums..like this one...and u can easy get it ...so stop saying thnx ore good share....1st of all u need to see it before u post a comment...damn:|

Link to comment
Share on other sites

  • 2 weeks later...

It's Just What I Need For My Server....:D....Ty man

 

Edit:Answer To The M8

 

Yeah If U Use It U Have To Put The Weap Into WH And Take It Off Again....if U Do That The Weap Don't Broke...:d

Link to comment
Share on other sites

  • 2 weeks later...

so...i dont understand it...i just need to install these 3?

 

 

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


after that:
Code:

}
       
        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 :))
           return;
        } 

ul insert that at line after this lines:

Code:

        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;
        }

Link to comment
Share on other sites

Guest
This topic is now closed to further replies.



×
×
  • Create New...