Download
(6 Kb)
Download
Updated: 08/27/23 09:30 AM
Pictures
File Info
Compatibility:
base-game patch (9.1.5)
Necrom (9.0.0)
Updated:08/27/23 09:30 AM
Created:06/28/15 09:07 AM
Monthly downloads:480
Total downloads:84,110
Favorites:141
MD5:
Votan's Settings Menu  Popular! (More than 5000 hits)
Version: 1.5.9
by: votan [More]
DependenciesDescription
This add-on is for the add-ons themself.
It introduces the following to toggle directly to the add-on settings menu of LAM2:
  • main menu button
  • key-bind
  • slash-command (/addonsettings)
It remembers and opens the last used add-on settings page even after /reloadui or relog, if using the button or key-bind.
Assuming you want to change the settings of the add-on, opened last time, anyway and do not need to seek it again.
Inspired by the main menu button of FCO ItemSaver from Beartram. This is a generic version of it.

On the settings page of this add-on itself you can:
  • Turn on/off the main menu button
  • See the current Lua memory usage. The warning-symbol is shown at 4x start usage.
  • See the versions of libraries coming along with the add-ons you currently use. May a useful additional information, if you report bugs due to add-on conflicts. <= Done with built-in Addon Manager. More details with Votan's Addon List.
  • show client CPU architecture (x32 or x64) <= There is one only. (x64)

To Do
- none
version 1.5.9:
- Fixed issue with having an empty settings page. Thanks to @NeuroticPixels.

version 1.5.8:
- Update to French translation. Thanks to @lexo1000.

version 1.5.7:
- API bump.
- Register late in the main menu to appear on the far right.

version 1.5.6:
- Update to API 100034 "Flames of Ambition".

version 1.5.5:
- Update to API 100033 "Markarth".

version 1.5.4:
- Update to API 100032 "Stonethorn".

version 1.5.3:
- Update to API 100031 "Greymoor".

version 1.5.2:
- Update to API 100030 "Harrowstorm".

version 1.5.1:
- Update to API 100029 "Dragonhold".

version 1.5.0:
- Update to "Scalebreaker".
- Show ESO client version.

version 1.4.0:
- Update to API 100027 "Elsweyr".

version 1.3.8:
- Update to API 100026 "Wrathstone".

version 1.3.7:
- API bump 100025 "Murkmire".

version 1.3.6:
- Fixed one missing dependency: LibMainMenu-2.0.

version 1.3.5:
- Update to API 100024 "Wolfhunter".
- New library load structure.

version 1.3.4:
- API bump 100023 "Summerset".
- New behavior for key-bind: Open settings, even if in game menu already.

version 1.3.3:
- API bump for "Dragon Bones".

version 1.3.2:
- Fixed restoring last used addon, if addon settings were opened manually.
- API bump for Clockwork City.

version 1.3.1:
- API bump for Horns of the Reach.

version 1.3.0:
- The Lua memory limit warning is no longer in use with launch of Morrowind => The current usage will be shown, only.

version 1.2.9:
- Localization. Thanks to @lexo1000 for french translation.

version 1.2.8:
- Fixed isue with LAM2 rev23: Last page not shown.

version 1.2.7:
- ESO 2.7 'Homestead' ready.

version 1.2.6:
- API 100017 'One Tamriel' ready.

version 1.2.5:
- API bump 100016: ESO 2.5 (Shadow of the Hist) ready.
- Make use of Is64BitClient if available

version 1.2.4:
- Fixed bug when using the shortcut the first time for a new character. Reported by @QuadroTony.

version 1.2.3:
- ESO 2.4 (Dark Brotherhood) support
- Show client CPU architecture

version 1.2.2:
- Just API update to 100014

version 1.2.1:
- Just API update to 100013

version 1.2.0:
- Orsinium ready: Updated LibMainMenu-2.0
- Open last used addon, even if opening game menu without key-bind.

version 1.1.1:
- Temporary fix for LAM2 for refreshing selected settings page on opening. Including associated slash-commands.

version 1.1.0:
- Updated APIVersion to 100012

version 1.0.2:
- Update to LibStub r4

version 1.0.1
- API: VOTANS_MENU_SETTINGS
- Dynamic refresh of Lua memory usage (1s)

version 1.0.0
- initial
Optional Files (0)


Archived Files (33)
File Name
Version
Size
Uploader
Date
1.5.8
6kB
votan
06/05/22 08:10 AM
1.5.7
6kB
votan
05/28/22 07:24 AM
1.5.6
6kB
votan
02/20/21 09:48 AM
1.5.5
6kB
votan
11/02/20 04:41 AM
1.5.4
6kB
votan
08/22/20 04:56 AM
1.5.3
6kB
votan
05/24/20 10:39 AM
1.5.2
57kB
votan
02/15/20 11:45 AM
1.5.1
57kB
votan
10/19/19 08:26 AM
1.5.0
57kB
votan
07/17/19 11:17 AM
1.4.0
55kB
votan
05/18/19 08:08 AM
1.3.8
60kB
votan
02/23/19 10:16 AM
1.3.7
60kB
votan
12/09/18 11:49 AM
1.3.6
16kB
votan
08/17/18 11:08 AM
1.3.5
16kB
votan
08/13/18 11:18 AM
1.3.4
9kB
votan
05/17/18 11:49 AM
1.3.3
9kB
votan
01/27/18 07:16 AM
1.3.2
9kB
votan
10/21/17 07:26 AM
1.3.1
9kB
votan
08/08/17 11:33 AM
1.3.0
9kB
votan
05/25/17 03:34 AM
1.2.9
9kB
votan
04/29/17 09:10 AM
1.2.8
9kB
votan
02/11/17 09:36 AM
1.2.7
9kB
votan
02/03/17 12:03 PM
1.2.6
9kB
votan
09/10/16 02:50 AM
1.2.5
9kB
votan
07/26/16 11:28 AM
1.2.4
9kB
votan
06/10/16 01:21 PM
1.2.3
9kB
votan
05/21/16 05:47 AM
1.2.2
8kB
votan
03/07/16 11:51 AM
1.2.1
8kB
votan
11/02/15 01:25 PM
1.2.01
8kB
votan
10/29/15 01:12 AM
1.1.1
8kB
votan
09/19/15 08:07 AM
1.1.0
8kB
votan
09/02/15 12:40 PM
1.0.1
8kB
votan
07/06/15 11:10 AM
1.0.0
8kB
votan
06/28/15 09:07 AM


Post A Reply Comment Options
Unread 06/28/15, 10:34 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Nice idea, I like the "remembering of the last used addon"! Currently I used my addon's button to open the LAM settings panel.
Now it's even more comfortable
Report comment to moderator  
Reply With Quote
Unread 06/28/15, 11:21 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by Baertram
Nice idea, I like the "remembering of the last used addon"! Currently I used my addon's button to open the LAM settings panel.
Now it's even more comfortable
I'm glad you like it
Report comment to moderator  
Reply With Quote
Unread 06/28/15, 12:02 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
nice, it will be mine 137th addon
Report comment to moderator  
Reply With Quote
Unread 06/28/15, 10:52 PM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by QuadroTony
nice, it will be mine 137th addon
137 addons! wow
Report comment to moderator  
Reply With Quote
Unread 06/30/15, 04:21 PM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Someone told me your button is positioned at the same spot as FCO ItemSaver's button?
And I think there are other addons, like Potionmaker, who raised a button at the main menu too.

I guess it is time for some combined button management in the main menu (if it doesn't exist already), so all the buttons can be added and the positions will be automatically arranged (or even disabled/enabled at a central addon settings menu).

If not, we should think about determining the different buttons and reposition them all.
Report comment to moderator  
Reply With Quote
Unread 06/30/15, 11:53 PM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by Baertram
Someone told me your button is positioned at the same spot as FCO ItemSaver's button?
And I think there are other addons, like Potionmaker, who raised a button at the main menu too.

I guess it is time for some combined button management in the main menu (if it doesn't exist already), so all the buttons can be added and the positions will be automatically arranged (or even disabled/enabled at a central addon settings menu).

If not, we should think about determining the different buttons and reposition them all.
Potion Maker & Settings Menu including a lib for that already.
LibMainMenu-2.0
Feel free to use it.
Take Settings Menu as an example. It fits your use case at best.

Greets.
Report comment to moderator  
Reply With Quote
Unread 07/01/15, 04:47 AM  
Baertram
Super Moderator
 
Baertram's Avatar
ESOUI Super Moderator
AddOn Author - Click to view AddOns

Forum posts: 4912
File comments: 5990
Uploads: 78
Ok, thanks. Will have a look at it.

Originally Posted by votan
Originally Posted by Baertram
Someone told me your button is positioned at the same spot as FCO ItemSaver's button?
And I think there are other addons, like Potionmaker, who raised a button at the main menu too.

I guess it is time for some combined button management in the main menu (if it doesn't exist already), so all the buttons can be added and the positions will be automatically arranged (or even disabled/enabled at a central addon settings menu).

If not, we should think about determining the different buttons and reposition them all.
Potion Maker & Settings Menu including a lib for that already.
LibMainMenu-2.0
Feel free to use it.
Take Settings Menu as an example. It fits your use case at best.

Greets.
Report comment to moderator  
Reply With Quote
Unread 07/01/15, 05:03 AM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally Posted by votan

Potion Maker & Settings Menu including a lib for that already.
LibMainMenu-2.0
Feel free to use it.
Take Settings Menu as an example. It fits your use case at best.

Greets.
Still a bit lost with the "objects" things but ain't the ## MenuBar:AddButton(buttonData) supposed to assign the next descriptor available to your button allowing them to be placed one after the other? I mean without libraries.
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07/01/15, 06:00 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by Wandamey
Still a bit lost with the "objects" things but ain't the ## MenuBar:AddButton(buttonData) supposed to assign the next descriptor available to your button allowing them to be placed one after the other? I mean without libraries.
The descriptors they use in the build-in code for the MENU_MENU are numbers, but the control (MENU_MENU.categoryBar) is a menu-bar as everywhere in the UI (Inventory, crafting stations, etc.)
The descriptor just must be a unique identifier within the menu-bar for the function ZO_MenuBar_SelectDescriptor(MAIN_MENU.categoryBar, descriptor)
Because Lua tables do not care about the value-type of the key, strings working aswell.

As you can see the "class" definition MenuBar:AddButton the descriptor is not taken as an integer-index.
The order of the buttons is given by the call-order of AddButton.
Last edited by votan : 07/01/15 at 06:04 AM.
Report comment to moderator  
Reply With Quote
Unread 07/01/15, 06:16 AM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally Posted by votan
Originally Posted by Wandamey
Still a bit lost with the "objects" things but ain't the ## MenuBar:AddButton(buttonData) supposed to assign the next descriptor available to your button allowing them to be placed one after the other? I mean without libraries.
The descriptors they use in the build-in code for the MENU_MENU are numbers, but the control (MENU_MENU.categoryBar) is a menu-bar as everywhere in the UI (Inventory, crafting stations, etc.)
The descriptor just must be a unique identifier within the menu-bar for the function ZO_MenuBar_SelectDescriptor(MAIN_MENU.categoryBar, descriptor)
Because Lua tables do not care about the value-type of the key, strings working aswell.

As you can see the "class" definition MenuBar:AddButton the descriptor is not taken as an integer-index.
The order of the buttons is given by the call-order of AddButton.
So basically if you don't modify the anchors, they wouldn't overlap. You would just not know where exactly they would end up if another add-on use this too? or you have to give them an Anchor anyway?
Report comment to moderator  
Edit/Delete Message Reply With Quote
Unread 07/01/15, 06:26 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
can you make lua memory meter dynamic? right now its static and snipeshot the state of it in the moment you open settings menu
Report comment to moderator  
Reply With Quote
Unread 07/01/15, 06:39 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by Wandamey
So basically if you don't modify the anchors, they wouldn't overlap. You would just not know where exactly they would end up if another add-on use this too? or you have to give them an Anchor anyway?
You do not need to modify the anchors. This is handle by the MenuBar.
And yes, as you do know when other addons will add a button, the exact position is undeterminated. But as long as your descriptor is unique (e.g. the addon name) you do not really care about it.
LMM2:SelectMenuItem(descriptor) will handle a correct MenuBar buttons state and do a WINDOW_MANAGER:IsSecureRenderModeEnabled() check for you.
Report comment to moderator  
Reply With Quote
Unread 07/01/15, 06:45 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 577
File comments: 1667
Uploads: 40
Originally Posted by QuadroTony
can you make lua memory meter dynamic? right now its static and snipeshot the state of it in the moment you open settings menu
Yes. But it should refresh everytime you open the menu. Do you expect changes due to background activity?

edit 1: I saw the video. Alright, there is background activity...
Last edited by votan : 07/01/15 at 07:11 AM.
Report comment to moderator  
Reply With Quote
Unread 07/01/15, 07:10 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
1) when MM addon loading lua memory going up very fast
2) when you scroll guild roster with shissu guild tools your lua memory usage grow up very fast too - its a bug

i detect it with some addons that show lua memory dynamic usage - like Raetia info hub
but nvm, this addon is perfect, in thinking now my request was not important, because i already have addons with this feature =)
Report comment to moderator  
Reply With Quote
Unread 07/01/15, 07:18 AM  
Wandamey
Guest

Join Date: Not Yet
Forum posts: 0
File comments: 0
Uploads: 0
Originally Posted by votan
You do not need to modify the anchors. This is handle by the MenuBar.
And yes, as you do know when other addons will add a button, the exact position is undeterminated. But as long as your descriptor is unique (e.g. the addon name) you do not really care about it.
LMM2:SelectMenuItem(descriptor) will handle a correct MenuBar buttons state and do a WINDOW_MANAGER:IsSecureRenderModeEnabled() check for you.
Thanks for the infos. nice to know before having to deal with it I guess
Report comment to moderator  
Edit/Delete Message Reply With Quote
Post A Reply



Category Jump: