Skip to content

how to make hero weapons enchantable?

Featured Replies

how can i make hero weapons be enchanted? i mean  i have max enchant +16 andi want heros to enchant their hero weapons but when i click enchant it does not enchant it. Can anyone tell me how can i enable it? im usingl2jarchid pack interlude

There is an option in config files that it says enchantheroweapons=false do it true!

try this :

Index: RequestEnchantItem.java
===================================================================
--- RequestEnchantItem.java	(revision 2797)
+++ RequestEnchantItem.java	(working copy)
@@ -86,7 +86,7 @@
		}

		// can't enchant rods, hero weapons, adventurers' items,shadow and common items
-		if (item.getItem().getItemType() == L2WeaponType.ROD || item.isHeroItem() || item.getItemId() >= 7816 && item.getItemId() <= 7831 || item.isShadowItem() || item.isCommonItem())
+		if (item.getItem().getItemType() == L2WeaponType.ROD || item.getItemId() >= 7816 && item.getItemId() <= 7831 || item.isShadowItem() || item.isCommonItem())
		{
			activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));
			activeChar.setActiveEnchantItem(null);

There is an option in config files that it says enchantheroweapons=false do it true!

 

The easy way but you can do it with java modding like Mafia said...Choose :P

  • Author

i can not find it in config files and whatever mafia said thanks dude but i dont know where to edit that can ya tell me that also ?

its inside your packs core , net.sf.l2j.clientpackets.requestenchantitem.java or net.sf.l2j.network.clientpackets.requestenchantitem.java

  • Author

l2archid-core-1.0.0 i found this file executable java file but icant open it. do i need some kind of program rather than java ?

you need packs source code , if u dont have it then you cant apply the patch

  • Author

no i dont have it. is there any other way to do that? i mean in my configs there is nothing to make true for enchantheroweapons is there other way?

i need help too with this.please help me i didnt understand how to do it

 

 

i cant find this one->net.sf.l2j.network.clientpackets.requestenchantitem.java

u have to change it in the source not when ur server is already compiled

is there any other way to do this???i mean if i add them with a new sql in the db and add new weapon id's in the system but these new weapons wll have the texture of the hero???please if anyone can help me do the heros enchantable i will apriciate it!!!add me on msn if u know how ...tnx

spokerakos@hotmail.com

so i change this one with yours right??

 / can't enchant rods, hero weapons and shadow items
        if(item.getItem().getItemType() == L2WeaponType.ROD
        		|| item.getItemId() >= 6611 && item.getItemId() <= 6621
        		|| item.isShadowItem())
        {
        	activeChar.sendPacket(new SystemMessage(SystemMessageId.INAPPROPRIATE_ENCHANT_CONDITION));
            return;

Create an account or sign in to comment

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.