Download
(18 Kb)
Download
Updated: 10/30/21 10:47 AM
Pictures
File Info
Compatibility:
Deadlands (7.2.5)
Waking Flame (7.1.5)
Updated:10/30/21 10:47 AM
Created:05/17/19 09:41 PM
Monthly downloads:4,060
Total downloads:473,296
Favorites:157
MD5:
LibLootSummary  Popular! (More than 5000 hits)
Version: 3.1.3
by: silvereyes [More]
PSA: silvereyes is no longer playing ESO, so this addon is looking for a new maintainer. Please reach out to Dolby via PM if you want to take ownership of this addon.

This library is intended to simplify outputting summaries of loot to ESO chat

See https://github.com/silvereyes333/LibLootSummary for full usage instructions with examples.
PSA: silvereyes is no longer playing ESO, so this addon is looking for a new maintainer. Please reach out to Dolby via PM if you want to take ownership of this addon.

Version 3.1.3
- Update 32 Deadlands compatibility
- This version is compatible with both PTS (Deadlands) and live (Waking Flame)

Version 3.1.2
- Update 31 Waking Flame compatibility

Version 3.1.1
- Update 30 Blackwood compatibility
- This version is compatible with both live (Flames of Ambition) and PTS (Blackwood)

Version 3.1.0

NEW FEATURES
-----------------
- New option: showCounter. Causes a count of how many increments were called while building the loot summary.
- New function: SetCounterText("text"). Accepts a singular noun describing the increment displayed when showCounter is true.
- New function: IncrementCounter(). Marks that all items added to the list since the last time Print() or IncrementCounter() call all belong to the same loot event.

BUGFIXES
-----------
- Fix for currency randomly not appearing in the summary
- Fixes some items randomly appearing on their own lines in chat, separate from the main summary.


Version 3.0.1
- Fix for occasional "Bad Argument #1 to ipairs" error

Version 3.0.0

NEW FEATURES
-----------------
- Update 29 Flames of Ambition compatibility
- This version is compatible with both live (Markarth) and PTS (Flames of Ambition)
- Improved German translations. Thanks Scootworks!
- Improved Russian translation. Thanks Friday_The13_rus!
- New option: Show Uncollected Item Set Icons
+ LibLootSummary.List:SetShowNotCollected(true/false)
+ Displays icons to the right of item names if their set pieces are not collected.
+ Many thanks to Scootworks for this contribution!
- LAM2 controls added for existing options
+ Combine Repeated Items / LibLootSummary.List:SetCombineDuplicates(true/false)
+ Sort Order / LibLootSummary.List:SetSorted(true/false), LibLootSummary.List:SetSortedByQuality(true/false)
+ List Delimiter / LibLootSummary.List:SetDelimiter(string),
+ Link Style / LibLootSummary.List:SetLinkStyle(default/with brackets)
- New getter and setter functions:
+ LibLootSummary.List:GetOption(optionName)
+ LibLootSummary.List:SetOption(optionName, value)
- Calling SetOptions(options) is no longer required if you are using GenerateLam2LootOptions()
+ Pass chat, prefix and suffix parameters in to the constructor to set them all at once,
or call them via their respective setter functions (e.g. UseLibChatMessage(), SetPrefix(), SetSuffix())
- LibSavedVars compatibility
+ Note, there is a slight change to the parameters needed when using LibSavedVars
+ Use :GenerateLam2LootOptions(addon.name, addon.settings, addon.defaults, 'lootSummary')
instead of :GenerateLam2LootOptions(addon.name, addon.settings.lootSummary, addon.defaults.lootSummary)
- Performance and memory usage improvements (Thanks again to Scootworks!)

BREAKING CHANGES
----------------------
- Referencing options directly (e.g. myList.iconStyle) is no longer supported. You must use the getter and setter functions: GetOption('optionName'), SetOption('optionName', optionValue) or Set<OptionName>(value) (e.g. SetIconStyle(value))
- Passing chat, prefix and suffix parameters to :SetOptions() is no longer supported. Pass them in the constructor instead.

BUGFIXES
----------
- Fix bug with options not reflecting their saved vars values if no defaults for them are set

Version 2.2.3
- Update 28 Markarth compatibility

Version 2.2.2
- Update 27 Stonethorn compatibility
- This version is compatible with both live (Greymoor) and PTS (Stonethorn)

Version 2.2.1
- Fix inconsistency where SetOptions() expected the fields "showIcon" and "showTrait", but GenerateLam2ItemOptions() and GenerateLam2LootOptions() expected the fields "icons" and "traits"
- You can now use either "showIcon" or "icons", "showTrait" or "traits" in any of these functions, for both values and defaults

Version 2.2.0
- New method SetIconSize() to adjust icon sizes output to chat
- No longer require passing all settings defaults to GenerateLam2ItemOptions() and GenerateLam2LootOptions()
- Slightly more efficient chat Print() function when not using LibChatMessage

Version 2.1.0
- Update 26 Greymoor compatibility
- This version is compatible with both live (Harrowstorm) and PTS (Greymoor)

Version 2.0.0
- Deprecated old global wrapper functions. You should now only interact with the LibLootSummary.List class returned by LibLootSummary:New()
- Created the shortcut function LibLootSummary() to create a new list instance.
- Constructor now takes an options table that allows initializing all fields right in the constructor.
+ e.g. local summary = LibLootSummary({ enabled = true, showIcon = true, showTrait = true, sortedByQuality = true })
- Changed currency display to include currency names by default, and only add icons if configured.
- New function SetEnabled(enabled) disables/enables the list
- New function SetOptions(options, defaults) can set a whole table of options at a time and fallback to default values.
- New function SetSortedByQuality(true) to sort loot lists by quality first and then alphabetically
- New function SetHideSingularQuantities(true) hides x1 quantities from printing to chat
- New function GenerateLam2ItemOptions(addonName, savedVarChildTable, defaults) that generates LibAddonMenu2-compatible control configurations automatically bound to the list configuration.
+ Includes translations for EN, DE, FR, JP and RU
+ Thanks to Scootworks for the DE translations!
- New function GenerateLam2LootOptions(addonName, savedVarChildTable, defaults) that generates LibAddonMenu2-compatible control configurations automatically bound to the list configuration.
+ The only difference with this function is that the options and tooltips use the term "Loot" instead of "Items"
- New function UseLibChatMessage(chat) to use an LCM chat proxy for printing instead of the normal d() statement.
+ Using LibChatMessage is highly recommended if enabling icon displays, because it allows many more items to be added to a single line

Version 1.2.1
- Multibyte character support
- Fixed readme typos

Version 1.2.0
- New function SetMinQuality(itemQuality) filters summary to include only items of a minimum quality.
- New function SetShowIcon(true) displays item icons to the left of item names in summary
- New function SetShowTrait(true) displays item trait names to the right of item names in summary

Version 1.1.1
- New method: LibLootSummary:SetSorted(true) to auto sort summaries alphabetically
- Add scope overrides to allow multiple summaries to be built simultaneously
- Add new class LibLootSummary.List that acts as a private instance of LibLootSummary for your addon.
- Update 24 Dragonhold API bump

Version 1.0.1
- API bump for Update 23 Scalebreaker
- This version is compatible with both Update 22 Elsweyr and Update 23 Scalebreaker

Version 1.0.0
- Initial release
Optional Files (0)


Archived Files (17)
File Name
Version
Size
Uploader
Date
3.1.2
18kB
silvereyes
08/23/21 07:48 AM
3.1.1
18kB
silvereyes
05/30/21 08:29 PM
3.1.0
18kB
silvereyes
04/11/21 08:47 PM
3.0.1
17kB
silvereyes
03/23/21 03:50 PM
3.0.0
17kB
silvereyes
02/14/21 10:20 PM
2.2.3
13kB
silvereyes
11/02/20 02:25 PM
2.2.2
13kB
silvereyes
08/18/20 10:02 PM
2.2.1
13kB
silvereyes
05/25/20 05:15 PM
2.2.0
13kB
silvereyes
05/13/20 12:16 AM
2.1.0
12kB
silvereyes
04/22/20 03:26 PM
2.1.0
12kB
silvereyes
11/10/19 04:13 PM
1.2.1
5kB
silvereyes
10/29/19 02:59 AM
1.2.1
5kB
silvereyes
10/28/19 09:53 PM
1.2.0
5kB
silvereyes
10/28/19 09:29 PM
1.1.1
4kB
silvereyes
10/21/19 12:09 PM
1.0.1
4kB
silvereyes
07/27/19 08:37 AM
1.0.0
4kB
05/17/19 09:41 PM


Post A Reply Comment Options
Unread 11/10/19, 08:17 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 384
Uploads: 17
Originally Posted by BigM
After today's update I get this error with Postmaster.
Sorry about that. I got pulled away right after I published that. Postmaster has a new version that was supposed to be published at the same time.

The new version of Postmaster I just released should be fully compatible.
Report comment to moderator  
Reply With Quote
Unread 11/10/19, 06:15 PM  
BigM
 
BigM's Avatar

Forum posts: 16
File comments: 371
Uploads: 0
After today's update I get this error with Postmaster.

user:/AddOns/Postmaster/Postmaster.lua:559: function expected instead of nil
stack traceback:
user:/AddOns/Postmaster/Postmaster.lua:559: in function 'Postmaster.PrintAttachmentSummary'
|caaaaaa<Locals> attachmentData = [table:1]{money = 233, cod = 0}, self = [table:2]{name = "Postmaster", debugMode = F, returning = F, inboxUpdated = F, mailIdLastOpened = 8.4581888147298e-315, prefix = "PM ", takingAll = F, version = "3.9.2", author = "silvereyes, Garkin & Zierk", taking = T, suffix = "", title = "Postmaster"}, summary = "" </Locals>|r
user:/AddOns/Postmaster/Postmaster.lua:602: in function 'Postmaster:RequestMailDelete'
|caaaaaa<Locals> self = [table:2], mailId = 8.4581888147298e-315, mailIdString = 1711956475 </Locals>|r
user:/AddOns/Postmaster/Postmaster.lua:1488: in function 'Postmaster.Event_MailTakeAttachedMoneySuccess'
|caaaaaa<Locals> eventCode = 131448, mailId = 8.4581888147298e-315, self = [table:2] </Locals>|r
Report comment to moderator  
Reply With Quote
Unread 10/29/19, 03:01 AM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 384
Uploads: 17
Sorry for the confusion folks. The package should be fixed now.
Report comment to moderator  
Reply With Quote
Unread 10/29/19, 02:03 AM  
Akopian Atrebates

Forum posts: 9
File comments: 230
Uploads: 0
Re: Latest update broke Postmaster

Had the same problem. All apps referring to liblootsummary were not working and the library could not be found int he addon list. Taking the version number off made it work again, just as Spinality suggested.



Originally Posted by spinality
Renaming the directory "LibLootSummary" allowed Postmaster to start working again. I'm not sure who's to blame here, but the version number added to the default installation directory disabled this addon.
Report comment to moderator  
Reply With Quote
Unread 10/29/19, 12:44 AM  
spinality

Forum posts: 7
File comments: 79
Uploads: 0
Latest update broke Postmaster

Renaming the directory "LibLootSummary" allowed Postmaster to start working again. I'm not sure who's to blame here, but the version number added to the default installation directory disabled this addon.
Report comment to moderator  
Reply With Quote
Unread 10/28/19, 09:34 PM  
silvereyes
 
silvereyes's Avatar
AddOn Author - Click to view AddOns

Forum posts: 66
File comments: 384
Uploads: 17
Re: request

Originally Posted by Scootworks
two functions to make an item prefix and item suffix
for example: prefix should be the item icon and suffix should be the item trait: „icon [itemName] (infused)“
This is now supported in version 1.2.0
Report comment to moderator  
Reply With Quote
Unread 10/22/19, 11:12 PM  
Scootworks
 
Scootworks's Avatar
AddOn Author - Click to view AddOns

Forum posts: 312
File comments: 64
Uploads: 28
request

two functions to make an item prefix and item suffix
for example: prefix should be the item icon and suffix should be the item trait: „icon [itemName] (infused)“
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: