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

  • Posts

    • NEW SEASON START 23.01.2026 Get ready for the ultimate High Five adventure on L2Exoplanet.net!   • The last two previous Seasons are now merged into the Core Server. • The Core Server remains our main long-term world. • All future Seasonal Servers will be merged into Core after they end. • No characters or items will be lost – everything stays safe!     GRAND OPENING:  23.01.2026 at 20:00 GMT+1 BETA TEST:    16.01.2026    Client: High Five Rates: x10   Website: https://l2exoplanet.net Facebook: https://www.facebook.com/L2-Exoplanet-106811564103836 Discord: https://discord.gg/4fzhW7ZSPc         Game Rates    Experience: x10  Skill Points: x10  Adena: x5  Drop: x8  Spoil: x8  Quest: x5  Raid Boss Drop: x5  Fame: x2  Epaulette: x8  Manor: x8      Safe Enchant: +3  Maximum Enchant: +16  Normal Scroll Chance: 60%  Blessed Scroll Chance: 63%  Attribute Stone Chance: 50%  Attribute Crystal Chance: 30%      Game Settings    Multibox - 3 game clients per HWID  Autoloot  Autolearn Skills Auto Farm  NPC Buffer   Buff Slots (24+4/12)  Buff Duration (2h)  Olympiad Period 7days (new heroes appear every monday)  Seven Signs Period  Class Transfer for Adena  Max Sub-Class 3  Sub-Class Max Level 85  Essence Interface  Champions System  Vote Reward System  Dayli Reward System  PC Points Reward (500PC = 1 Donate Coin)      Epic Bosses Respawn Times     Queen Ant:  24 Hours +/- 4 Hours   Beleth: 3 Days +/- 8 Hours   Baium: 3 Days +/- 8 Hours   Antharas: 4 Days +/- 8 Hours   Valakas:  5 Days +/- 8 Hours     Instance Info     Normal Freya = 6 Players   Hard Freya = 12 Players   Frintezza = 6 Players   Zaken 83 Day = 6 Players   Zaken 60 Day = 6 Players   Zaken Nightly = 9 Players   Tiat = 6 Players   Beleth = 12 Players
    • when did i say something about mobius files besides what i've said on this post? or you're "calling me out" for saying this when someone says mobius is a better interlude alternative than acis? lol  
    • Spreading FUD disguised as "experience," mocking the project publicly, then acting shocked when called out. That's the conduct.
  • Topics

×
×
  • 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