Download
(2 Kb)
Download
Updated: 04/12/21 11:28 AM
Pictures
File Info
Compatibility:
Flames of Ambition (6.3.5)
Markarth (6.2.5)
Stonethorn (6.1.5)
Greymoor (6.0.5)
Updated:04/12/21 11:28 AM
Created:03/23/15 02:07 PM
Monthly downloads:180
Total downloads:414,357
Favorites:203
MD5:
LibMainMenu (DO NOT USE ANYMORE - PLEASE SWITCH TO: LibMainMenu-2.0)  Popular! (More than 5000 hits)
Version: 999
by: Ayantir, Baertram
LiMainMenu must not be used any longer! Please install LibMainmenu-2.0 instead:
https://www.esoui.com/downloads/info...nMenu-2.0.html

All addons uisng LibMainMenu 1 should migrate to LMM 2.0!
Check description and comments for further "howto" instructions


Change your txt file:
Remove:
## (Optional)DependsOn: LibMainMenu

Add:
## (Optional)DependsOn: LibMainMenu-2.0>=40400


Change your lua files:
All LibMainMenu references need to be changed to LibMainMenu2 references!

e.g. Remove:
Local LMM = LibMainMenu

e.g. Add:
Local LMM = LibMainMenu2
v999
======
LiMainMenu must not be used any longer! Please install LibMainmenu-2.0 instead and all addons uisng LibMainMenu 1 should migrate to LMM 2.0!
Check description and comments for further "howto" instructions


v10
======
-Fixed lua errors in line 69 + 70

v9
======
-Removed LibStub
-Updated to API Markarth
-Fixed ZO_Object usage lua error

v8
======
Added some more security checks if the library was loaded properly to avoid problems with old addons having this library included hardcoded

v7
======
-Updated API
-Fixed global variable LibMainMenu to be loaded after LibStub checks etc. in order to fix "overwriting/clearing" of the variable -> Many thanks to Knurps for the info

v6
======
-Added ## AddOnVersion and ## IsLibrary: true tags
-Added global variable LibMainMenu for the library referencing (instead of LibStub!). The global LIBMAINMENU is still given for debugging.
-Added txt file to load the library as standalone version
-Made the library loadable without (prefered!) and with LibStub (old way, please change to usage of the global variable LibMainMenu!)

v5
======
- Fixed duplicate controls at startup, sorry.

v4
======
- Completly disabled the handler which emulated Main Menu top bar and which could trigger randomly when altabbing. This function was unused, so 0 changes.

v3
======
- Little fix, caused by bad a bad copy/paste which triggered error sometimes when alt-tabing.

v2
======
- No longer rewrites MAIN_MENU but emulates it. As consequence, Menus added by LibMainMenu won't be anymore added to Main menu at top of the screen. Also call to LibMainMenu has been a little bit modified.

v1
======
Initial release
Archived Files (10)
File Name
Version
Size
Uploader
Date
10
5kB
Baertram
02/21/21 11:05 AM
9
5kB
Baertram
11/02/20 07:06 AM
8
5kB
Baertram
12/06/19 04:51 PM
7
4kB
Baertram
12/02/19 09:50 AM
6
5kB
Baertram
10/01/19 10:04 AM
5
4kB
Ayantir
04/29/15 12:17 PM
4
4kB
Ayantir
04/16/15 09:35 PM
3
4kB
Ayantir
04/03/15 12:43 PM
2
4kB
Ayantir
03/30/15 11:04 AM
1
3kB
03/23/15 02:07 PM


Post A Reply Comment Options
Unread 03/29/15, 02:27 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
Originally Posted by Ayantir
Just a Word to say that after a long moment to study if I could do this, I think I can't anymore use this library as it's actually writen because of some problems this library introduce.

So.. this library is loaded by addon manager. and so on, it's an insecure code who handles scenes. 0 problemes for all scenes in whole game (there are 134 scenes in game). Except 1, the new market.

It's a "remote scene" and one of it's main functions (ChangeRemoteSceneVisibility) is protected.
It use the fragment STOP_MOVEMENT_FRAGMENT which calls StopAllMovement() which is also protected.

If I could bypass the fragment by deleting it in some dirty way, I can clearly not touch to ChangeRemoteSceneVisibility which is clearly here to protect the market itself from addon modifications

Modifying MAIN_MENU in other way in order maybe to add a nice menu is not really possible due to the local var CATEGORY_LAYOUT_INFO which handle everything and this library was bypassing by calling the global subarray dumped by this var, so I'll rewrite everything and "emulate" menus as they were real ones without using MAIN_MENU itself.

bit sad
im not really a developer, but mby this will help you

http://www.esoui.com/forums/showthread.php?t=4469
Report comment to moderator  
Reply With Quote
Unread 03/26/15, 06:42 PM  
Ayantir
 
Ayantir's Avatar
AddOn Author - Click to view AddOns

Forum posts: 1019
File comments: 1531
Uploads: 31
Just a Word to say that after a long moment to study if I could do this, I think I can't anymore use this library as it's actually writen because of some problems this library introduce.

So.. this library is loaded by addon manager. and so on, it's an insecure code who handles scenes. 0 problemes for all scenes in whole game (there are 134 scenes in game). Except 1, the new market.

It's a "remote scene" and one of it's main functions (ChangeRemoteSceneVisibility) is protected.
It use the fragment STOP_MOVEMENT_FRAGMENT which calls StopAllMovement() which is also protected.

If I could bypass the fragment by deleting it in some dirty way, I can clearly not touch to ChangeRemoteSceneVisibility which is clearly here to protect the market itself from addon modifications

Modifying MAIN_MENU in other way in order maybe to add a nice menu is not really possible due to the local var CATEGORY_LAYOUT_INFO which handle everything and this library was bypassing by calling the global subarray dumped by this var, so I'll rewrite everything and "emulate" menus as they were real ones without using MAIN_MENU itself.

bit sad
Report comment to moderator  
Reply With Quote
Unread 03/23/15, 06:15 PM  
Randactyl
 
Randactyl's Avatar
AddOn Author - Click to view AddOns

Forum posts: 251
File comments: 462
Uploads: 17
Awesome. This should make a few things I'm working on more manageable
Report comment to moderator  
Reply With Quote
Unread 03/23/15, 02:50 PM  
dominoid
AddOn Author - Click to view AddOns

Forum posts: 34
File comments: 276
Uploads: 2
This looks spiffy. Thanks.
Last edited by dominoid : 03/23/15 at 02:50 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: