l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com
l2topzone.com

Author Topic: [Bug-Fix]Phx-Enchant  (Read 3123 times)

0 Members and 1 Guest are viewing this topic.

OfflineEglezakioc

  • Full Member
  • ***
  • Posts: 205
  • L2topzone Votes: 0
  • Servers reviews: 4
  • Reputation: +661/-0
    [Bug-Fix]Phx-Enchant
    « on: December 05, 2010, 02:34:18 AM »
    Well i dont see here fixes about bugs and i share anti-phx enchant!!!!
    first you must know about eclipse and compliling :)
    well index is
    java/net/sf/l2j/gameserver/clientpackets/SendWareHouseDepositList.java
    find this and add this lines
    Code: [Select]
    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; 
                                   }   

    P.s.: I add this lines (my work):   player.sendMessage("You got owned by useing phx!"); and    player.closeNetConnection(); // BB forever :))  
                                              return;  
                                         }  
    Creadits: L2j-Valor For Very special fixing& me for 2 add lines :)


    Linkback: https://l2topzone.com/forum/index.php?topic=1960.0
    « Last Edit: February 21, 2011, 02:43:28 PM by Eglezakioc »

     

    Sitemap