// 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?
Tell me please, what is loading so much RAM? I excluded all npc, left one geodata square, deleted half of the scripts. On h5 it loads significantly more RAM than Gf. And I still get the bug when I run and call the "invalid target" - which causes the character to be thrown back. (they fixed it only for destroyers, but not for mages)
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