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: | 80,777 |
Total downloads: | 4,673,666 |
Favorites: | 2,750 |
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 |
andy.s |
View Public Profile |
Send a private message to andy.s |
Find More Posts by andy.s |
Add andy.s to Your Buddy List |
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
06/05/20, 03:27 PM | |||
|
Re: Re: RU language issue
Code:
ru = { -- provided by TERAB1T PANEL_NAME = "Дополнения", VERSION = "Версия: <<X:1>>", WEBSITE = "Посетить сайт", FEEDBACK = "Отзыв", TRANSLATION = "Перевод", DONATION = "Жертвовать", RELOAD_UI_WARNING = "Для применения этой настройки необходима перезагрузка интерфейса.", RELOAD_DIALOG_TITLE = "Необходима перезагрузка интерфейса", RELOAD_DIALOG_TEXT = "Для применения некоторых изменений необходима перезагрузка интерфейса. Перезагрузить интерфейс сейчас или отменить изменения?", RELOAD_DIALOG_RELOAD_BUTTON = "Перезагрузить", RELOAD_DIALOG_DISCARD_BUTTON = "Отменить изменения", }, |
||
|
andy.s |
View Public Profile |
Send a private message to andy.s |
Find More Posts by andy.s |
Add andy.s to Your Buddy List |
06/13/20, 01:55 AM | |
Forum posts: 0
File comments: 12
Uploads: 0
|
Good day!
Can we please have a version of this library updated to 6.0.5 (Graymoor)? |
|
Hermetist |
View Public Profile |
Send a private message to Hermetist |
Find More Posts by Hermetist |
Add Hermetist to Your Buddy List |
06/13/20, 04:36 AM | ||
|
||
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
06/21/20, 07:39 PM | |
Forum posts: 1
File comments: 13
Uploads: 0
|
Update broke some addons
So Minion just updated this Library and when I logon I get a bunch of errors from various addons.
First one was DarkUI which was complaining AddOnMenu2.0 was missing or something, but the addons menu (to turn them on and off) did not complain about dependencies. And a few others like those other two addons from the same guy who did DarkUI as well as Wykkyds Toolbar was having a fit. Let me go ahead and screencap these. Edit: Here are the Lua Errors I got for Wykkyd's Toolbar, DarkUI, ConspicuousQuestMarkers, and PointsOfColor: 7 in total.... *sigh* Posting these here because LibAddOnMenu-2.0 is for sure the central factor in these lua errors, and the fact Minion auto-updated the Library while I was out and I came back to 7 Lua errors. I guess for now I will roll back to the previous version and disable the autoupdate for this library until this is fixed. hopefully it is something easily fixed on the Library side and not something to do with the 3 addons that got borked.
Last edited by NaterOfTheWired : 06/21/20 at 07:52 PM.
|
|
NaterOfTheWired |
View Public Profile |
Send a private message to NaterOfTheWired |
Find More Posts by NaterOfTheWired |
Add NaterOfTheWired to Your Buddy List |
06/21/20, 07:54 PM | ||
Forum posts: 0
File comments: 3
Uploads: 0
|
Re: Update broke some addons
|
|
|
karleya |
View Public Profile |
Send a private message to karleya |
Find More Posts by karleya |
Add karleya to Your Buddy List |
06/21/20, 08:31 PM | |||
Forum posts: 1
File comments: 13
Uploads: 0
|
Re: Re: Update broke some addons
Should I roll back the update for AddonMenu or just drop in LibStub on its own? Which one would be better? Edit: For now, I am just disabling DarkUI, PointsOfColor, ConspicuousQuestMarkers, and Wykkyd's Toolbar until those are updated to remove LibStub.
Last edited by NaterOfTheWired : 06/21/20 at 09:16 PM.
|
||
|
NaterOfTheWired |
View Public Profile |
Send a private message to NaterOfTheWired |
Find More Posts by NaterOfTheWired |
Add NaterOfTheWired to Your Buddy List |
06/22/20, 03:49 AM | |
With this new update LibAddonMenu no longer contains LibStub.
If you run into problems, the best course of action is to ask the authors of these addons to update them so they no longer rely on LibStub and instead use libraries directly. As a temporary solution you can just install LibStub separately until they find time, so you can continue to use these addons. EDIT: I just saw it's actually not that they didn't include LibStub, but instead that LAM is loaded before any instance of LibStub. Doesn't really change anything though.
Last edited by sirinsidiator : 06/22/20 at 03:54 AM.
|
|
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
06/22/20, 06:12 AM | |
|
If your addon does not work anymore because the LAM settings menu is not loaded anymore:
Read this please https://www.esoui.com/forums/showthr...hlight=LibStub and inform the addon authors of the addons mentioned in your error messages about this post as well, please. They need to update accordingy to the described info in the forum post, as LibStub is obsolete and they need to adopt their addons. |
|
Baertram |
View Public Profile |
Send a private message to Baertram |
Find More Posts by Baertram |
Add Baertram to Your Buddy List |
06/22/20, 06:11 PM | ||
Forum posts: 1
File comments: 13
Uploads: 0
|
|
|
|
NaterOfTheWired |
View Public Profile |
Send a private message to NaterOfTheWired |
Find More Posts by NaterOfTheWired |
Add NaterOfTheWired to Your Buddy List |
06/28/20, 06:06 AM | |
|
Some developers, especially lib devs just don't understand the concept of "deprecation". Why remove LibStub loading from LAM-2 and cause millions of users headache? Wasted 2 hours on debugging addons, until I found out in some addon forum that LibStub isn't being loaded anymore. Was this change declared as deprecation and were other addon devs given ample time to switch/make changes?
EDIT: Read your note below, that LAM is loaded before Libstub. Still this whole business smells bad to a developer like me.
Last edited by Gelmir : 06/28/20 at 06:08 AM.
|
|
Gelmir |
View Public Profile |
Send a private message to Gelmir |
Find More Posts by Gelmir |
Add Gelmir to Your Buddy List |
08/30/20, 08:42 AM | |
Forum posts: 1
File comments: 2
Uploads: 0
|
Getting these errors while skyshard is installed.
Been searching for about more then 30mins and have yet to find out a solution. Any can be of assistance?
EsoUI/Ingame/Map/MapPin.lua:1669: attempt to index a nil value stack traceback: EsoUI/Ingame/Map/MapPin.lua:1669: in function 'ZO_MapPin:Initialize' |caaaaaa<Locals> self = [table:1]{} </Locals>|r EsoUI/Ingame/Map/MapPin.lua:1660: in function 'ZO_MapPin:New' |caaaaaa<Locals> self = [table:2]{ANIMATION_ALPHA = 1}, object = [table:1] </Locals>|r user:/AddOns/MiniMap/MiniMap.lua:3518: in function 'InsertCustomPin' |caaaaaa<Locals> p = [table:3]{normalizedY = 0.725, m_PinType = 227, Id = 1, normalizedX = 0.7478}, key = 1, j = 1, mapId = 1126, pin = ud, pScalePercent = 0.74, enabled = T </Locals>|r user:/AddOns/MiniMap/MiniMap.lua:3663: in function 'FyrMM.CustomPins' |caaaaaa<Locals> t = 1360756, c = 1, t = 227, n = [table:4]{}, i = 1, v = [table:3] </Locals>|r user:/AddOns/MiniMap/MiniMap.lua:2792: in function '(anonymous)' |
|
Doughboyx3 |
View Public Profile |
Send a private message to Doughboyx3 |
Find More Posts by Doughboyx3 |
Add Doughboyx3 to Your Buddy List |
08/30/20, 08:52 AM | ||
Re: Getting these errors while skyshard is installed.
|
||
|
sirinsidiator |
View Public Profile |
Send a private message to sirinsidiator |
Find More Posts by sirinsidiator |
Add sirinsidiator to Your Buddy List |
08/30/20, 08:55 AM | |||
Forum posts: 1
File comments: 2
Uploads: 0
|
Re: Re: Getting these errors while skyshard is installed.
|
||
|
Doughboyx3 |
View Public Profile |
Send a private message to Doughboyx3 |
Find More Posts by Doughboyx3 |
Add Doughboyx3 to Your Buddy List |