Download
(51 Kb)
Download
Updated: 05/23/20 09:22 PM
Pictures
File Info
Compatibility:
Harrowstorm (5.3.5)
Dragonhold (5.2.5)
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:05/23/20 09:22 PM
Created:05/04/20 06:16 PM
Monthly downloads:339
Total downloads:14,545
Favorites:11
MD5:
Advanced Smart Auto Loot  Popular! (More than 5000 hits)
Version: 1.0.2
by: @Archshot [More]
Advanced Smart Auto Loot v1.0

What is it?

- Advanced Smart Auto Loot is just an updated and improved version of Agathorn's Smarter AutoLoot(S.A.L). Since the original addon's page last update was back in 2017 and I noticed some bugs I decided to take a look at the source code to see if I could fix them myself, and maybe even improve some things. As stated at the original addon's page here:http://www.esoui.com/downloads/info1...ootS.A.L..html, the author gave anyone permission to do anything with it as long as they'd give him credit for his work (firstly I intended to update it only for personal use, but the I decided to give it a new name and upload it for anyone who wants to try it out. But enough talking, let's get to what it does and the changes made...)

What does it do?

For those who don't know the original addon, here's a short description from the original's page:

IMPORTANT: THE GAME'S BUILT-IN AUTOLOOT MUST BE TURNED OFF!
===================================================================================================================================================
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:
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
===================================================================================================================================================

The menus interface is still the same as the original addon only added some new options...

1 - Go to Settings->Addons->Advanced Smart AutoLoot and enable it;

General options:

* Enable Advanced Smart AutoLoot - self explanatory;
* Show Item Links - displays looted item links on chat window (only you can see them);
* Close Loot Window - closes loot window after items are looted (even if some of them are not);
* Quality Threshold - general threshold for item quality (1 white, 2 green...)
* Value Threshold - only items with higher value will be looted if set accordingly
* Allow Item Destruction - allows to destroy unlooted items (Enables a X button above loot window, you have to click on it to destroy) -This option doesn't work if Close Loot Window is active
* Allow Stolen items - self explanatory - has to be ON otherwise items filtered as Only stolen won't loot

Filter options: Always loot, Never Loot, Only legal, Only stolen, Per quality threshold, Per value threshold, Per quality and value threshold, Per quality or value threshold

By default all filters are set to Always loot


Changes made from original:

  • Added "Trash" category to filters (foul hide, daedra husk, etc)
    - previously these items where not filtered and auto looted almost all the time.

  • Added "Treasure" category to filters - same case as above;

  • Intricate and ornate items now looted independently of their type. (Also included jewelry which wasn't previously present);
    - Previously ornate and intricate items were bound to their item type, not anymore.
    Eg: If you had set to NEVER LOOT armor AND to ALWAYS LOOT intricate items, when you found an intricate armor piece it would not be looted,
    now it will be looted according only to its own filter, doesn't matter if its a weapon or armor and how weapons or armor filters are configured...

  • Fixed a bug where if you'd set any category filter to "Only legal", these items would never loot;

  • Fixed some issues with Glyphs filtering logic;

  • Changed some item type filtering available options;

  • Added the option to reset all filters to default.


Considerations:
First and foremost, all the credit for the original addon goes to Agathorn. Without his work I would have to create it all from scratch, which would be at least very troublesome since I'm not familiar with lua and the game's api

Changes to be made:
If I get the time to research and learn more about how addons work I'm thinking about adding a hotkey to toggle auto loot ON and OFF without having to access the game's addons menu, maybe have the option to filter crafting materials separately by category (clothing, blacksmithing, enchanting...) and for last, an option to auto loot email attachments. But that's IF I get the time and also the will to do it, sometimes one can get very lazy you know

And for the last, if you have any suggestions or find any bugs please report in the comments section.
1.0 - Initial release

1.0.1 - Fixed minor bug which prevented users from looting coffers and transmutation geodes.

1.0.2 - Re-upload of previous fix (had accidentally deleted a line of code).
Optional Files (0)


Archived Files (2)
File Name
Version
Size
Uploader
Date
1.0.1
51kB
@Archshot
05/23/20 03:54 PM
1.0
51kB
05/04/20 06:16 PM


Post A Reply Comment Options
Unread 11/10/22, 05:24 PM  
davidtk

Forum posts: 0
File comments: 19
Uploads: 0
Can be updated?

It have outdated internal libs. Thats why it don't work.
I found alternative what use external libs and work on the U36.
Last edited by davidtk : 11/11/22 at 02:53 AM.
Report comment to moderator  
Reply With Quote
Unread 03/16/22, 10:56 PM  
Lonewolf_Dennis

Forum posts: 0
File comments: 1
Uploads: 0
Mod doesn't work with the latest Update

The mod no longer works because it is outdated. You can activate it but it doesn't show up in the settings
Report comment to moderator  
Reply With Quote
Unread 10/01/21, 12:26 PM  
Schiffy

Forum posts: 0
File comments: 4
Uploads: 0
Deleted items that shouldn't have been

So the addon seems to have deleted some items that it was supposed to loot when I clicked the X to delete the leftovers. This lost me a bunch (like 20) of Incribed Shards from Zenithar's Abbey that I had already previously picked up along with the one it tried to loot. It might be related to the speed at which I clicked, but this needs to be addressed.
Report comment to moderator  
Reply With Quote
Unread 09/14/21, 10:01 AM  
Fluffiels

Forum posts: 0
File comments: 7
Uploads: 0
hello, first of all i love this addon and i use it a lot. it saves a lot of time and i no longer fall behind in dungeon when players decide to rush bosses.
i did have to edit some code lines to add a setting for picking up runes, fish baits and alchemy materials because i don't want to pick those up at all.
if anyone wants me to show what lines of code i added, let me know.

i am having issues when opening containers and coffers from daily writs or daily undaunted. an empty loot window shows up, but it is stuck on the stuck with no way of closing it. if i walk in any direction it closes the loot window but that's still very annoying. is there a way of checking if the EVENT_LOOT_UPDATED is initiated by a container, so it know to skip the looting?

also, what are your thoughts about account-wide settings?

and lastly, there are a few unrecognized item types like traits and "shipment of cloth/planks/ingots" and such when opening the daily writs containers. the item types are:
45 - traits
18 - shipment of x
67 - jewelry quality upgrade materials
68 - jewelry traits
64 - jewelry materials
i will add these types for myself but i thought it's worth mentioning that jewelries were forgotten in this addon.

this is easily one of my favorite addons, thank you so much for this!
Report comment to moderator  
Reply With Quote
Unread 05/03/21, 07:41 PM  
scorplong

Forum posts: 0
File comments: 1
Uploads: 0
Addon not showing up in settings (plus fix)

I just downloaded the addon and it doesn't show up in settings.

I found the error described here: https://www.esoui.com/forums/showthread.php?t=9240

It is an issue that the code uses LibStub which is deprecated. The fix is described here: https://www.esoui.com/downloads/info7-LibAddonMenu.html

Here is all you have to do if you want to fix it manually:
-Go into your addons folder
-In AdvancedSmartAutoLootSettings.lua, change

Lua Code:
  1. local LAM2 = LibStub( 'LibAddonMenu-2.0' )

to be

Lua Code:
  1. local LAM2 = LibAddonMenu2
Report comment to moderator  
Reply With Quote
Unread 10/29/20, 07:31 PM  
IsJustaGhost
AddOn Author - Click to view AddOns

Forum posts: 37
File comments: 278
Uploads: 23
function for compatibility

I'm adding a new function for my addon that uses EVENT_LOOT_UPDATED for emptying the containers received from turning in writs. I have been having issue with it and have just noticed that it was being caused by S.A.L. I have SmarterAutoLootToggleKey() added to disable S.A.L. during writ turn in.

I just found your update to S.A.L. and you have removed the ability to toggle it's auto-loot off/on from outside the addon. unless I am missing something.

If so, would you add an equivalent to SmarterAutoLootToggleKey() for global use?

It would be best if i could have it check to see if looting is enabled, That way I can make sure not to have it enable it if it is disabled when I need it disabled.

if I could use something like this

Lua Code:
  1. if AdvancedSmarterAutoloot and AdvancedSmarterAutoloot.db.enabled then
  2.      SmarterAutoLootToggleKey()
  3.      -- or something like
  4.      ASALPrivious = AdvancedSmarterAutoloot.db.enabled
  5.      AdvancedSmarterAutoloot.db.enabled = false
  6. end
  7.  
  8.      -- then return it to enabled when the functions are finished with
  9. AdvancedSmarterAutoloot.db.enabled = ASALPrivious
Last edited by IsJustaGhost : 10/29/20 at 07:45 PM.
Report comment to moderator  
Reply With Quote
Unread 09/08/20, 09:34 AM  
racenutalways

Forum posts: 0
File comments: 8
Uploads: 0
need help, it loots armor and weapons and glyphs, even when turning those options off. What am i doing wrong?
Report comment to moderator  
Reply With Quote
Unread 09/02/20, 04:43 PM  
Frompa

Forum posts: 3
File comments: 32
Uploads: 0
Allow Item Desctruction

-Allow Item Desctruction
Should this automatically destroy the items i have chosen not to loot? That's how I read the description. " Should AdvanceSmartAutoLoot be allowed to auto destroy left over items?" I have this enabled with close window yet the left over items are not destoyed.
Last edited by Frompa : 09/02/20 at 04:45 PM.
Report comment to moderator  
Reply With Quote
Unread 06/27/20, 12:07 PM  
Frompa

Forum posts: 3
File comments: 32
Uploads: 0
Originally Posted by jrmngndr
Thanks a lot for this addon, it is really useful. Two things I'd like to see in a future update someday:

1. An option to disable looting for bags/containters like Rewards for the worthy or rewards bags from the daily writs. (This may not even be possible technically, if so I would understand.)

2. A toggle for disabling the startup info showing up in chat.

Keep up the good work!

Option 1 for sure....!!! Right now when I open writ rewards or gunny sacs, etc., they open but don't close the window and return to inventory like everything else. Im left there waiting to hit collect on an empty window in which case the collect keystroke doesn't work. I have to press I to return to my inventory.

I wouldn't mind the option to turn off looting all together for special containers. Sometimes its nice to see what you get and ponder if for a sec.
Last edited by Frompa : 06/27/20 at 12:11 PM.
Report comment to moderator  
Reply With Quote
Unread 06/18/20, 10:17 AM  
jrmngndr

Forum posts: 0
File comments: 2
Uploads: 0
Thanks a lot for this addon, it is really useful. Two things I'd like to see in a future update someday:

1. An option to disable looting for bags/containters like Rewards for the worthy or rewards bags from the daily writs. (This may not even be possible technically, if so I would understand.)

2. A toggle for disabling the startup info showing up in chat.

Keep up the good work!
Last edited by jrmngndr : 06/18/20 at 10:18 AM.
Report comment to moderator  
Reply With Quote
Unread 06/15/20, 05:26 AM  
@Archshot
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Re: Uncracked transmutation geode wont open

Originally Posted by jagerbabe36
Been having to turn off this add on just to open the daily pledge pouches some reason wont open at all even if i click on it, right click nothing working. I saw someone else had this problem and downloaded it again to see if works but same issue. All but that I love this add on tysm ^~^
Sorry for the late response, haven't logged in here in a few days. But regarding your problem, this should have been fixed already, check your addon version and see if it's 1.0.2 If it's not, try to update it and verify if the problem still persists, and if so, please let me know so I can take a look into it.
Report comment to moderator  
Reply With Quote
Unread 06/06/20, 07:04 PM  
jagerbabe36

Forum posts: 0
File comments: 5
Uploads: 0
Uncracked transmutation geode wont open

Been having to turn off this add on just to open the daily pledge pouches some reason wont open at all even if i click on it, right click nothing working. I saw someone else had this problem and downloaded it again to see if works but same issue. All but that I love this add on tysm ^~^
Report comment to moderator  
Reply With Quote
Unread 05/24/20, 02:57 PM  
@Archshot
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Re: not looting gold

Originally Posted by goalie
Am I missing an option? The mod seems to leave gold on mobs. I'm currently having to loot it in the window that is left open.
No, you're not missing an option friend. Gold loots automatically no matter what. What happened was that when I corrected a previous bug I accidentally deleted the part that loots gold from the source code, but I already fixed it, so just upload your version to 1.0.2 and you should be fine.
Report comment to moderator  
Reply With Quote
Unread 05/24/20, 10:25 AM  
goalie

Forum posts: 0
File comments: 1
Uploads: 0
not looting gold

Am I missing an option? The mod seems to leave gold on mobs. I'm currently having to loot it in the window that is left open.
Report comment to moderator  
Reply With Quote
Unread 05/23/20, 04:00 PM  
@Archshot
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 4
Uploads: 1
Re: Looting Coffers & Transmute Crystal Issue

Originally Posted by Squirell_Ahh
I am having an issue with looting coffers and transmute crystals since installing this. I can open them, but when I hit r to take all, nothing happens and the coffer or transmute geode stays in my inventory. I even checked and I only have 62 transmute crystals in my inventory at the moment.
Thanks for reporting it, I hadn't noticed that. I fixed it and uploaded it just now.
Since I only had transmutation geodes in my inventory I wasn't able to test with another container types, so if you still encounter issues please, feel free to report back.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: