Hey! It's been years since I tried this, just redownloaded everything for the nostalgia but I'm having the "mismatch" problem.
You were right, I used another system, not the one from the post! My bad!
Now I can't find the system that works with AuthGateD 🤣
I see you have found it and uploaded it but the link you provided no longer works. If you are still around, can you please reupload? Thank you!
Question
SilverCrown
Hello, i have added this :
if (item.getItemType() == L2ArmorType.HEAVY) { if ((activeChar.getClassId().getId() == 93) || (activeChar.getClassId().getId() == 101) || (activeChar.getClassId().getId() == 108) || (activeChar.getClassId().getId() == 8) || (activeChar.getClassId().getId() == 36) || (activeChar.getClassId().getId() == 9) || (activeChar.getClassId().getId() == 37) || (activeChar.getClassId().getId() == 24) || (activeChar.getClassId().getId() == 92) || (activeChar.getClassId().getId() == 102) || (activeChar.getClassId().getId() == 109) || (activeChar.getClassId().getId() == 114)) { activeChar.sendPacket(SystemMessageId.CANNOT_EQUIP_ITEM_DUE_TO_BAD_CONDITION); return; } } if (item.getItemType() == L2WeaponType.BOW) { if ((activeChar.getClassId().getId() == 5) || (activeChar.getClassId().getId() == 6) || (activeChar.getClassId().getId() == 90) || (activeChar.getClassId().getId() == 91) || (activeChar.getClassId().getId() == 20) || (activeChar.getClassId().getId() == 32) || (activeChar.getClassId().getId() == 106) || (activeChar.getClassId().getId() == 99) || (activeChar.getClassId().getId() == 114) || (activeChar.getClassId().getId() == 93)) { activeChar.sendPacket(SystemMessageId.CANNOT_EQUIP_ITEM_DUE_TO_BAD_CONDITION); return; } }in useitem.java but why it dosen't work ? when i wear an heavy armor i get the message but the armor dosen't unequip :)
2 answers to this question
Recommended Posts