Just curious, is there a way to clear the loot ignore list by a function or perhaps some could tell me the name of the list data structure that it uses so i can create the function. I had a quick browse through the files but no luck.
The reason for this is i wish to create a function to make looting slightly more efficient in multiple mob situations. I have a bot running in an area where mobs of 3 are common and these mobs tend to stun often which often interupt the looting function. As a result, its added to the loot ignore list without ever having looted. And this occurs multiple times, making it somewhat inefficient.
So what i have done is to try and make it such that the bot loots (or at least checks) the mobs after combat twice (or more).
Hes an extract of what im using:
Code: Select all
<onLeaveCombat>
player:lootAll();
changeProfileOption("LOOT_IGNORE_LIST_SIZE", 0);
changeProfileOption("LOOT_IGNORE_LIST_SIZE", 5);
player:lootAll();
Im just clearing the list and then instructing the bot to loot again, to check again for any corpses it may have placed on ignore.
I wish to create a function that can set the number of times you wish to check the same bodies in the area, but would like an easy way to clear the ignore list.
EDIT: I forgot to ask, does anyone know where i can find all the item type parameters, that can be used for "INV_AUTOSELL_TYPES_NOSELL", cheers