Download
(2 Kb)
Download
Updated: 01/17/24 09:23 AM
Pictures
File Info
Compatibility:
Endless Archive (9.2.5)
Updated:01/17/24 09:23 AM
Created:03/15/15 01:15 PM
Monthly downloads:635
Total downloads:112,195
Favorites:184
MD5:
Categories:TradeSkill Mods, Bags, Bank, Inventory
CraftAutoLoot  Popular! (More than 5000 hits)
Version: 1.23
by: Sharlikran, Jhenox, MoonshinePK
This addon is for the English client only but I welcome anyone to add in the necessary strings for other languages.

This is a very simple add-on that automatically turns on autoloot when your target is a crafting node such as wood, ore, plants, herbs, glyphs, water, fishing node, or other crafting related container and turns it off if it is anything else.

I enjoy crafting so I have to pick up a lot of ingredients but I don't want endless amounts of junk from tables and containers so I put together CraftAutoLoot. I have been using this for a while now with no problems so now I would like to share. Please, enjoy and I hope you like it.


Beloved and Updated by Moony
1.22 2024-01-17: API Bump

1.22 2022-07-31: Pre PTS Version

1.21 2022-04-18: Pre PTS Version

1.20 2021-05-18: API Bump

1.18 2020-11-02: Updated API for Markarth.

1.17 2020-08-24: Updated API for Stonethorn.

1.16 2020-05-08: Updated API for Greymoor.

1.15 2020-02-16: Updated API for Harrowstorm.

1.14 2019-08-12: API bump for Scalebreaker.

1.13 2019-04-15: API bump for Elsweyr.

1.12 2019-03-01:
1. Updated version in CraftAutoLoot.txt.
2. Fixed folder structure in the zip file.

1.11 2019-03-01:
1. Moonshine: API bump for Wrathstone.
2. Moonshine: Corrected and tested. Thank you, Moonshine!

1.10 2018-10-22: API bump for Murkmire.

1.9 2018-08-09 API bump for Wolfhunter.

1.8 2018-05-21 API bump for Summerset.

1.7 2018-02-12 API bump for Dragon Bones DLC.

1.6 2017-10-03 API bump for Clockwork City.

1.5 5.9.2017
API & Version Update for Horns of the Reach by Moony *greets* :P

1.4 2017-05-21
Updated API and version for release of Morrowind.

1.3.2: API bump.

1.3.1: Added Heavy Crate to list of containers.

1.3: Added other container types that are almost always crafting related. Thank you, Thirn and Martan. API bump.

1.2.8: Updated API version for Update 12: One Tamriel.

1.2.7: Removed outdated API versions so it doesn't show as out-of-date in the in-game UI for Update 11: Shadows of the Hist.

1.2.6: Updated API version for Update 11: Shadows of the Hist.

1.2.5: Updated API Version for Dark Brotherhood.

1.2.4: Added string to auto loot when fishing.

1.2.3: Updated API Version for Thieves Guild.
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.3.3
1kB
08/02/16 10:23 AM
Addon


Archived Files (33)
File Name
Version
Size
Uploader
Date
1.22
2kB
Sharlikran
07/31/22 12:09 PM
1.21
2kB
Sharlikran
04/18/22 10:54 AM
1.20
1kB
Sharlikran
05/18/21 03:00 AM
1.18
1kB
Jhenox
11/02/20 12:10 PM
1.17
1kB
Jhenox
08/24/20 09:56 AM
1.16
1kB
Jhenox
05/08/20 11:06 AM
1.15
1kB
Jhenox
02/16/20 07:13 PM
1.14
1kB
Jhenox
08/12/19 08:45 PM
1.13
1kB
Jhenox
04/15/19 07:04 PM
1.12
1kB
Jhenox
03/01/19 03:05 PM
1.11
1kB
MoonshinePK
03/01/19 12:30 PM
1.10
1kB
Jhenox
10/22/18 06:33 PM
1.9
1kB
Jhenox
08/09/18 11:38 AM
1.8
1kB
Jhenox
05/21/18 05:52 PM
1.7
1kB
Jhenox
02/12/18 12:22 PM
1.6
1kB
Jhenox
10/03/17 10:37 AM
1.5
1kB
MoonshinePK
09/05/17 11:35 AM
1.4
1kB
Jhenox
05/21/17 10:26 PM
1.3.2
1kB
Jhenox
02/06/17 07:26 AM
1.3.1
1kB
Jhenox
01/30/17 10:37 PM
1.3
1kB
Jhenox
01/29/17 05:49 PM
1.2.8
1kB
Jhenox
10/05/16 05:48 AM
1.2.7
1kB
Jhenox
08/01/16 06:13 PM
1.2.6
1kB
Jhenox
07/18/16 12:47 AM
1.2.5
1kB
Jhenox
05/02/16 02:21 PM
1.2.4
1kB
Jhenox
05/01/16 04:50 PM
1.2.3
1kB
Jhenox
03/06/16 11:51 PM
1.2.2
1kB
Jhenox
11/02/15 01:40 PM
1.2.1
1kB
Jhenox
08/31/15 08:04 PM
1.2.0
1kB
Jhenox
05/28/15 11:36 AM
1.1.0
1kB
Jhenox
05/24/15 03:13 PM
1.0.1
2kB
Jhenox
03/17/15 07:53 PM
1.0
827B
Jhenox
03/15/15 01:15 PM


Post A Reply Comment Options
Unread 07/23/22, 08:22 PM  
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view AddOns

Forum posts: 626
File comments: 2003
Uploads: 15
@Moosetrax

The mod is so simple it doesn't even have a type for loot so there is nothing I can do. Nothing in the code would control that. Meaning if the original author specified white items maybe I could have told you what the criteria is. Please review the list of valid objects the mod covers. That's all it controls. So if what you are looting is not one of those things then it is the game's decision or a 3rd party mod you have running in addition to this mod.
Report comment to moderator  
Reply With Quote
Unread 07/23/22, 07:52 AM  
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view AddOns

Forum posts: 626
File comments: 2003
Uploads: 15
Originally Posted by Moosetrax
I noticed recently that sometimes this addon autoloots white level items like armor and weapons, also it will autoloot vendor items sometimes like gears that can only be sold to vendors. It does doesn't do either of these things consistently. Is this a bug, or is there some setting I haven't set up properly?
I am not the original author so I would have to look, but like the previous question, most likely it's working as intended. What that would mean is that the game has item types and as long as the type matches then the action will take place. If that is the case then I can't do anything because the game is returning the item type. I don't know yet what the criteria is, I'll take a look.
Last edited by Sharlikran : 07/23/22 at 07:53 AM.
Report comment to moderator  
Reply With Quote
Unread 07/22/22, 07:19 PM  
Moosetrax
AddOn Author - Click to view AddOns

Forum posts: 8
File comments: 120
Uploads: 1
I noticed recently that sometimes this addon autoloots white level items like armor and weapons, also it will autoloot vendor items sometimes like gears that can only be sold to vendors. It does doesn't do either of these things consistently. Is this a bug, or is there some setting I haven't set up properly?
Last edited by Moosetrax : 07/22/22 at 11:21 PM.
Report comment to moderator  
Reply With Quote
Unread 06/24/22, 05:43 AM  
Augmenti-DeMontia

Forum posts: 32
File comments: 213
Uploads: 0
No worries, thanks for the reply. I might be thinking how AutoLoot works in Skyrim and Fallout 4 modding.
Report comment to moderator  
Reply With Quote
Unread 06/23/22, 06:47 PM  
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view AddOns

Forum posts: 626
File comments: 2003
Uploads: 15
Originally Posted by Augmenti-DeMontia
Thanks for the work on this mod!

I'm probably doing something wrong but I didn't see any dependencies.
I can see it checked active in the Add-ons but when I check Settings\Addon in game, don't see the mod.
I'm off my mount (not sure if that matters), walking near "water hyacinth" and nothing happens.
I can pick it manually but otherwise not AutoLooting.

Thanks for any help.
I do not know how to reword the description page but I looked at the original code by Jhenox and that's not what the mod does. So I'm going to leave things they way they are. I can't say when but if I can find a way to word it I will try to change the description page at some point. Look at the code below and you will see what the mod covers.
Last edited by Sharlikran : 06/23/22 at 06:50 PM.
Report comment to moderator  
Reply With Quote
Unread 06/23/22, 09:05 AM  
Augmenti-DeMontia

Forum posts: 32
File comments: 213
Uploads: 0
Thanks for the work on this mod!

I'm probably doing something wrong but I didn't see any dependencies.
I can see it checked active in the Add-ons but when I check Settings\Addon in game, don't see the mod.
I'm off my mount (not sure if that matters), walking near "water hyacinth" and nothing happens.
I can pick it manually but otherwise not AutoLooting.

Thanks for any help.
Last edited by Augmenti-DeMontia : 06/23/22 at 09:06 AM.
Report comment to moderator  
Reply With Quote
Unread 05/18/21, 10:48 AM  
Sharlikran
 
Sharlikran's Avatar
AddOn Author - Click to view AddOns

Forum posts: 626
File comments: 2003
Uploads: 15
Oh yeah I don't mind making some changes I'll take a look but some of that information I don't exactly know how to use it so I may not make the change right away because I'm still trying to work on Master Merchant.
Last edited by Sharlikran : 05/18/21 at 10:49 AM.
Report comment to moderator  
Reply With Quote
Unread 05/18/21, 03:48 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Just an idea and not tested yet:
You maybe may strip the String checks for the actions and containers f you use the interactionType returned by GetInteractionType instead!

Lua Code:
  1. local interactionType = GetInteractionType()
  2.  if interactionType == INTERACTION_HARVEST then
  3.   --harvesting node, maybe also some containers
  4.  end


Would make it multi language supported and maybe faster than the String comparisons of the actions. Not sure though if this will also work for the containers, or if they return another INTERACTION_* type and still need a String comparison to only allow these kind of containers.

Else please at least do the hasmap table that DewiMorgan suggested to speed up the container/action String comparisons.
It's much faster than the whole if else stuff, and easier to read + translate as well!

Lua Code:
  1. local searchAction = "Search"
  2. local isAction = {
  3.     ["Mine"]        = true,
  4.     ["Collect"]     = true,
  5.     ["Cut"]         = true,
  6.     ["Reel In"]     = true,
  7. }
  8. local isLootable = {
  9.     ["Apple Basket"]   = true,
  10.     ["Apple Crate"]    = true,
  11.     ["Apples"]         = true,
  12.     ["Backpack"]       = true,
  13.     ["Bookshelf"]      = true,
  14.     ["Barrel"]         = true,
  15.     ["Barrels"]        = true,
  16.     ["Basket"]         = true,
  17.     ["Cabinet"]        = true,
  18.     ["Cauldron"]       = true,
  19.     ["Cupboard"]       = true,
  20.     ["Corn Basket"]    = true,
  21.     ["Crate"]          = true,
  22.     ["Crates"]         = true,
  23.     ["Desk"]           = true,
  24.     ["Drawers"]        = true,
  25.     ["Dresser"]        = true,
  26.     ["Flour Sack"]     = true,
  27.     ["Greens Basket"]  = true,
  28.     ["Heavy Crate"]    = true,
  29.     ["Heavy Sack"]     = true,
  30.     ["Jewelry Box"]    = true,
  31.     ["Keg"]            = true,
  32.     ["Melon Basket"]   = true,
  33.     ["Millet Basket"]  = true,
  34.     ["Nightstand"]     = true,
  35.     ["Pumpkin Basket"] = true,
  36.     ["Rack"]           = true,
  37.     ["Sack"]           = true,
  38.     ["Saltrice Sack"]  = true,
  39.     ["Seasoning Sack"] = true,
  40.     ["Tomato Crate"]   = true,
  41.     ["Trunk"]          = true,
  42.     ["Urn"]            = true,
  43.     ["Wardrobe"]       = true,
  44. }
  45. if isAction[action] or ((isLootable[container]) and action == searchAction) then
Last edited by Baertram : 05/18/21 at 03:52 AM.
Report comment to moderator  
Reply With Quote
Unread 03/08/21, 12:48 PM  
xen32
AddOn Author - Click to view AddOns

Forum posts: 3
File comments: 104
Uploads: 1
Hey!

It doesn't seem to work after recent update (outdated checkmark is checked)

Edit: Uhh nevermind, for some reason it turned into DE version? I re-downloaded and it it fine.
Last edited by xen32 : 03/21/21 at 02:03 PM.
Report comment to moderator  
Reply With Quote
Unread 12/28/20, 12:10 AM  
DewiMorgan
 
DewiMorgan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 14
File comments: 81
Uploads: 1
String compares are pretty fast, but they do eventually mount up. You might want to consider a hashmap for extra speed:

Code:
local isLootable = {
    ["Apple Basket"]   = true,
    ["Apple Crate"]    = true,
    ["Apples"]         = true,
    ["Backpack"]       = true,
    ["Bookshelf"]      = true,
    ["Barrel"]         = true,
    ["Barrels"]        = true,
    ["Basket"]         = true,
    ["Cabinet"]        = true,
    ["Cauldron"]       = true,
    ["Cupboard"]       = true,
    ["Corn Basket"]    = true,
    ["Crate"]          = true,
    ["Crates"]         = true,
    ["Desk"]           = true,
    ["Drawers"]        = true,
    ["Dresser"]        = true,
    ["Flour Sack"]     = true,
    ["Greens Basket"]  = true,
    ["Heavy Crate"]    = true,
    ["Heavy Sack"]     = true,
    ["Jewelry Box"]    = true,
    ["Keg"]            = true,
    ["Melon Basket"]   = true,
    ["Millet Basket"]  = true,
    ["Nightstand"]     = true,
    ["Pumpkin Basket"] = true,
    ["Rack"]           = true,
    ["Sack"]           = true,
    ["Saltrice Sack"]  = true,
    ["Seasoning Sack"] = true,
    ["Tomato Crate"]   = true,
    ["Trunk"]          = true,
    ["Urn"]            = true,
    ["Wardrobe"]       = true,
}
if action == "Mine" or action == "Collect" or action == "Cut" or action == "Reel In" or ((isLootable[container]) and action == "Search") then
I'm doing something similar in my own LimitTickets addon, for an allow-list of items to loot
You'll likely want to edit the item list I have there, I've got stuff not relevant to you, like Bookcase.
Last edited by DewiMorgan : 12/28/20 at 03:25 AM.
Report comment to moderator  
Reply With Quote
Unread 03/03/19, 02:21 AM  
MoonshinePK
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
Re: Re: updated, works

Originally Posted by FromShadow
Originally Posted by MoonshinePK
Hey folks,

i updated it for wrathstone, works as intended (tested it)

greets
Yes, but only if use english localization
if you are german, use this
https://www.esoui.com/downloads/info...oneUpdate.html

other languages hmm ^^
Report comment to moderator  
Reply With Quote
Unread 03/02/19, 04:22 PM  
FromShadow
 
FromShadow's Avatar

Forum posts: 0
File comments: 13
Uploads: 0
Re: updated, works

Originally Posted by MoonshinePK
Hey folks,

i updated it for wrathstone, works as intended (tested it)

greets
Yes, but only if use english localization
Report comment to moderator  
Reply With Quote
Unread 03/01/19, 03:19 PM  
MoonshinePK
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
:P ok ok
Report comment to moderator  
Reply With Quote
Unread 03/01/19, 03:10 PM  
Jhenox
 
Jhenox's Avatar
AddOn Author - Click to view AddOns

Forum posts: 42
File comments: 392
Uploads: 6
Re: updated, works

Thank you, Moonshine! I think the folder structure in the zip might have been off so I updated the version in the txt file and uploaded it again.

Originally Posted by MoonshinePK
Hey folks,

i updated it for wrathstone, works as intended (tested it)

greets
Report comment to moderator  
Reply With Quote
Unread 03/01/19, 12:40 PM  
MoonshinePK
AddOn Author - Click to view AddOns

Forum posts: 0
File comments: 10
Uploads: 1
updated, works

Hey folks,

i updated it for wrathstone, works as intended (tested it)

greets
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: