Quantcast
Download
(57 Kb)
Download
Updated: 07/17/19 11:17 AM
Pictures
File Info
Compatibility:
Scalebreaker (5.1.5)
Elsweyr (5.0.5)
Updated:07/17/19 11:17 AM
Created:06/28/15 09:07 AM
Monthly downloads:436
Total downloads:31,229
Favorites:100
MD5:
5.1.5
Votan's Settings Menu  Popular! (More than 5000 hits)
Version: 1.5.0
by: votan [More]
Description
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.
  • show client CPU architecture (x32 or x64)

To Do
- none
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 (24)
File Name
Version
Size
Uploader
Date
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 05/27/16, 02:35 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3944
Uploads: 3
got this when pressing those button, version not last, previuos

__________________
Report comment to moderator  
Reply With Quote
Unread 05/21/16, 10:20 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 1202
Uploads: 32
Originally Posted by QuadroTony
with new DLc pls addsomething to switch between 320bit and 64-bit client, or just a detect which client we using atm
Implemented
__________________
@votan73 (EU - megaserver)
Report comment to moderator  
Reply With Quote
Unread 03/07/16, 11:52 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 1202
Uploads: 32
Originally Posted by QuadroTony
with new DLc pls addsomething to switch between 320bit and 64-bit client, or just a detect which client we using atm
@QuadroTony: Not this time, sorry. But it is on the To-Do list.
__________________
@votan73 (EU - megaserver)
Report comment to moderator  
Reply With Quote
Unread 02/11/16, 12:35 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3944
Uploads: 3
with new DLc pls addsomething to switch between 320bit and 64-bit client, or just a detect which client we using atm
__________________
Report comment to moderator  
Reply With Quote
Unread 07/20/15, 07:27 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 1202
Uploads: 32
Originally Posted by QuadroTony
its doable to add string waht addons usind every libs?
LibStub is just tracking the name and the highest revision of a library.
But not which addon registers a lib or requests a reference to it.
So: No, sorry.
__________________
@votan73 (EU - megaserver)
Report comment to moderator  
Reply With Quote
Unread 07/20/15, 05:57 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3944
Uploads: 3
its doable to add string waht addons usind every libs?
__________________
Report comment to moderator  
Reply With Quote
Unread 07/06/15, 05:22 PM  
Phinix
 
Phinix's Avatar
AddOn Author - Click to view AddOns

Forum posts: 142
File comments: 1064
Uploads: 29
version 1.0.1
- API: VOTANS_MENU_SETTINGS
- Dynamic refresh of Lua memory usage (1s)
Oh, hell yes! Very well done, I love this little addon.
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
Unread 07/01/15, 07:10 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3944
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, 06:45 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 1202
Uploads: 32
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...
__________________
@votan73 (EU - megaserver)
Last edited by votan : 07/01/15 at 07:11 AM.
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: 494
File comments: 1202
Uploads: 32
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.
__________________
@votan73 (EU - megaserver)
Report comment to moderator  
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: 3944
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: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:00 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 494
File comments: 1202
Uploads: 32
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.
__________________
@votan73 (EU - megaserver)
Last edited by votan : 07/01/15 at 06:04 AM.
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
Post A Reply



Category Jump: