Download
(49 Kb)
Download
Updated: 02/11/17 10:36 PM
Pictures
File Info
Compatibility:
Homestead (2.7)
Updated:02/11/17 10:36 PM
Created:06/21/15 08:39 PM
Monthly downloads:408
Total downloads:43,539
Favorites:48
MD5:
Categories:Bags, Bank, Inventory, Miscellaneous
Smarter AutoLoot (S.A.L.)  Popular! (More than 5000 hits)
Version: 1.7.1
by: Agathorn [More]
Smarter AutoLoot

IMPORTANT: The game's built-in AutoLoot must be turned off!

Smarter AutoLoot, or S.A.L., is a completely invisible little assistant that will give you much greater control over your every day looting and pillaging. Turn off the game's AutoLoot, and turn on SAL, set what you want to loot and what you don't, and forget about it. Whenever you loot, SAL will automatically take what you want, and leave the rest behind.

Inspired by AdvancedAutoLooter, Smart AutoLooter works a bit different and focuses solely on managing your looting rather than mailing items and other additional extras. Do one thing and do it well is the motto here!

Usage:
  1. Disable the stock AutoLoot
  2. Settings->Add-Ons->Smarter AutoLoot and enable the looter.
  3. Setup your filters as desired.

Whenever SAL detects a loot window, it will automatically take the items you said you care about and ignore the ones you don't. By default it will leave the loot window open if it did not take all the items, allowing you to manually grab those if desired. This also means that if SAL somehow gets his logic mixed up, you can still grab the items he should have grabbed, though hopefully this won't happen. Some other AutoLoot plugins loot everything, then destroy the non-matching items but I think this is dangerous and wasteful.

Features:
For a full list, see the settings screenshot. In summary:
  • Loot or Ignore stolen items
  • Crafting mats can bypass all filters if desired
  • Soul gems can bypass all filters if desired
  • Set a minimum quality level of items to loot
  • Option to always loot ornate and intricate items
  • Various filters for semi-desirable items like food, recipes, bait, etc

Changes:

1.7.1
  • Fixed missing tooltips on some controls (speeling matters!)
  • Added global flag to allow/disallow looting of stolen items

1.7
  • Updated for Homestead
  • Added filter for furniture crafting materials
  • Added an option to enable or disable the ability to destroy un-looted items
  • Fixed a bug that prevented the weapons filter from working properly.

1.6
  • Completely reworked filter settings UI as well as the backend code to allow far more granularity over your loot filter rules.
  • Added filters for Poisons, Potions, and Glyphs

1.5
[b]NOTE: This version is bugged, and the filters don't work as they should. Please do not use this version. Use 1.6.0+
  • Updated LibAddonMenu for One Tamriel. Fixed script errors caused by One Tamriel.

1.3
  • Added button to loot window that will close the window and DESTROY any items left in it. Use with caution as this is instant, and can't be undone!

1.2
  • Fixed filtering of lockpicks. Apparently ITEMTYPE_LOCKPICK isn't actually used!
  • Added ability to show links to looted items in chat window, so you know what was looted.
  • Removed some debug printing that I had accidently left in the last version

1.1
  • Fixed a variable typo that causes script errors under certain conditions
  • Added ability to filter looting of lockpicks
Credits:
Mandrakia - Inspired by Mandrakia's original AdvancedAutoLoot, but completely written from scratch

License:
You are hereby granted a free license to do whatever you want with this plugin and its code, so long as you give me credit for the original work. If I should disappear, which isn't too unlikely, anyone is free to pick this up and continue it.

The Future:
This is an initial version, to get the basics working. I have some plans for more advanced filter logic, but I wanted to get the working base in place. That said, no promises of anything. I made this for me, and I share it for anyone else to use. I promise no support, and no continued development.

Enjoy!
Optional Files (0)


Archived Files (6)
File Name
Version
Size
Uploader
Date
1.7.0
48kB
Agathorn
12/25/16 07:32 PM
1.5.0
47kB
Agathorn
12/24/16 07:47 PM
1.3.0
30kB
Agathorn
06/23/15 10:42 PM
1.2.0
30kB
Agathorn
06/22/15 08:15 AM
1.1.0
30kB
Agathorn
06/21/15 09:33 PM
1.0.0
29kB
06/21/15 08:39 PM


Post A Reply Comment Options
Unread 04/19/18, 07:18 PM  
hanspeter123

Forum posts: 0
File comments: 6
Uploads: 0
hey, i couldn't find any comment regarding this so i'll post one myself.

i think instead of handling the furnishing items inside the ingredient/flavouring/spice checker it'd be better to let them have their own elseif. also, the current version doesn't work for said furnishing items.

official SmarterAutoloot.lua
Code:
if (itemType == ITEMTYPE_INGREDIENT or itemType == ITEMTYPE_FLAVORING or itemType == ITEMTYPE_SPICE) then
				-- d("Link: "..link)
				-- d("ItemType: Ingredient")
				-- d("ItemType: Ingredient - Checking if it is for furniture")
				-- 114889 Regulus (Blacksmithing)
				-- 114890 Bast (Clothier, cloth)
				-- 114891 Clean Pelt (Clothier, leather)
				-- 114892 Mundane Rune (Enchanting)
				-- 114893 Alchemical Resin (Alchemy)
				-- 114894 Decorative Wax (Provisioning)
				-- 114895 Heartwood (Woodworking)
				if (name == "Regulus"
					or name == "Bast"
					or name == "Clean Pelt"
					or name == "Mundane Rune"
					or name == "Alchemical Resin"
					or name == "Decorative Wax"
					or name == "Heartwood") then 
					-- d("ItemType: furnitureCraftingMaterials")
					if (self:ShouldLootItem(self.db.filters.furnitureCraftingMaterials, lootId, quality, value, isStolen)) then
						-- d("Looting Furniture Crafting Material")
						self:LootItem(link, lootId, quantity)
					end
				elseif (self:ShouldLootItem(self.db.filters.ingredients, lootId, quality, value, isStolen)) then
					-- d("Looting Ingredient, Flavoring, or Spice")
					self:LootItem(link, lootId, quantity)
				end
edited SmarterAutoloot.lua
Code:
if (itemType == ITEMTYPE_INGREDIENT or itemType == ITEMTYPE_FLAVORING or itemType == ITEMTYPE_SPICE) then
				-- d("Link: "..link)
				-- d("ItemType: Ingredient")
				-- d("ItemType: Ingredient - Checking if it is for furniture")
				-- 114889 Regulus (Blacksmithing)
				-- 114890 Bast (Clothier, cloth)
				-- 114891 Clean Pelt (Clothier, leather)
				-- 114892 Mundane Rune (Enchanting)
				-- 114893 Alchemical Resin (Alchemy)
				-- 114894 Decorative Wax (Provisioning)
				-- 114895 Heartwood (Woodworking)
				--if (name == "Regulus"
				--	or name == "Bast"
				--	or name == "Clean Pelt"
				--	or name == "Mundane Rune"
				--	or name == "Alchemical Resin"
				--	or name == "Decorative Wax"
				--	or name == "Heartwood") then 
				--	-- d("ItemType: furnitureCraftingMaterials")
				--	if (self:ShouldLootItem(self.db.filters.furnitureCraftingMaterials, lootId, quality, value, isStolen)) then
				--		-- d("Looting Furniture Crafting Material")
				--		self:LootItem(link, lootId, quantity)
				--	end
				--elseif (self:ShouldLootItem(self.db.filters.ingredients, lootId, quality, value, isStolen)) then
				if (self:ShouldLootItem(self.db.filters.ingredients, lootId, quality, value, isStolen)) then
					-- d("Looting Ingredient, Flavoring, or Spice")
					self:LootItem(link, lootId, quantity)
				end
			elseif (itemType == ITEMTYPE_FURNISHING_MATERIAL) then
				-- d("ItemType: furnitureCraftingMaterials")
				if (self:ShouldLootItem(self.db.filters.furnitureCraftingMaterials, lootId, quality, value, isStolen)) then
					-- d("Looting Furniture Crafting Material")
					self:LootItem(link, lootId, quantity)
				end
i tested this on regulus, bast, clean pelt, heartwood, alchemical resin, mundane rune and decorative wax. it worked on all of them.

best regards
Report comment to moderator  
Reply With Quote
Unread 12/04/17, 09:15 PM  
barrmalei

Forum posts: 0
File comments: 1
Uploads: 0
I really like this addon, but one thing grieves me - I don't use Alchemy, but I still collect solvents from mobs, even if all the settings of the add-on are "never loot"
Last edited by barrmalei : 12/04/17 at 09:16 PM.
Report comment to moderator  
Reply With Quote
Unread 09/13/17, 04:21 PM  
MercerusFulgura

Forum posts: 0
File comments: 7
Uploads: 0
PLZ UPDATE

It keeps looting crap glyphs, and random stuff like daedric husks and not looting ornate items, and the quality slider applies to everything, not just things I set to use it. PLZ FIX.
Report comment to moderator  
Reply With Quote
Unread 09/09/17, 03:55 AM  
drspoot

Forum posts: 0
File comments: 1
Uploads: 0
Smile Quick Question

I love this little add-on, and I was curious, does the always pick up ornate items override other options?

For example, I would like to think that even if I have every option set to never pick up aside from ornate (which would be set to always pick up) that the add-on would pick up weapons and armor that are ornate, regardless of if the weapons and armor are set to never pick up.

Though I do see the broken logic in all this, so I figured I would come ask! If it doesn't that's totally cool, just curious like I said!
Report comment to moderator  
Reply With Quote
Unread 05/19/17, 04:26 PM  
thisisalsatia

Forum posts: 0
File comments: 3
Uploads: 0
I can see other posts about this, but glyphs always loot for me regardless of their filter.

Would be nice to know if this issue has been resolved, and there's something in particular I need to fix, or if this is something that needs a fix.

Ty for any help, and great mod!
Report comment to moderator  
Reply With Quote
Unread 03/31/17, 03:19 AM  
sh4d0ff

Forum posts: 2
File comments: 2
Uploads: 0
Hi! You addOn is cool, but there is a trouble with containers (like 'Jester Festival Boxes', 'Shipments', Writ reward packs etc). When I loot items from the box, loot window doesn't close and sometimes stuck:

Can you fix it and create an option 'do not auto loot containers'?
Report comment to moderator  
Reply With Quote
Unread 03/23/17, 02:35 AM  
manolaren

Forum posts: 0
File comments: 43
Uploads: 0
Re: Biggest Broken Addon

Originally Posted by Coolio_Wolfus
The reason the other looter addons loot then delete is:
  1. Stop the yellow glow around corpses
  2. Allow crafting nodes to reset *
  3. Allow treasure chests to reset

* The craft nodes and treasure chests will not usually reset unless empty, players taking clothing and alchemy plants but leaving insects means the node sits there with insects left on it and won't reset, once you have a load of players doing this, all the nodes become completely useless.

If at some point ZOS adjusts the nodes to reset even if half looted then this addon will be worth it, until then thanks for ruining the game further.
+1 especially to nodes and chests. Imho it should loot by default all items in the nodes/chests despite filters used by players.
Last edited by manolaren : 03/23/17 at 05:36 AM.
Report comment to moderator  
Reply With Quote
Unread 03/19/17, 01:33 PM  
Coolio_Wolfus

Forum posts: 0
File comments: 28
Uploads: 0
Thumbs down Biggest Broken Addon

The reason the other looter addons loot then delete is:
  1. Stop the yellow glow around corpses
  2. Allow crafting nodes to reset *
  3. Allow treasure chests to reset

* The craft nodes and treasure chests will not usually reset unless empty, players taking clothing and alchemy plants but leaving insects means the node sits there with insects left on it and won't reset, once you have a load of players doing this, all the nodes become completely useless.

If at some point ZOS adjusts the nodes to reset even if half looted then this addon will be worth it, until then thanks for ruining the game further.
Report comment to moderator  
Reply With Quote
Unread 03/03/17, 09:52 AM  
Ashtaris

Forum posts: 0
File comments: 33
Uploads: 0
Filter For Writ Containters

I really like your add-on but I was wondering if you would add a filter for crafting writ containers. Most of the time I want it to auto-loot crafting materials but when I do my crafting writs I would like to see what I'm getting

EDIT: Or another thing you could do is just add a Keybind so that SAL can be easily toggled on/off. That way we could quickly disable it just before we open our writ containers. Would also be handy for other times when you don't need SAL active.

Thanks!
Last edited by Ashtaris : 03/05/17 at 02:19 PM.
Report comment to moderator  
Reply With Quote
Unread 02/28/17, 02:27 AM  
mischamd

Forum posts: 0
File comments: 1
Uploads: 0
hey great addon,

i have a problem. i set glyphs to never loot but it still loots glyphs. is it a bug or did i set something wrong?

greeting
Report comment to moderator  
Reply With Quote
Unread 02/26/17, 04:54 AM  
thenewcomer

Forum posts: 0
File comments: 1
Uploads: 0
Thumbs up theives

so... i steal a lot of stuff and after using this for a few weeks, i started to only want to see links in chat for stolen green and higher items, because those are the only ones worth money. but i still wanted to loot things like lockpicks and crafting materials, and i still wanted to see those white links when im in dungeons or picking up craft nodes, so what can i do? well, since i like reversing things, i decided to try and fit this addon to my needs and made a little change to the loot item function (since thats what prints the links)

Code:
 function SmarterAutoLoot:LootItem(isStolen, link, lootId, quality, quantity)
	LootItemById(lootId)
	
	if (self.db.printItems) then
		if (isStolen) and (quality < self.db.minimumQuality) then
		return false
		else d("You looted "..link)
		end
	end
end
as you can see i added two parameters: "isStolen" and "quality" and made it so it would print everything except for stolen items below the quality threshold. obviously you'll need to change all calls to the function to include these new parameters, but hey it works.

i'm sure this solution isn't very elegant since i have 0 programming experience, but hopefully if anyone else wanted this kind of feature, they can find it here now.
Report comment to moderator  
Reply With Quote
Unread 02/18/17, 05:42 PM  
MoonshinePK
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Re: Re: Re: Re: Re: Re: Loot Filters Intricate and Ornate

hey,

ill try. thx :P

Originally Posted by samyjwv
Hi,

The Glyph filter has always been bugged.

It's fixed on my version, check the changes:
https://github.com/samyjwv/esoAddons...e59ef2cc34ac86



Originally Posted by MoonshinePK
The Fix works, but now i loot every Glyph again, the Glyph filter is gone now XD

its a bit anoying, but funny that one fix bug the other

is it the same at you samy?

Originally Posted by samyjwv
You are right:

Code:
- 296 elseif (itemType == ITEMTYPE_ARMOR) then
+ 296 elseif (itemType == ITEMTYPE_ARMOR and not (isOrnate or isIntricate)) then

- 302 elseif (itemType == ITEMTYPE_WEAPON) then
+ 302 elseif (itemType == ITEMTYPE_WEAPON and not (isOrnate or isIntricate)) then

Originally Posted by MoonshinePK
Originally Posted by samyjwv
Hi,

I find the bug.

Until to the fix you can change this lines:
Code:
298 elseif (itemType == ITEMTYPE_ARMOR and not (isOrnate or isIntricate)) then
304 elseif (itemType == ITEMTYPE_WEAPON and not (isOrnate or isIntricate)) then
tank you
you mean maybe 296 and 302 ?
Report comment to moderator  
Reply With Quote
Unread 02/18/17, 12:28 PM  
samyjwv

Forum posts: 2
File comments: 23
Uploads: 0
Re: Re: Re: Re: Re: Loot Filters Intricate and Ornate

Hi,

The Glyph filter has always been bugged.

It's fixed on my version, check the changes:
https://github.com/samyjwv/esoAddons...e59ef2cc34ac86



Originally Posted by MoonshinePK
The Fix works, but now i loot every Glyph again, the Glyph filter is gone now XD

its a bit anoying, but funny that one fix bug the other

is it the same at you samy?

Originally Posted by samyjwv
You are right:

Code:
- 296 elseif (itemType == ITEMTYPE_ARMOR) then
+ 296 elseif (itemType == ITEMTYPE_ARMOR and not (isOrnate or isIntricate)) then

- 302 elseif (itemType == ITEMTYPE_WEAPON) then
+ 302 elseif (itemType == ITEMTYPE_WEAPON and not (isOrnate or isIntricate)) then

Originally Posted by MoonshinePK
Originally Posted by samyjwv
Hi,

I find the bug.

Until to the fix you can change this lines:
Code:
298 elseif (itemType == ITEMTYPE_ARMOR and not (isOrnate or isIntricate)) then
304 elseif (itemType == ITEMTYPE_WEAPON and not (isOrnate or isIntricate)) then
tank you
you mean maybe 296 and 302 ?
Report comment to moderator  
Reply With Quote
Unread 02/18/17, 09:43 AM  
MoonshinePK
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Re: Re: Re: Re: Loot Filters Intricate and Ornate

The Fix works, but now i loot every Glyph again, the Glyph filter is gone now XD

its a bit anoying, but funny that one fix bug the other

is it the same at you samy?

Originally Posted by samyjwv
You are right:

Code:
- 296 elseif (itemType == ITEMTYPE_ARMOR) then
+ 296 elseif (itemType == ITEMTYPE_ARMOR and not (isOrnate or isIntricate)) then

- 302 elseif (itemType == ITEMTYPE_WEAPON) then
+ 302 elseif (itemType == ITEMTYPE_WEAPON and not (isOrnate or isIntricate)) then

Originally Posted by MoonshinePK
Originally Posted by samyjwv
Hi,

I find the bug.

Until to the fix you can change this lines:
Code:
298 elseif (itemType == ITEMTYPE_ARMOR and not (isOrnate or isIntricate)) then
304 elseif (itemType == ITEMTYPE_WEAPON and not (isOrnate or isIntricate)) then
tank you
you mean maybe 296 and 302 ?
Report comment to moderator  
Reply With Quote
Unread 02/17/17, 07:38 PM  
samyjwv

Forum posts: 2
File comments: 23
Uploads: 0
Wink Re: Re: Re: Loot Filters Intricate and Ornate

You are right:

Code:
- 296 elseif (itemType == ITEMTYPE_ARMOR) then
+ 296 elseif (itemType == ITEMTYPE_ARMOR and not (isOrnate or isIntricate)) then

- 302 elseif (itemType == ITEMTYPE_WEAPON) then
+ 302 elseif (itemType == ITEMTYPE_WEAPON and not (isOrnate or isIntricate)) then

Originally Posted by MoonshinePK
Originally Posted by samyjwv
Hi,

I find the bug.

Until to the fix you can change this lines:
Code:
298 elseif (itemType == ITEMTYPE_ARMOR and not (isOrnate or isIntricate)) then
304 elseif (itemType == ITEMTYPE_WEAPON and not (isOrnate or isIntricate)) then
tank you
you mean maybe 296 and 302 ?
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: