Jump to content

Recommended Posts

Posted

iam using l2jarchid, when i change subclass i cant do anything (like wickedpwn) i have to turn off l2 and start it again.

P.S. thanks for share, really useful to balance server ...

btw stop double posting you need to go at client packet's UseItem.Java

 

 

 

 

=======================================================================================================

if(activeChar.getClassId().getId() == 93 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Adventurer. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 108 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Ghost Hunter. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 101 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Wind Rider. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 8 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Treasure Hunter. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 36 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Abyss Walker. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 9 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Hawkeye. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 37 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Phantom Ranger. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 24 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Silver Ranger. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 9 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Hawkeye. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 92 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Sagittarius. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 102 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Moonlight Sentinel. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 109 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Ghost Sentinel. You cant equip heavy armor.");

                   return;

               }

               if(activeChar.getClassId().getId() == 5 && item.getItemType() == L2WeaponType.BOW)

               {

                   activeChar.sendMessage("Your class is Paladin. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 6 && item.getItemType() == L2WeaponType.BOW)

               {

                   activeChar.sendMessage("Your class is Dark Avenger. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 90 && item.getItemType() == L2WeaponType.BOW)

               {

                   activeChar.sendMessage("Your class is Phoenix Knight. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 91 && item.getItemType() == L2WeaponType.BOW)

               {

                   activeChar.sendMessage("Your class is Hell Knight. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 20 && item.getItemType() == L2WeaponType.BOW)

               {

                   activeChar.sendMessage("Your class is Temple Knight. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 32 && item.getItemType() == L2WeaponType.BOW)

               {

                   activeChar.sendMessage("Your class is Palus Knight. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 106 && item.getItemType() == L2WeaponType.BOW)

               {

                   activeChar.sendMessage("Your class is Shillien Knight. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 99 && item.getItemType() == L2WeaponType.BOW)

               {

                   activeChar.sendMessage("Your class is Evas Templar. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 114 && item.getItemType() == L2ArmorType.HEAVY)

               {

                   activeChar.sendMessage("Your class is Tyrant. You cant equip bow.");

                   return;

               }

               if(activeChar.getClassId().getId() == 93 && item.getItemType() == L2ArmorType.HEAVY)

               

               {

                   activeChar.sendMessage("Your class is Adventurer. You cant equip heavy armor.");

                   return;

               }

 

 

 

 

 

 

 

 

 

 

you need to make them something like that and the part of l2pcinstance

  • 5 months later...
Posted

Thanks for this, i try this in L2jserver and dont work, i only need changes for BOW do you know how it works in L2jserver? thanks.

  • 3 weeks later...
  • 1 month later...
Posted

i want all classes not t use bow except saggi, silver ranger and the dark elf class what should i do and if i can do this : 12,34,56,23 i mean many classes....i use l2j gracia t2.3

  • 2 years later...

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...

Important Information

This community uses essential cookies to function properly. Non-essential cookies and third-party services are used only with your consent. Read our Privacy Policy and We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue..

AdBlock Extension Detected!

Our website is made possible by displaying online advertisements to our members.

Please disable AdBlock browser extension first, to be able to use our community.

I've Disabled AdBlock