QQ1 wrote:thanks for reply .
but where exactly i put this files ?
Go to Config.java file find the variable that holds the auto loot option for raids (AUTO_LOOT_RAID_BOSS for example

)
Follow it (Eclipse -> with variable selected -> Open Hierarchy -> Ctrl-Alt-H )
For example is used in doItemDrop(..) and you will find player.doItemDrop(..), follow it.
You will find that it calls addItem(..) from L2PcInstance, follow it.
There after:
Code: Select all
// Add the item to inventoryL2ItemInstance item = _inventory.addItem(process, itemId, count, this, reference);
Add:
Code: Select all
// If over capacity, drop the itemif (!isGM() && item.isDropable() && (!item.isStackable() || item.getLastChange() != L2ItemInstance.MODIFIED))ย ย dropItem("InvDrop", item, null, true);
Test that, it may not work.