Download
(79 Kb)
Download
Updated: 09/05/18 04:58 PM
Pictures
File Info
Compatibility:
Murkmire (4.2)
Wolfhunter (4.1)
Summerset (4.0)
Dragon Bones (3.3)
Clockwork City (3.2)
Horns of the Reach (3.1)
Morrowind (3.0)
Homestead (2.7)
One Tamriel (2.6)
Shadows of the Hist (2.5)
Dark Brotherhood (2.4)
Thieves Guild (2.3)
Orsinium (2.2.4)
Updated:09/05/18 04:58 PM
Created:04/06/15 01:31 PM
Monthly downloads:165
Total downloads:57,657
Favorites:90
MD5:
Categories:Bags, Bank, Inventory, Mail, Miscellaneous
Advanced AutoLoot Renewed  Popular! (More than 5000 hits)
Version: 1.9.8
by: SilverWF, Mandrakia, TheChessurCat
Originally developed by Mandrakia here and continued by TheChessurCat here
Big thanks to them for all their hard work! I'm really love this addon and can't play without it! So I decided to renew it and share.


This addon allows you to automatically filter your loot, based on your settings and keep only 'good' (for you) items and autojunk 'bad' ones.
There's also a new set of buttons in the mail panel, that will send the content of your inventory to the designated crafters you configured in the settings (except the ornate items, those are for you obviously) or to your friend for mail bouncing. You can't send mails to yourself tho - this is ingame restriction.

Features:
  • Filtering your loot, based on many filters (quality, type, level etc). Note: all filtration happens after looting, not before!
  • Autojunk of unwilling items
  • Integration of Item Saver, FCO Item Saver, Begging the Gear and CraftStore addons filters
  • Keybinds for Autoloot and Autolot stolen
  • Autosell all junk
  • Chat notification on junking, deleting and sending
  • Mail sending to designated crafters with 1 click
  • In-built mail bouncer
  • Suppress delete and return confirmation dialogues


Requirements
This addon requires following libs installed:
LibAddonMenu
LibStub
Download and unzip them just like any another addon to the C:\Users\Name\Documents\Elder Scrolls Online\live\AddOns\ folder or use Minion for installing that addons.


Slash commands
/aaloot - Change state of the ingame 'Auto-loot' option
/aasteal - Change state of the ingame 'Auto-loot stolen' option
/aalset - Open addon settings


How to use:
To configure addon go to addons settings: Press ESC - Settings - Addons - Advanced Autoloot Renewed
To configure keybinds go to controls settings: Press ESC - Controls - Addon Keybinds - Advanced AutoLoot
To enable/disable game autoloot go to ingame settings: Press ESC - Settings - Gameplay - Auto Loot or Auto Loot Stolen Items
To send mails you need to open your mailbox and use specific buttons at the top right corner of the mailbox.


Hints:
If you have some items in the bags and want to keep it, preventing from sending - just lock it (Right click on the item - Lock) or make them bound to you (just wear or convert to Imperial style, if you can).


If you have troubles
1. Try to completely remove whole folder C:\Users\your_name\Documents\Elder Scrolls Online\live\AddOns\AdvancedAutoLoot\ and install addon again - manually! Use 7zip to unzip the file archive
2. Addon does not compatible with most of addons, that have a deal with your loot too, i.e. Dustman, CraftAutoloot etc. It may work, but this is not guaranteed.


For developers
Addon var name is AdvancedAutoLoot
This addon would listen for events EVENT_MAIL_OPEN_MAILBOX, EVENT_MAIL_INBOX_UPDATE, EVENT_MAIL_CLOSE_MAILBOX, EVENT_MAIL_SEND_FAILED, EVENT_OPEN_STORE, EVENT_INVENTORY_SINGLE_SLOT_UPDATE
It changes this official ESO settings in the SETTING_TYPE_LOOT: LOOT_SETTING_AUTO_LOOT and LOOT_SETTING_AUTO_LOOT_STOLEN
It has custom modified official ESO API functions: MAIL_INBOX: Delete() and MAIL_INBOX:Return()
It creates buttons, anchored to group ZO_MainMenuSceneGroupBarButton2
Slash commands, that was used: /aaloot, /aasteal, /aalset


-------------------
You can support my work by sending me some gold if you are at the EU server: @SilverWF or just


-------------------
Changes in 1.9.8:
Attention! This version requires LibAddonMenu and LibStub libraries installed separately!
+ Mail Bouncer: made not optional and always ON.
+ Mail Sender: all sending mails now would contain a list of items sent in the mail body
+ Junker: added option to keep items with researchable traits for current character
+ Junker: integration with CraftStore added. Added option to keep items with researchable traits for selected crafters in the CraftStore
+ Several script corrections

Changes in 1.9.7:
+ Rewrote whole Mail send part. Made several independent functions, instead of one huge monster.
+ Fixed 'Min quality to send' filter (made it actually working)
+ Added Item savers integration to the most mail sender scripts (exclude Glyph and Alchemy senders)
+ Added several filters to some mail sender scripts
~ Fixed most tooltips
- Removed /sendmails slash command (it wasn't worked anyway)
~ Loot filtration: Imperial style now is 'common' (was 'rare' before). Styles Mercenary, Glass, Xivkyn, Yokudan, Draugr, Ra Gada, Ashlander now are 'rare' (was 'exotic' before)

Changes in 1.9.6.1:
~Previously added filters (for set items and jewelry) would ignore items, which level is lower than CP160

Changes in 1.9.6:
+ Added ability to keep any set items
+ Added ability to keep any jewelry

Changes in 1.9.5:
+ Fixed Mail bouncer - now it work in single Mailbox open
+ API bump

Changes in 1.9.4:
+ Delete worthless junk option changed to a slider with 0-100g range (0 would turn destroying to OFF)

Changes in 1.9.3:
- Addon wouldn't junk trophies anymore, because Survey maps are trophies

Changes in 1.9.2:
+ Added possibility to destroy stolen treasures by quality. OFF by default
+ Some code polishing

Changes in 1.9.1:
+ Mail bouncer added. OFF by default
+ Added ability to suppress Delete and Return confirmation dialogues. OFF by default.
+ Added Jewelry send part to the Mail sender
~ Triple reviewed code, added new jewelrycrafting handlers where needed.
~ Code and tooltips polished where needed
- Removed ability to keep Ornate items
- Removed Intricate level filter
- Finally removed Send All task tails

Changes in 1.9.0a:
+ Just updated addon version, that shows ingame. Forgot to do that in last time :)

Changes in 1.9.0:
Added support for item saver addons
+ Item Saver - would keep any marked items, on by default
+ FCO Item Saver - would keep items, protected from being junked or sold (not tested, coz I don't using this addon), on by default
+ Begging the Gear - would keep items, that would match to BTG filters, on by default
+ API ver. bump

Changes in 1.8.9.a:
+ API bumped to ver.020 (HotR ones)

Changes in 1.8.9:
+ Libs updated to newest versions

Changes in 1.8.8:
+ Added possibility to chat announce on junk (optional, ON by default)
+ Added possibility to delete worthless loot (optional, OFF by default)
+ Added unique items saver (always ON)

Changes in 1.8.7:
- Removed autoloot all and autoloot stolen parts completely. Event listeners for loot update too.
+ Added two keybind options to change state of ingame "autoloot" and "autoloot stolen" settings

Changes in 1.8.6:
+ Improved support for keeping styles: it is separated now for Common (OFF by default), Rare and Exotic (both are ON by default)

Changes in 1.8.5:
+ Added support for Account wide settings. OFF by default
+ Added support for sorting stolen items. OFF by default
+ Rewritten item style check. Now any new styles wouldn't be just ignored
+ API version bumped to 019 - current Morrowind API version

Changes in 1.8.4:
+ Several code improvements

Changes in 1.8.3:
+ Added possibility to store any crafted items, unmatter what, ON by default
+ Potions now have separate checkbox (ON by default), but still uses the same CP-lvl filter as Food and Drink.

Changes in 1.8.3:
+ Added support for gems, different for charged and empty, both are ON by default
+ Added support for glyphs, on by default.
+ Added glyphs CP level filter, 150 by default
+ Fixed CP filter for gear
+ Fixed poisons filtration
+ Several code improvements

Changes in 1.8.2:
+ Added potions to the Food and Drinks filter.
+ Added treasures to the always_junk items.
+ Added donation support - use it if you have a will for it and you are PC EU player only!
- Removed LibAddonmenu-1.0 support
+ Fixed LibAddonMenu-2.0 support (it causes troubles with some another addons)

Changes in 1.8.1:
- Removed recipe CP filter, because I hate monstrous scripts.
+ A little autojunk filter and options page improovements.

Changes in 1.8.0:
- Rewritten autojunk part for more stable and fast work.
+ Added function "Autosell junk items". "Off" by default.
+ Added poisons support. Addon would keep it by default.
+ (Beta) Added CP lvl filters for the Intricate items, Recipes, Food and Drinks, Poisons and other items
+ Stolen items would not be autojunked anymore.

Changes in 1.7.1:
- Some code clearance.
+ Added function "Keep rare style items", where "rare" is "Dwemer, Ancient Elf, Imperial, Barbaric, Primal or Daedric". "On" by default.
+ Junked items now wouldn't be sent.
- Removed "Send white items" option, because there is already item rarity filter.

Changes in 1.7.0:
+ Some compatibility with 1.6.5 game version
+ Turned back autoloot option
+ Added "autoloot or not" stolen items option. "Off' by default.

-------------------
Changes in 1.6.1:

Updated API version

Changes in 1.6.0:

Removed loot filtering functionality because there are better add-ons for it.
Changed the name of the runes to match the changes in 1.2.3
Updated to match changes with the API in 1.3.0
Updated API version

Changes in 1.5.1:

Reverted back to 1.5 because I'm an idiot!
Updated API version


Changes in 1.5:

Updated the name auto-complete function to match API changes.
Removed the "Sent X mail" debug message because it was spammy.
Added new debug messages to show in a non-spammy way the add-on's progress.

---------------------------
Changes 1.4 :
Added functionalities

You can know specify to loot or not food/drinks/recipes
You can now choose to send or not Recipes
You can now choose to send or not Enchantment materials
Fixed a bug with Alchemy materials

Changes 1.3 :
Added functionalities

You can now choose to send or not equipment (Wood/Cloth/Metal)
You can now choose to send or not Materials/Raw materials/Boosters
You can now choose the max quality of items to send
You can now choose the minimum of items to be in the mail before sending

Changes 1.2.1 :
Left by error some debugging messages, removed them.
Changes 1.2 :
Mainly cosmetic/ease of use changes this version. Next version will add functionalities

No more /command : You can now click buttons in the mail panel !
AutoComplete in the name fields of the recipients in the settings
Better error handling during the send mail (no more stuck in an endless loop)

Changes 1.1 :

Added autoloot filter for Ingredients and baits
Added mail sending for Provisionning
Added mail sending for Alchemy
Fixed a bug in the auto loot feature (if it didn't work before it should now !)
Optional Files (0)


Archived Files (23)
File Name
Version
Size
Uploader
Date
1.9.7
121kB
SilverWF
08/26/18 03:49 PM
1.9.6-1
120kB
SilverWF
08/13/18 06:14 PM
1.9.6.1
120kB
SilverWF
08/13/18 03:26 PM
1.9.5
120kB
SilverWF
08/07/18 07:18 AM
1.9.4
120kB
SilverWF
07/18/18 06:25 AM
1.9.3
120kB
SilverWF
07/09/18 06:41 PM
1.9.2
120kB
SilverWF
07/07/18 12:32 PM
1.9.1
128kB
SilverWF
06/29/18 10:28 AM
1.9.0a
127kB
SilverWF
06/26/18 10:42 AM
1.9.0
127kB
SilverWF
06/25/18 04:10 PM
1.8.9.a
126kB
SilverWF
08/29/17 02:49 AM
1.8.9
126kB
SilverWF
07/15/17 08:56 AM
1.8.8
124kB
SilverWF
07/09/17 03:23 PM
1.8.7
124kB
SilverWF
07/05/17 01:48 PM
1.8.6
123kB
SilverWF
06/19/17 04:32 AM
1.8.5
123kB
SilverWF
05/30/17 02:15 PM
1.8.4
123kB
SilverWF
05/02/17 12:52 PM
1.8.3
123kB
SilverWF
04/14/17 01:13 PM
1.8.2
123kB
SilverWF
04/07/17 09:53 AM
1.8.1
121kB
SilverWF
04/04/17 05:46 AM
1.8.0
121kB
SilverWF
04/03/17 03:44 PM
1.7.1
118kB
SilverWF
04/13/15 09:45 AM
1.7
118kB
SilverWF
04/06/15 01:31 PM


Post A Reply Comment Options
Unread 04/06/15, 04:38 PM  
Andarne
 
Andarne's Avatar

Forum posts: 8
File comments: 2
Uploads: 0
Post More Filters

Hey SilverWF! Thanks for taking this on.

I'm currently using the addon continued by TheChessurCat, as it was the only version available at the time.

My main use is sending mails containing only mats to my Alts on another account; I have one for Tanins, Alchemy, Metalworking, Woodworking, Clothier, Runes, Traits and Food.

The issue I have is this; I cannot select that Tanins are sent in a separate mail. Nor can I send Traits, either. Glyphs are also an issue, as I prefer to break them down and then send the alt the runes themselves.

Is it possible for you to remedy this?
  • Add a 'Tanin' option for things like Embroidery, Dreugh Wax, etc.
  • Add a 'Trait' option for style materials, weapon traits and armour traits.
  • Add a filter to prevent Glyphs from being sent, only runestones (Denima, Oko, etc.)
Report comment to moderator  
Reply With Quote
Unread 04/06/15, 05:16 PM  
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 349
Uploads: 2
Re: More Filters

Originally Posted by Andarne
Hey SilverWF! Thanks for taking this on.

I'm currently using the addon continued by TheChessurCat, as it was the only version available at the time.

My main use is sending mails containing only mats to my Alts on another account; I have one for Tanins, Alchemy, Metalworking, Woodworking, Clothier, Runes, Traits and Food.

The issue I have is this; I cannot select that Tanins are sent in a separate mail. Nor can I send Traits, either. Glyphs are also an issue, as I prefer to break them down and then send the alt the runes themselves.

Is it possible for you to remedy this?
  • Add a 'Tanin' option for things like Embroidery, Dreugh Wax, etc.
  • Add a 'Trait' option for style materials, weapon traits and armour traits.
  • Add a filter to prevent Glyphs from being sent, only runestones (Denima, Oko, etc.)
Yes, I'm currently thinking about that. A few days already, honestly
But not too much free time for this
Last edited by SilverWF : 04/06/15 at 05:17 PM.
Report comment to moderator  
Reply With Quote
Unread 04/14/15, 06:58 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
thats why i hate players who use this addon - they left worms in the ground and ruining grind of alchemy reagents
they left useless items in the chests and ruining chest-farm, because new chests wont spawn
Last edited by QuadroTony : 04/14/15 at 06:59 AM.
Report comment to moderator  
Reply With Quote
Unread 04/15/15, 06:25 AM  
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 349
Uploads: 2
Originally Posted by QuadroTony
thats why i hate players who use this addon - they left worms in the ground and ruining grind of alchemy reagents
they left useless items in the chests and ruining chest-farm, because new chests wont spawn
This addon do NOT selecting what to loot or what to not. It will loot ALL anyway. Or loot nothing, allowing to user decide - the same as ingame ESO feature.
But thanks for your feedback.

Ох ты и дурачок...
Last edited by SilverWF : 04/15/15 at 06:36 AM.
Report comment to moderator  
Reply With Quote
Unread 05/06/15, 06:24 AM  
chimeraofissus

Forum posts: 0
File comments: 1
Uploads: 0
Request

hi silver

thank you so much for continuing this great project ... i recommend it all the time

i just have one request ... is it possible to add 'junk' as another category of items to be mailed since junk is not mailed automatically yet? that would be a great help since junk is good to sell and therefore it's a nice way to earn some money while questing or grinding and you don't have to leave most of it on the ground when the bp is filled up with it

thank you so much
Last edited by chimeraofissus : 05/06/15 at 07:40 AM.
Report comment to moderator  
Reply With Quote
Unread 05/08/15, 07:59 AM  
Altorian

Forum posts: 1
File comments: 5
Uploads: 0
Can you please add for ItemSaver and FCOItemsaver support
Report comment to moderator  
Reply With Quote
Unread 05/12/15, 12:14 PM  
Altorian

Forum posts: 1
File comments: 5
Uploads: 0
ItemSaver support

Lua Code:
  1. --Is item saved by ItemSaver?
  2. function IsItemSavedByItemSaver(bagId,slotId)
  3.   if not ItemSaver_IsItemSaved then return false end
  4.   if ItemSaver_IsItemSaved(bagId,slotId) ~= nil then
  5.     return true
  6.     else
  7.     return false
  8.   end
  9. end
  10.  
  11. function AdvancedAutoLoot:SendMails()
  12.     if(not self.KeepRunning) then
  13.         return
  14.     end
  15.     local bagSlots = GetBagSize and GetBagSize(BAG_BACKPACK) or select(2, GetBagInfo(BAG_BACKPACK))
  16.     local numSlot = 1
  17.     local canAttach
  18.    -- Sending FOOD items
  19.     local currConfig = self.db.mailSettings.Food
  20.     if(currConfig.Send and not self.SkipFood and (self.TaskRunning == 'ALL' or self.TaskRunning == 'FOOD')) then
  21.         for i=0,bagSlots,1 do
  22.             if IsItemSavedByItemSaver(1,i) == false and (not IsItemJunk(1,i) and (GetItemType(1,i) == ITEMTYPE_INGREDIENT or  (currConfig.SendRecipes and GetItemType(1,i) == ITEMTYPE_RECIPE))) then
  23.                 canAttach = CanQueueItemAttachment(1,i,numSlot)
  24.                 if(canAttach) then
  25.                     QueueItemAttachment(1,i,numSlot)
  26.                     numSlot = numSlot + 1
  27.                     if(numSlot == 7) then
  28.                         SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  29.                         d("Sent 1 mail to "..currConfig.To..", containing 6 FOOD items")
  30.                         numSlot = 1
  31.                         zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  32.                         return
  33.                     end
  34.                 end
  35.             end
  36.         end
  37.         if(numSlot ~= 1) then
  38.             if(numSlot - 1) >= currConfig.MinNumber then
  39.                 SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  40.                 d("Sent 1 mail to "..currConfig.To..", containing ".. numSlot -1 .." FOOD items")
  41.                 numSlot=1
  42.             else
  43.                 ClearQueuedMail()
  44.             end
  45.             self.SkipFood = true
  46.             if(self.TaskRunning == 'ALL') then
  47.                 zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  48.                 return
  49.             end
  50.         end
  51.       d("No more FOOD items to send.")
  52.         if(self.TaskRunning == 'FOOD') then
  53.             self.TaskRunning = nil
  54.             self.BtnFood.Icon:SetTexture([[/AdvancedAutoLoot/Textures/mail_food_up.dds]])
  55.         end
  56.     end
  57.    -- Sending CLOTH items
  58.     currConfig = self.db.mailSettings.Cloth
  59.     if(currConfig.Send and (self.TaskRunning == 'ALL' or self.TaskRunning == 'CLOTH')) then
  60.         for i=0,bagSlots,1 do
  61.             local usedInCraftingType, itemType,extraInfo1,extraInfo2,extraInfo3 = GetItemCraftingInfo(1,i)
  62.             if IsItemSavedByItemSaver(1,i) == false and (not IsItemJunk(1,i) and (not self:IsOrnate(1,i) or currConfig.SendOrnate) and
  63.                 (not self:IsMaterial(1,i) or currConfig.SendMaterials) and
  64.                 (not self:IsRawMaterial(1,i) or currConfig.SendRaw) and
  65.                 (not self:IsBooster(1,i) or currConfig.SendBoosters) and
  66.                 (usedInCraftingType == CRAFTING_TYPE_CLOTHIER or
  67.                     ( currConfig.SendEquipment and self:GetQuality(1,i) <= currConfig.MaxEquipment and GetItemType(1,i) == ITEMTYPE_ARMOR and (self:GetArmorType(1,i) == ARMORTYPE_MEDIUM or self:GetArmorType(1,i) == ARMORTYPE_LIGHT)))) then
  68.                 canAttach = CanQueueItemAttachment(1,i,numSlot)
  69.                 if(canAttach) then
  70.                     QueueItemAttachment(1,i,numSlot)
  71.                     numSlot = numSlot + 1
  72.                     if(numSlot == 7) then
  73.                         SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  74.                         d("Sent 1 mail to "..currConfig.To..", containing 6 CLOTH items")
  75.                         numSlot = 1
  76.                         zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  77.                         return
  78.                     end
  79.                 end
  80.             end
  81.         end
  82.         if(numSlot ~= 1) then
  83.             if(numSlot - 1) >= currConfig.MinNumber then
  84.                 SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  85.                 d("Sent 1 mail to "..currConfig.To..", containing ".. numSlot -1 .." CLOTH items")
  86.                 numSlot=1
  87.             else
  88.                 ClearQueuedMail()
  89.             end
  90.             self.SkipCloth = true
  91.             if(self.TaskRunning == 'ALL') then
  92.                 zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  93.                 return
  94.             end
  95.         end
  96.       d("No more CLOTH items to send.")
  97.         if(self.TaskRunning == 'CLOTH') then
  98.             self.TaskRunning = nil
  99.             self.BtnCloth.Icon:SetTexture([[/AdvancedAutoLoot/Textures/mail_cloth_up.dds]])
  100.         end
  101.    end
  102.    -- Sending GLYPH items
  103.     currConfig = self.db.mailSettings.Glyph
  104.     if(currConfig.Send and (self.TaskRunning == 'ALL' or self.TaskRunning == 'GLYPH')) then
  105.         for i=0,bagSlots,1 do
  106.             local usedInCraftingType, itemType,extraInfo1,extraInfo2,extraInfo3 = GetItemCraftingInfo(1,i)
  107.             if IsItemSavedByItemSaver(1,i) == false and (not IsItemJunk(1,i) and (not self:IsMaterial(1,i) or currConfig.SendMaterials) and
  108.                 (not self:IsBooster(1,i) or currConfig.SendBoosters) and
  109.                 (usedInCraftingType == CRAFTING_TYPE_ENCHANTING)) then
  110.                 canAttach = CanQueueItemAttachment(1,i,numSlot)
  111.                 if(canAttach) then
  112.                     QueueItemAttachment(1,i,numSlot)
  113.                     numSlot = numSlot + 1
  114.                     if(numSlot == 7) then
  115.                         SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  116.                         d("Sent 1 mail to "..currConfig.To..", containing 6 GLYPH items")
  117.                         zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  118.                         return
  119.                     end
  120.                 end
  121.             end
  122.         end
  123.         if(numSlot ~= 1) then
  124.             if(numSlot - 1) >= currConfig.MinNumber then
  125.                 SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  126.                 d("Sent 1 mail to "..currConfig.To..", containing ".. numSlot -1 .." GLYPH items")
  127.                 numSlot=1
  128.             else
  129.                 ClearQueuedMail()
  130.             end
  131.             self.SkipGlyph = true
  132.             if(self.TaskRunning == 'ALL') then
  133.                 zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  134.                 return
  135.             end
  136.         end
  137.       d("No more GLYPH items to send.")
  138.         if(self.TaskRunning == 'GLYPH') then
  139.             self.TaskRunning = nil
  140.             self.BtnGlyph.Icon:SetTexture([[/AdvancedAutoLoot/Textures/mail_glyph_up.dds]])
  141.         end
  142.    end
  143.    -- Sending METAL items
  144.     currConfig = self.db.mailSettings.Metal
  145.     if(currConfig.Send and (self.TaskRunning == 'ALL' or self.TaskRunning == 'METAL')) then
  146.         for i=0,bagSlots,1 do
  147.             local usedInCraftingType, itemType,extraInfo1,extraInfo2,extraInfo3 = GetItemCraftingInfo(1,i)
  148.             if IsItemSavedByItemSaver(1,i) == false and (not IsItemJunk(1,i) and (not self:IsOrnate(1,i) or currConfig.SendOrnate) and
  149.                 (not self:IsMaterial(1,i) or currConfig.SendMaterials) and
  150.                 (not self:IsRawMaterial(1,i) or currConfig.SendRaw) and
  151.                 (not self:IsBooster(1,i) or currConfig.SendBoosters) and
  152.                 (usedInCraftingType == CRAFTING_TYPE_BLACKSMITHING or
  153.                     (currConfig.SendEquipment and self:GetQuality(1,i) <= currConfig.MaxEquipment and  ((GetItemType(1,i) == ITEMTYPE_ARMOR and (self:GetArmorType(1,i) == ARMORTYPE_HEAVY)) or (GetItemType(1,i) == ITEMTYPE_WEAPON and self:GetWeaponType(1,i) ~= WEAPONTYPE_BOW and self:GetWeaponType(1,i) ~= WEAPONTYPE_FIRE_STAFF and self:GetWeaponType(1,i) ~= WEAPONTYPE_SHIELD ))))) then                
  154.                 canAttach = CanQueueItemAttachment(1,i,numSlot)
  155.                 if(canAttach) then
  156.                     QueueItemAttachment(1,i,numSlot)
  157.                     numSlot = numSlot + 1
  158.                     if(numSlot == 7) then
  159.                         SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  160.                         d("Sent 1 mail to "..currConfig.To..", containing 6 METAL items")
  161.                         numSlot = 1
  162.                         zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  163.                         return
  164.                     end
  165.                 end
  166.             end
  167.         end
  168.         if(numSlot ~= 1) then
  169.             if(numSlot - 1) >= currConfig.MinNumber then
  170.                 SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  171.                 d("Sent 1 mail to "..currConfig.To..", containing ".. numSlot -1 .." METAL items")
  172.                 numSlot=1
  173.             else
  174.                 ClearQueuedMail()
  175.             end
  176.             self.SkipMetal = true
  177.             if(self.TaskRunning == 'ALL') then
  178.                 zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  179.                 return
  180.             end
  181.         end
  182.       d("No more METAL items to send.")
  183.         if(self.TaskRunning == 'METAL') then
  184.             self.TaskRunning = nil
  185.             self.BtnMetal.Icon:SetTexture([[/AdvancedAutoLoot/Textures/mail_metal_up.dds]])
  186.         end
  187.     end
  188.    -- Sending WOOD items  
  189.     currConfig = self.db.mailSettings.Wood
  190.     if(currConfig.Send and (self.TaskRunning == 'ALL' or self.TaskRunning == 'WOOD')) then
  191.         for i=0,bagSlots,1 do
  192.             local usedInCraftingType, itemType,extraInfo1,extraInfo2,extraInfo3 = GetItemCraftingInfo(1,i)         
  193.             if IsItemSavedByItemSaver(1,i) == false and (not IsItemJunk(1,i) and (not self:IsOrnate(1,i) or currConfig.SendOrnate) and
  194.                 (not self:IsMaterial(1,i) or currConfig.SendMaterials) and
  195.                 (not self:IsRawMaterial(1,i) or currConfig.SendRaw) and
  196.                 (not self:IsBooster(1,i) or currConfig.SendBoosters) and
  197.                 (usedInCraftingType == CRAFTING_TYPE_WOODWORKING or
  198.                     (currConfig.SendEquipment and self:GetQuality(1,i) <= currConfig.MaxEquipment and (self:GetWeaponType(1,i) == WEAPONTYPE_BOW or self:GetWeaponType(1,i) == WEAPONTYPE_FIRE_STAFF or self:GetWeaponType(1,i) == WEAPONTYPE_SHIELD )))) then  
  199.                 canAttach = CanQueueItemAttachment(1,i,numSlot)
  200.                 if(canAttach) then
  201.                     QueueItemAttachment(1,i,numSlot)
  202.                     numSlot = numSlot + 1
  203.                     if(numSlot == 7) then
  204.                         SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  205.                         d("Sent 1 mail to "..currConfig.To..", containing 6 WOOD items")
  206.                         numSlot = 1
  207.                         zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  208.                         return
  209.                     end
  210.                 end
  211.             end
  212.         end
  213.         if(numSlot ~= 1) then
  214.             if(numSlot - 1) >= currConfig.MinNumber then
  215.                 SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  216.                 d("Sent 1 mail to "..currConfig.To..", containing ".. numSlot -1 .." WOOD items")
  217.                 numSlot=1
  218.             else
  219.                 ClearQueuedMail()
  220.             end
  221.             self.SkipWood = true
  222.             if(self.TaskRunning == 'ALL') then
  223.                 zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  224.                 return
  225.             end
  226.         end
  227.       d("No more WOOD items to send.")      
  228.         if(self.TaskRunning == 'WOOD') then
  229.             self.TaskRunning = nil
  230.             self.BtnWood.Icon:SetTexture([[/AdvancedAutoLoot/Textures/mail_wood_up.dds]])
  231.         end
  232.     end
  233.    -- Sending ALCHEMY items
  234.     currConfig = self.db.mailSettings.Alchemy
  235.     if(currConfig.Send and (self.TaskRunning == 'ALL' or self.TaskRunning == 'ALCHEMY')) then
  236.         for i=0,bagSlots,1 do
  237.             local usedInCraftingType, itemType,extraInfo1,extraInfo2,extraInfo3 = GetItemCraftingInfo(1,i) 
  238.             if IsItemSavedByItemSaver(1,i) == false and (not IsItemJunk(1,i) and usedInCraftingType == CRAFTING_TYPE_ALCHEMY) then
  239.                 canAttach = CanQueueItemAttachment(1,i,numSlot)
  240.                 if(canAttach) then
  241.                     QueueItemAttachment(1,i,numSlot)
  242.                     numSlot = numSlot + 1
  243.                     if(numSlot == 7) then
  244.                         SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  245.                         d("Sent 1 mail to "..currConfig.To..", containing ".. numSlot -1 .." ALCHEMY items")
  246.                         numSlot = 1
  247.                         zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  248.                         return
  249.                     end
  250.                 end
  251.             end
  252.         end
  253.         if(numSlot ~= 1) then
  254.             if(numSlot - 1) >= currConfig.MinNumber then
  255.                 SendMail(currConfig.To,currConfig.Subject,"Thank you!")
  256.                 d("Sent 1 mail to "..currConfig.To..", containing ".. numSlot -1 .." ALCHEMY items")
  257.                 numSlot=1
  258.             else
  259.                 ClearQueuedMail()
  260.             end
  261.             self.SkipAlchemy = true
  262.             if(self.TaskRunning == 'ALL') then
  263.                 zo_callLater(function() ADVANCED_AUTOLOOT:SendMails() end, self.db.delay)
  264.                 return
  265.             end
  266.         end
  267.       d("No more ALCHEMY items to send.")
  268.         if(self.TaskRunning == 'ALCHEMY') then
  269.             self.TaskRunning = nil
  270.             self.BtnAlchemy.Icon:SetTexture([[/AdvancedAutoLoot/Textures/mail_alchemy_up.dds]])
  271.         end
  272.     end
  273.     if(self.TaskRunning == 'ALL') then
  274.         self.TaskRunning = nil
  275.         self.BtnAll.Icon:SetTexture([[/AdvancedAutoLoot/Textures/mail_all_up.dds]])
  276.     end
  277. end

I have a little workaround made ​​so that items can be protected with itemsaver
Last edited by Altorian : 05/12/15 at 01:11 PM.
Report comment to moderator  
Reply With Quote
Unread 08/13/15, 01:11 PM  
Zelow

Forum posts: 0
File comments: 14
Uploads: 0
Does the mail sending feature require a second ESO account?
Report comment to moderator  
Reply With Quote
Unread 03/13/16, 11:50 AM  
Ande85

Forum posts: 2
File comments: 11
Uploads: 0
Addon needs to be updated.

The addon needs to be fixed. The error message I got reads:

user:/AddOns/AdvancedAutoLoot/Libs/LibStub/LibStub.lua:27: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedAutoLoot/Libs/LibStub/LibStub.lua:27: in function 'LibStub:GetLibrary'
user:/AddOns/AdvancedAutoLoot/AdvancedAutoLootConfig.lua:7: in function '(main chunk)'

So far it works it's just that I can no longer change any of the settings without editing the LUA file directly.
Last edited by Ande85 : 03/13/16 at 11:56 AM.
Report comment to moderator  
Reply With Quote
Unread 03/25/16, 01:35 PM  
TGWarlock

Forum posts: 0
File comments: 1
Uploads: 0
Re: Addon needs to be updated.

Originally Posted by Ande85
The addon needs to be fixed. The error message I got reads:

user:/AddOns/AdvancedAutoLoot/Libs/LibStub/LibStub.lua:27: function expected instead of nil
stack traceback:
user:/AddOns/AdvancedAutoLoot/Libs/LibStub/LibStub.lua:27: in function 'LibStub:GetLibrary'
user:/AddOns/AdvancedAutoLoot/AdvancedAutoLootConfig.lua:7: in function '(main chunk)'

So far it works it's just that I can no longer change any of the settings without editing the LUA file directly.
Came here about the same thing. It appears that the author hasn't been on for almost a year. Looks like unless someone else picks it up, this is a dead addon.
Report comment to moderator  
Reply With Quote
Unread 06/15/16, 11:36 AM  
widow0maker

Forum posts: 0
File comments: 3
Uploads: 0
Hey, is it possible to add in the code necessary to get the "All" button working again.

The problem is that after the first (FOOD) send in AdvancedAutoLoot:SendMails(), you don't check for self.SkipXxxx (self.SkipCloth for example). This results in looping since it never makes it past CLOTH.
Report comment to moderator  
Reply With Quote
Unread 04/03/17, 03:56 PM  
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 349
Uploads: 2
Back to life

Hi to all, I've decided to play ESO again, at least a little
So, picked up this addon. Honestly, it has never stopped to work, at least, my old archive was able to do his job in the current game.
Anyway, here is some workaround, that I've been made:
- Rewritten autoloot and autojunk parts for more stable and fast work.
+ Added function "Autosell junk items". "Off" by default.
+ Added all new rare styles support. (Damn, how many of them!)
+ Added poisons support. Addon would keep it by default.
+ (Beta) Added CP lvl filters for the Intricate items, Recipes, Food and Drinks, Poisons and other items
+ Stolen items would not be autojunked anymore.

Known issues:
CP lvl filter for recipes does not working as I want to. Investigating it. Was just removed
Addon is looting item boxes and bags properly, but not closing opened container window. Working on it.

To do:
Need to check and, probably, fix mailsender part. All my guilds are empty now and my friends are left ESO So I need someone with turned on Wykkyd Mailbox addon, who would be so kind to allow me send him test mails with the RETURN signature
I have this addon too and it is always turned on.
Last edited by SilverWF : 04/04/17 at 05:48 AM.
Report comment to moderator  
Reply With Quote
Unread 04/10/17, 11:57 AM  
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 349
Uploads: 2
1st ingame (and overall) donation! Thank you SephirothC

Still missing for mail bouncer partner
Report comment to moderator  
Reply With Quote
Unread 04/10/17, 02:18 PM  
Darkstorne

Forum posts: 0
File comments: 4
Uploads: 0
Thanks for this, the potential is AMAZING!

I can't quite get it working properly for gear though. Maybe I'm doing something wrong? I've tried setting it up to only keep purple gear and better, assuming that would move all other gear to the junk tab. Only jewellery gets auto-junked though. Gear is always looted as normal and never gets junked. I've got the game's autoloot disabled, though consolidate area loot is enabled if that's a problem?

EDIT: I'd also love to auto-junk little things like glyphs and empty soul gems. Is that an option?
Last edited by Darkstorne : 04/10/17 at 02:21 PM.
Report comment to moderator  
Reply With Quote
Unread 04/10/17, 04:16 PM  
SilverWF
 
SilverWF's Avatar
AddOn Author - Click to view AddOns

Forum posts: 55
File comments: 349
Uploads: 2
Originally Posted by Darkstorne
I can't quite get it working properly for gear though. Maybe I'm doing something wrong? I've tried setting it up to only keep purple gear and better, assuming that would move all other gear to the junk tab. Only jewellery gets auto-junked though. Gear is always looted as normal and never gets junked. I've got the game's autoloot disabled, though consolidate area loot is enabled if that's a problem?
Nah, it can't be a problem.
Can you post here prtscrn of your "Autoloot and autojunk" settings?
There is several options of why your items can be stored. I.e. you set quality on 4 (purple) and looted green helmet and it was not get junked. Why:
1. It's min champ points requirements above Cp filter. You set it for 10 (as default) and this item is 160.
2. It is Intricate and you set "keep intricate"
3. It has rare style (i.e. ancient orc) and you set "Keep rare styles"
4. it is ornate and you set "Keep ornate" (but this option is off by default - probably, I would just remove it in the future)
5. It was stolen - stolen items would never be autojunked.

Originally Posted by Darkstorne
EDIT: I'd also love to auto-junk little things like glyphs and empty soul gems. Is that an option?
It is possible, probably in the future updates it would be implemented
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump:

Support AddOn Development!

You have just downloaded by the author . If you like this AddOn why not consider supporting the author? This author has set up a donation account. Donations ensure that authors can continue to develop useful tools for everyone.