// Check if the autoLoot mode is active
if (Config.AUTO_LOOT)
{
//DropItem(player, item);
final L2Item item_templ = ItemTable.getInstance().getTemplate(item.getItemId());
if (item_templ == null)
{
LOGGER.info("ERROR: Item id to autoloot " + item.getItemId() + " has not template into items/armor/weapon tables.. It cannot be dropped..");
// DropItem(player, item);
}
else
{
if (!player.getInventory().validateCapacity(item_templ) || (!Config.AUTO_LOOT_BOSS && player.isInsideZone(ZONE_MULTIFUNCTION))|| (!Config.AUTO_LOOT_BOSS && this instanceof L2RaidBossInstance) || (!Config.AUTO_LOOT_BOSS && this instanceof L2GrandBossInstance)) DropItem(player, item);
else
player.doAutoLoot(this, item);
}
}
else
{
DropItem(player, item); // drop the item on the ground
}
this is the autoloot method i want to see items dropping and then autogetting , what i can do about it?
Lineage II Classic Einhovant new project is looking for a skilled Java Developer to join our team!
If you're passionate about game development and eager to contribute to this project, we'd love to hear from you.
For more details, feel free to send us a message. Let’s create something amazing together!
Question
HowardStern
this is the autoloot method i want to see items dropping and then autogetting , what i can do about it?
12 answers to this question
Recommended Posts