// 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?
Question
HowardStern
// 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?
12 answers to this question
Recommended Posts