l2topzone.com
l2topzone.com

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

0 Members and 1 Guest are viewing this topic.

OfflineEglezakioc

  • Full Member
  • ***
  • Posts: 205
  • L2topzone Votes: 0
  • Servers reviews: 4
  • Country: Greece.
  • Reputation: +661/-0
    [Bug-Fix]Phx-Enchant
    « on: December 05, 2010, 03:34:18 AM »
    l2topzone.com
    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/l2-java-projects/16/bug-fixphx-enchant/1960/
    « Last Edit: February 21, 2011, 03:43:28 PM by Eglezakioc »


    Share via diggShare via facebookShare via linkedinShare via myspaceShare via redditShare via twitter
     


    Sitemap