Download
(4 Kb)
Download
Updated: 09/08/23 03:47 AM
Pictures
File Info
Compatibility:
base-game patch (9.1.5)
Necrom (9.0.0)
Scribes of Fate (8.3.5)
Firesong (8.2.5)
Lost Depths (8.1.5)
High Isle (8.0.0)
Updated:09/08/23 03:47 AM
Created:04/07/21 04:24 AM
Monthly downloads:133
Total downloads:5,819
Favorites:14
MD5:
Categories:ToolTip, Utility Mods
Custom Item Notes  Popular! (More than 5000 hits)
Version: 1.23
by: Alianym [More]
Welcome to Custom Item Notes!

Created after a request to add notes to items. You can view/update these with the new context menu item "Edit Note" (text is localized). This is a relatively simple implementation that I may expand if anyone has other requests/thoughts/comments on how it could be improved but my aim for this initial release was to keep it fairly simple. Usage should hopefully be pretty straightforward, (see below).

To edit (add/remove) a note from an item:
Code:
Open context menu (right-click on Keyboard+Mouse) and select "Edit Note", then SAVE to update the note.
I can add a command to remove all CINs (custom item notes) at once if the desire is there, but for now it's a 1:1 add/remove.

Each note is tied to an item ID and the notes are currently stored account-wide per megaserver.

Required Libraries:
LibCustomMenu

Optional Libraries:
LibAddonMenu
v1.23
  • Added LibAddonMenu as an optional dependency, with options to change the color and rescale the inventory icon
    • This patch changes some details about your saved notes, so please back up your Saved Variables just in case before you update!

v1.22
  • Update to EditBox due to API changes

v1.21
  • Bug fixes for v1.20 (folder misname fixed and Crafted Potion notes should now properly delete)

v1.20
  • Separated out Crafted Potions for more accurate note-taking. Crafted Potion notes created or overwritten from this point onwards will be tied to the specific potion effects instead of itemId (which didn't take into account potion effects). This won't wipe existing potion notes. (re: HowellQagan)

v1.1
  • Removed the "Notes" header in the notes display – This has the result that notes will now scale to the size of the text (re: HowellQagan)

v1.0a
  • Fixed up the implementation from v1.0 (skipped over the wiki page too quickly the first time!)

v1.0
  • Added an icon to items in the inventory with notes (thanks ziplock9000 for prompting this, and thanks to whoever did the ESOUI wiki page with a PreHook/PostHook example of just this use-case)

v0.99f
  • Fixing compatibility issues, Part 2 (Thanks OneSkyGod for helping me reproduce and isolate the issue, and Baertram for helping me apply a fix)

v0.99e
  • Fixing compatibility issues

v0.99d
  • Fixing the bug, Round 2

v0.99c
  • Recreated the tooltip on mouse-over (hopefully the initial issue is fixed this time)
  • Added some multi-language support (thanks Baertram)

v0.99b
  • Updated a terribly generic global to be less generic

v0.99a
  • Updated functionality to mimic guild/friend notes (no more /commands)
  • Any notes you've created should carry over to this new system
Archived Files (12)
File Name
Version
Size
Uploader
Date
1.22
4kB
Alianym
08/22/22 05:04 AM
1.21
4kB
Alianym
03/27/22 08:40 PM
1.20
4kB
Alianym
03/27/22 07:38 AM
1.1
4kB
Alianym
09/25/21 05:21 AM
1.0a
4kB
Alianym
07/09/21 06:53 AM
0.99f
3kB
Alianym
04/15/21 05:46 AM
0.99e
3kB
Alianym
04/10/21 10:05 PM
0.99d
3kB
Alianym
04/09/21 09:36 AM
0.99c
3kB
Alianym
04/09/21 04:39 AM
0.99b
2kB
Alianym
04/08/21 02:01 AM
0.99a
2kB
Alianym
04/07/21 08:39 PM
0.99
1kB
Alianym
04/07/21 04:24 AM


Post A Reply Comment Options
Unread 04/07/21, 11:19 AM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
Exclamation Error

Got this error when trying to open containers in my bags:
Code:
EsoUI/Ingame/Inventory/InventorySlot.lua:1110: Attempt to access a private function 'UseItem' from insecure code. The callstack became untrusted 1 stack frame(s) from the top.
stack traceback:
EsoUI/Ingame/Inventory/InventorySlot.lua:1110: in function 'TryUseItem'
|caaaaaa<Locals> inventorySlot = ud, bag = 1, index = 50, usable = T, onlyFromActionSlot = F </Locals>|r
EsoUI/Ingame/Inventory/InventorySlot.lua:1344: in function '(anonymous)'
(tail call): ?
(tail call): ?
EsoUI/Ingame/Inventory/InventorySlotActions.lua:96: in function 'ZO_InventorySlotActions:DoPrimaryAction'
|caaaaaa<Locals> self = [table:1]{m_hasActions = T, m_numContextMenuActions = 0, m_contextMenuMode = F, craftBagExtendedPostHooked = T, craftBagExtendedHooked = T}, primaryAction = [table:2]{1 = "Use"}, success = T </Locals>|r
EsoUI/Ingame/Inventory/ItemSlotActionController.lua:30: in function 'callback'
EsoUI/Libraries/ZO_KeybindStrip/ZO_KeybindStrip.lua:679: in function 'ZO_KeybindStrip:TryHandlingKeybindDown'
|caaaaaa<Locals> self = [table:3]{batchUpdating = F, insertionId = 28, allowDefaultExit = T}, keybind = "UI_SHORTCUT_PRIMARY", buttonOrEtherealDescriptor = ud, keybindButtonDescriptor = [table:4]{addedForSceneName = "inventory", order = 500, alignment = 3, keybind = "UI_SHORTCUT_PRIMARY"} </Locals>|r
(tail call): ?
(tail call): ?
Error went away after disabling this addon.
Report comment to moderator  
Reply With Quote
Unread 04/07/21, 11:11 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4989
File comments: 6040
Uploads: 78
Abou your description text:
but if you upgrade or enchant a weapon (as an example) then that will change the item ID of the weapon and the note will need to be re-written
If you use the itemId this will not change as the item get's upgraded or enchanted!

Only if you use the itemLink of the item it will change. But the itemId is the same number for the same item! Also do not use the uniqueId, or the itemInstanceId! Both will change for each item each time you change anything like quality, enchantment, level etc.

You can get the itemId of the item via GetItemLinkItemId(Itemlink) or GetItemId(bagId, slotIndex) API functions.
Depending on your usecase GetItemInstanceId(bagId, slotIndex) could be helping as well. But it's changing too for the same "itemId"!

P.S.
If you minify the lua file it will not really speed up the addon load time.
But we wont be able to help here as all in 1 line just sucks and is not human readable :-(
Not sure if this was intended or not (as a kind of protection), but I wouldn't recommand it.
Last edited by Baertram : 04/07/21 at 11:17 AM.
Report comment to moderator  
Reply With Quote
Unread 04/07/21, 10:39 AM  
NeuroticPixels
Addon Addict
 
NeuroticPixels's Avatar
Premium Member

Forum posts: 211
File comments: 869
Uploads: 0
I'm so excited about this addon. Thank you!
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: