how to set drop exp when die

This is not a Support area! Discuss about the Server here. Non-Server related discussion goes in Off-Topic Discussion.
Forum rules
READ NOW: L2j Forums Rules of Conduct
Post Reply
Amida
Posts: 7
Joined: Mon May 27, 2013 2:26 am

how to set drop exp when die

Post by Amida »

Now in my server, player don't drop exp when die. I want know where for config and where the code for define it.

And 1 more question, now when I enchant an item, backup stone (support item for increase the success to 20%) only use in lv 3-9. I just change the max enchant of this item to 39 at AbstractEnchantPacket.java :
_supports.put(12366, new EnchantItem(true, L2Item.CRYSTAL_S, 36, 20, null));
but when I'm in-game, if armor/weapon is enchant bigger than 9, the slot for put backup stone can not display. How I can fix it?

I use Freya
User avatar
jurchiks
Posts: 6769
Joined: Sat Sep 19, 2009 4:16 pm
Location: Eastern Europe

Re: how to set drop exp when die

Post by jurchiks »

It might be hardcoded client-side...
If you have problems, FIRST TRY SOLVING THEM YOURSELF, and if you get errors, TRY TO ANALYZE THEM, and ONLY if you can't help it, THEN ask here.
Otherwise you will never learn anything if all you do is copy-paste!
Discussion breeds innovation.
Nerimah
Posts: 76
Joined: Mon May 02, 2011 10:19 am
Location: Paris, France
Contact:

Re: how to set drop exp when die

Post by Nerimah »

You should edit your backup stones inside /game/data/enchantData.xml.

Find the lines with "<!-- Weapon-Type Enhance Backup Stone -->" or "<!-- Armor-Type Enhance Backup Stone -->" and increase the "maxEchant" parameter.
French touch.
Post Reply