Jump to content

Recommended Posts

Posted

And if we post that lets add the other one :P 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 :))
          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

 

it cold be simple to ad a diff file..but i dont have the time xD but maybe il add it later..

 

And message to a moderator..please delete the posts that my fellow romanians posted...thx

Posted

Outer space atm,

I'm still working on the pack:P

I need to fix skills and shit......make it more retail like interlude full...hopefully xD

Posted

hey you have 27 post and u hidden for 100????OMG!!!!

 

If i Dont Know Use Eclipse I Cant MAke Its ? (i use l2jfree)

OMG 100 posts...

If i Dont Know Use Eclipse I Cant MAke Its ? (i use l2jfree)

 

1rst and last warning for all cuz u spam the thread!

Posted

Mate , Something Is Wrong With The Code.. Eclipse Gives Me An Error When I Try To Compile It..

 

Can u Check It Plx...?

 

Cause i Need It Asap!

Posted

cuz ct1 to ct2 packs are now changed and clientpackets folder is inside net.sf.l2j.gameserver.network.clientpackets...

Guest
This topic is now closed to further replies.

×
×
  • Create New...