Go to Page... |
Compatibility: | Scions of Ithelia (9.3.0) Endless Archive (9.2.5) |
Updated: | 03/10/24 04:21 PM |
Created: | 02/14/14 10:28 PM |
Monthly downloads: | 73,974 |
Total downloads: | 4,695,367 |
Favorites: | 2,759 |
MD5: |
IMPORTANT In case you get an error that contains text like this: user:/AddOns/<some other addon>/Libs/LibAddonMenu-2.0 Some other addon you have installed likely contains an old version of LibAddonMenu which is loaded before the most current one. Make sure to search for LibAddonMenu-2.0 folders in your AddOns folder and delete all of them. Afterwards install the latest version of LibAddonMenu-2.0 separately. Check Kyzderp's guide for more detailed instructions |
## DependsOn: LibAddonMenu-2.0
## DependsOn: LibAddonMenu-2.0>=30
local LAM = LibAddonMenu2 local saveData = {} -- TODO this should be a reference to your actual saved variables table local panelName = "MyAddOnSettingsPanel" -- TODO the name will be used to create a global variable, pick something unique or you may overwrite an existing variable! local panelData = { type = "panel", name = "MyAddOn Settings", author = "me", } local panel = LAM:RegisterAddonPanel(panelName, panelData) local optionsData = { { type = "checkbox", name = "My First Checkbox", getFunc = function() return saveData.myValue end, setFunc = function(value) saveData.myValue = value end } } LAM:RegisterOptionControls(panelName, optionsData)
- use the callbacks "LAM-PanelControlsCreated", "LAM-PanelOpened" and "LAM-PanelClosed" instead- updated Brazilian translation (thanks FelipeS11)
- the panel control is returned by RegisterAddonPanel- added "translation", "feedback" and "donation" properties to panel (#88, thanks Baertram)
- all three (and also the "website" property) accept a function or a string- added "disabled" and "disabledLabel" property for submenus (#86, #90, thanks klingo)
- the function receives the value, min and max as arguments and has to return a clamped value- added optional support for LibDebugLogger
- in case it is loaded, it logs the full error when control creation failed- updated LibStub to r5
- when set to true it changes the text color of the button to red and opens a dialog which shows the label and the warning text before running the callback- added new options for sliders and fixed some bugs (#49)
- autoSelect (boolean): when set to true it makes the input field select all text when it gains focus- for other internal code changes take a look at the git history
- inputLocation (string): setting it to "right" will move the input field to the right side of the slider and make it slightly bigger. For aesthetic reasons this should only be used in custom panels and not in the addon menu
- clampInput (boolean): true by default and if set to false it allows the input values of the slider to exceed the min and max value
- NOTE: the menu is now a bit wider than before, if you created custom elements you might need to update them accordingly- added search box to addon list (thanks votan & merlight)
File Name |
Version |
Size |
Uploader |
Date |
2.0 r35 |
49kB |
sirinsidiator |
10/31/23 01:16 PM |
|
2.0 r34 |
48kB |
sirinsidiator |
06/06/22 05:35 AM |
|
2.0 r33 |
48kB |
sirinsidiator |
03/14/22 02:51 PM |
|
2.0 r32 |
48kB |
sirinsidiator |
12/17/20 02:04 PM |
|
2.0 r31 |
49kB |
sirinsidiator |
06/21/20 03:06 PM |
|
2.0 r30 |
48kB |
sirinsidiator |
10/21/19 03:23 AM |
|
2.0 r29 |
48kB |
sirinsidiator |
05/07/19 11:00 AM |
|
2.0 r28 |
47kB |
sirinsidiator |
05/01/19 09:33 AM |
|
2.0 r27 |
47kB |
sirinsidiator |
04/18/19 03:07 PM |
|
2.0 r26 |
45kB |
sirinsidiator |
05/21/18 02:36 AM |
|
2.0 r25 |
45kB |
sirinsidiator |
09/29/17 12:28 PM |
|
2.0 r24 |
45kB |
sirinsidiator |
07/14/17 01:00 PM |
|
2.0 r23 |
42kB |
sirinsidiator |
10/30/16 10:00 AM |
|
2.0 r22 |
39kB |
sirinsidiator |
08/06/16 07:42 AM |
|
2.0 r21 |
38kB |
sirinsidiator |
07/17/16 11:04 AM |
|
2.0 r20 |
41kB |
sirinsidiator |
03/26/16 10:45 AM |
|
2.0 r19 |
37kB |
sirinsidiator |
02/24/16 12:24 PM |
|
2.0 r18 |
36kB |
sirinsidiator |
06/14/15 01:12 PM |
|
2.0 r17 |
30kB |
sirinsidiator |
02/22/15 11:09 AM |
|
2.0 r16 |
27kB |
Seerah |
11/02/14 02:03 PM |
|
2.0 r14 |
26kB |
Seerah |
07/27/14 10:17 PM |
|
2.0 r13 |
26kB |
Seerah |
07/20/14 09:35 PM |
|
2.0 r12 |
26kB |
Seerah |
07/20/14 07:55 PM |
|
2.0 r11 |
26kB |
Seerah |
07/19/14 02:49 PM |
|
2.0 r10 |
25kB |
Seerah |
07/13/14 09:18 PM |
|
2.0 r9 |
25kB |
Seerah |
07/05/14 06:55 PM |
|
2.0 r8 |
25kB |
Seerah |
06/22/14 09:47 PM |
|
2.0 r7 |
25kB |
Seerah |
06/15/14 05:17 PM |
|
2.0 r6 |
25kB |
Seerah |
06/13/14 11:28 PM |
|
2.0 r5 |
25kB |
Seerah |
06/12/14 10:32 PM |
|
2.0 r4 |
25kB |
Seerah |
06/11/14 08:56 PM |
|
2.0 r3 |
25kB |
Seerah |
06/11/14 07:49 PM |
|
2.0 r2 |
24kB |
Seerah |
06/10/14 10:06 PM |
|
1.0 r8 |
6kB |
Seerah |
05/24/14 10:01 PM |
Comment Options |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
09/19/20, 10:03 AM | |
I get an error anytime I try to change a setting in an add-on that depends on LibAddonMenu-2.0. The setting is changed, but not without a UI Error popping up every time. I have uninstalled and reinstalled the addon
This is an example from me using a slider for the addon S'rendarr: Code:
user:/AddOns/AutoCategory/Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:147: attempt to index a nil value stack traceback: user:/AddOns/AutoCategory/Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:147: in function 'RefreshReloadUIButton' user:/AddOns/AutoCategory/Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:157: in function 'RequestRefreshIfNeeded' |caaaaaa <Locals> control = ud, panel = ud, panelData = [table:1]{name = "S'rendarr", registerForRefresh = T, registerForDefaults = F, version = "2.4.38", author = "Phinix, Kith, Garkin & silentg...", type = "panel", displayName = "|c67b1e9S|c4779ce'rendarr|r"} </Locals>|r user:/AddOns/AutoCategory/Libs/LibAddonMenu-2.0/controls/slider.lua:69: in function 'UpdateValue' |caaaaaa <Locals> control = ud, forceDefault = F, value = 1 </Locals>|r user:/AddOns/AutoCategory/Libs/LibAddonMenu-2.0/controls/slider.lua:185: in function '(anonymous)' |caaaaaa <Locals> self = ud, value = 1 </Locals>|r The first line of error seems to always be: Code:
user:/AddOns/AutoCategory/Libs/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:147: attempt to index a nil value
Last edited by julivity : 09/19/20 at 10:06 AM.
|
|
|
julivity |
View Public Profile |
Send a private message to julivity |
Find More Posts by julivity |
Add julivity to Your Buddy List |
09/19/20, 10:07 AM | ||
|
||
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
09/19/20, 03:32 PM | ||
Code:
user:/AddOns/AutoCategory/AutoCategory.lua:6: Cannot find a library instance of "LibAddonMenu-2.0". stack traceback: user:/AddOns/AutoCategory/Libs/LibStub/LibStub.lua:29: in function 'LibStub:GetLibrary' |caaaaaa <Locals> self = [table:1]{SILENT = T, minor = 4}, major = "LibAddonMenu-2.0" </Locals>|r user:/AddOns/AutoCategory/AutoCategory.lua:6: in function '(main chunk)' Thank you very much |
||
|
julivity |
View Public Profile |
Send a private message to julivity |
Find More Posts by julivity |
Add julivity to Your Buddy List |
09/20/20, 01:00 AM | |||
|
|||
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
09/20/20, 01:03 PM | ||
Thank you very much! |
||
|
julivity |
View Public Profile |
Send a private message to julivity |
Find More Posts by julivity |
Add julivity to Your Buddy List |
10/19/20, 11:09 AM | |||
Forum posts: 0
File comments: 13
Uploads: 0
|
(Turns out you can keep Minion, you just have to manually delete the LibAddonMenu folders from the individual addon folders.)
Last edited by jennyloggins : 10/19/20 at 11:09 AM.
|
||
|
jennyloggins |
View Public Profile |
Send a private message to jennyloggins |
Find More Posts by jennyloggins |
Add jennyloggins to Your Buddy List |
10/20/20, 04:08 PM | |
Forum posts: 0
File comments: 13
Uploads: 0
|
Back again... The comment I replied to yesterday actually wasn't the fix, I'm still getting errors. So I'm sharing this error to the devs of both pChat and LibAddonMenu2.0 because I'm not sure which addon (if either) is causing the error. If neither have an idea, I'll share to the dev of Wykkyd's mods as well.
Here is the error: Code:
user:/AddOns/wykkydsEnhancedChat/e/LAM/LibAddonMenu-2.0.lua:147: attempt to index a nil value stack traceback: user:/AddOns/wykkydsEnhancedChat/e/LAM/LibAddonMenu-2.0.lua:147: in function 'RefreshReloadUIButton' user:/AddOns/wykkydsEnhancedChat/e/LAM/LibAddonMenu-2.0.lua:157: in function 'RequestRefreshIfNeeded' |caaaaaa<Locals> control = ud, panel = ud, panelData = [table:1]{slashCommand = "/ntlns", registerForDefaults = T, type = "panel", name = "N'Tak' Loot'n'Steal", displayName = "N'|c887788Tak'|r Loot'n'Steal...", version = "1.8.10", author = "N'|c887788Tak'|r", registerForRefresh = T, website = "https://www.esoui.com/portal.p..."} </Locals>|r user:/AddOns/wykkydsEnhancedChat/e/LAM/controls/checkbox.lua:65: in function 'UpdateValue' |caaaaaa<Locals> control = ud, forceDefault = F, value = T </Locals>|r user:/AddOns/wykkydsEnhancedChat/e/LAM/controls/checkbox.lua:111: in function '(anonymous)' |caaaaaa<Locals> control = ud </Locals>|r I am using the latest versions of both pChat and LibAddonMenu2.0 downloaded from ESOUI (not minion), and am using LMM v8 (the version linked in LMM comment section). I don't have any of the addons pChat has listed as incompatible installed. The latest testing was done 2020/10/20 at about 5:30pm. How to reproduce: My best guess is to have Wykkyd's Enhanced Chat and Toolbar, IdleAnimations, LibAddonMenu2.0, pChat, and LMM installed since those seems to be the key addons affected. Go into the addons settings, and you should notice the pChat appears, but the wykkyd and IdleAnimations addons do not show up in the list. If you have another addon available (any should work), click on any option, like an on/off toggle, and that should throw the error. |
|
jennyloggins |
View Public Profile |
Send a private message to jennyloggins |
Find More Posts by jennyloggins |
Add jennyloggins to Your Buddy List |
10/20/20, 04:47 PM | ||
|
||
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
10/20/20, 05:09 PM | |||
Forum posts: 0
File comments: 13
Uploads: 0
|
Final Edit: You can totally ignore all below, I did some digging around Wykkyd's comment section and it was indeed exactly what you said, and someone uploaded a fix to the issue, so ALL IS WELL. Sorry for the novel lol, but thank you for pointing me in the right direction!
----
Error 1 (on game load): Code:
user:/AddOns/IdleAnimations/IdleAnimationsSettings.lua:7: Cannot find a library instance of "LibAddonMenu-2.0". stack traceback: user:/AddOns/LibFeedback/libs/LibStub.lua:29: in function 'LibStub:GetLibrary' |caaaaaa<Locals> self = [table:1]{SILENT = T, minor = 4}, major = "LibAddonMenu-2.0" </Locals>|r user:/AddOns/IdleAnimations/IdleAnimationsSettings.lua:7: in function '(main chunk)' Code:
user:/AddOns/IdleAnimations/IdleAnimations.lua:448: function expected instead of nil stack traceback: user:/AddOns/IdleAnimations/IdleAnimations.lua:448: in function 'IA.OnAddOnLoaded' |caaaaaa<Locals> event = 65536, addonName = "IdleAnimations", default = [table:1]{IdleProfile = "Normal", Enabled = T, AnimPause = 0, AnimTime = 30000, IdleTime = 25000}, defaults = [table:2]{noCameraSpin = T, AvARankUp = T, BankBought = T, PledgeMaraResult = T, PledgeMaraOffer = T, LoreBook = T, LevelUp = T, Avenge = T, LoreBookCollection = T, BagBought = T, ChampionPoint = T} </Locals>|r EDIT: also forgot to mention, all of these were working together perfectly fine until Friday, when I uninstalled some random libraries that were no longer being used by anything (from addons that I hadn't kept) and then all of this happened. But prior to that, everything was perfectly functional.
Last edited by jennyloggins : 10/20/20 at 09:06 PM.
|
||
|
jennyloggins |
View Public Profile |
Send a private message to jennyloggins |
Find More Posts by jennyloggins |
Add jennyloggins to Your Buddy List |
11/04/20, 09:47 AM | |
Forum posts: 5
File comments: 33
Uploads: 0
|
Out of date after Markarth patch
I did try updating the API version to 100033 in the LibAddonMenu-2.0.txt file, but it still shows as an out of date addon. Is there something else I could be missing, maybe another place that needs the API version updated?
I also tried downloading the zip from GitHub, and installed that instead of using Minion, but it's still showing out of date, even after I made sure to update the API version again in the .txt file. I realize it works fine with "Allow out of date addons" checked, but I'm a bit OCD about that, especially when all my other addons are fine.... |
|
Sylvermoon |
View Public Profile |
Send a private message to Sylvermoon |
Find More Posts by Sylvermoon |
Add Sylvermoon to Your Buddy List |
11/04/20, 07:47 PM | |
Forum posts: 4
File comments: 49
Uploads: 0
|
NIL value error?
Hi, I encountered this error while trying to do a farmrun using Harvestmap:
user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:211: attempt to index a nil value stack traceback: user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/LibAddonMenu-2.0.lua:211: in function 'GetTopPanel' user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/panel.lua:27: in function 'RefreshPanel' EsoUI/Libraries/Utility/ZO_CallbackObject.lua:116: in function 'ZO_CallbackObject:FireCallbacks' user:/AddOns/HarvestMap/Modules/HarvestMap/Options/LAMPanel.lua:519: in function 'setFunc' user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/checkbox.lua:64: in function 'UpdateValue' user:/AddOns/LibAddonMenu-2.0/LibAddonMenu-2.0/controls/checkbox.lua:112: in function '(anonymous)' Could you please check whats up? Kind regards Ciannicay
Last edited by Ciannicay : 11/04/20 at 07:47 PM.
|
|
Ciannicay |
View Public Profile |
Send a private message to Ciannicay |
Send email to Ciannicay |
Find More Posts by Ciannicay |
Add Ciannicay to Your Buddy List |
11/05/20, 10:19 AM | ||
Re: NIL value error?
|
||
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Send email to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
11/06/20, 08:40 AM | ||
Forum posts: 4
File comments: 49
Uploads: 0
|
Re: Re: NIL value error?
I will nag them if the error persists tonite. kind regards Ciannicay |
|
|
Ciannicay |
View Public Profile |
Send a private message to Ciannicay |
Send email to Ciannicay |
Find More Posts by Ciannicay |
Add Ciannicay to Your Buddy List |
11/08/20, 04:43 PM | |
Forum posts: 0
File comments: 1
Uploads: 0
|
A lot of my addons are saying I need a newer version of this. Is there something I need to do on my end or just wait for the new update? <3
|
|
Salsomir |
View Public Profile |
Send a private message to Salsomir |
Send email to Salsomir |
Find More Posts by Salsomir |
Add Salsomir to Your Buddy List |