[REQUEST] Hide / Turn Off New Item (!)
I would like an Addon to Turn Off or Hide the (new item) Exclamation point in the Inventory and in the ESO+ Craft Bag?
When you are constantly getting new items and your OCD is telling you to clear those (!) ALL the freaking time is quite frustrating. lol |
Answer is in
esoui\ingame\inventory\inventory.lua SHARED_INVENTORY:RegisterCallback("SlotAdded", function(bagId, slotIndex, newSlotData) or function ZO_UpdateStatusControlIcons(inventorySlot, slotData) Have fun. |
Um, ok. Thanks? lol
I know NO LUA so I'll wait for someone else to want this I guess! Quote:
|
Anyone willing to take a crack at this code?
If you don't wish to release it in an addon I could make it into a personal one, but I have no idea on the code I'd need. :( |
Anyone? Please? :)
|
Try to ask twice a day, maybe someone will have the time then (ironic) :rolleyes: But I guess he/she won't have the desire to do it anymore because of your daily bumps :mad:
Lua Code:
This function is called as a new item is put into your inventory. The lower part is the important one that you don't want to happen anymore: Lua Code:
The class ZO_InventoryManager is assigned to the following variable ingame: Lua Code:
PLAYER_INVENTORY is the variable you need to use to get into this function OnInventoryItemAdded then: So learn to code addons at the wiki, there are many examples and helps: http://wiki.esoui.com/Main_Page (check the right side!) http://wiki.esoui.com/Getting_Started http://wiki.esoui.com/Writing_your_first_addon http://wiki.esoui.com/MyFirstAddon_t...Zenimax_Online http://wiki.esoui.com/ISummonThee http://wiki.esoui.com/SimpleNotebookTutorial/part1 You can use the function ZO_PreHook to pre-enter a function of the base game. You can modify values or run your own source code then prior to the original function. After that be sure to "return false" so the original function code is executed after yours! Or "return true" to not run the original code! Suggestion: Build a small standalone addon and put some code in the Event_addon_loaded callback function of your addon which does a zo_PreHook for this function and just changes newSlotData.brandNew to false always. The PreHook couldlook likes this e.g.: Lua Code:
Taken some code form Writing your first adodn tutorial this could look like this then: Lua Code:
Be sure to change FooAddon to some other name like "NoNewItem" and adapt the manifest txt file to the same name etc. If you got questions,a fter you read into the materia and tried it, be free to ask here. But please stop to bump such 1 user requests every 2nd day... This will only make the addon devs "Not help you anymore"! Write to ZOs via /bug ingame instead and ask them to add a setting instead. |
Check my addon "FCOChangeStuff", I've added it in there.
-> Update is pending And please stop bumping messages every 2nd day, ppl are not blind, but just don't have the time or will do fullfill it. Just accept it then, thank you. |
Quote:
I did not intend on DISTURBING the authors and the community! From now on I'll keep my many addon request to myself! Thank you! I am sorry! |
Quote:
|
Not "authors" per say. :| I read a bunch of talk on everything from Discord/gitter arguments to a little of everything else. I was trying to say I did not want to add more opinions to the mix. So staying out of authoring might be for the best for me. lol
|
All times are GMT -6. The time now is 06:26 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2014 - 2022 MMOUI