Quantcast
Download
(7 Kb)
Download
Updated: 03/25/20 03:49 AM
Pictures
File Info
Compatibility:
Harrowstorm (5.3.4)
Updated:03/25/20 03:49 AM
Created:06/14/14 02:23 PM
Monthly downloads:9,956
Total downloads:52,706
Favorites:101
MD5:
5.3.4
LibHarvensAddonsSettings  Popular! (More than 5000 hits)
Version: 1.7.5
by: Harven [More]
Description
With this addon you can create and add your addon settings to the common settings page. The functionality is similar to great Seerah's LibAddonMenu addon but it's written from scratch. The settings page can be found in Settings->Addons menu. When you open that menu you will see sorted addons names. Chosen addon setting will appear after clicking addon name. Main features:
- only one addon settings are visible at a time,
- no control is created when you define your addon settings to avoid "Too many anchors processed" error,
- controls are created when you select an addon,
- when you select another addon the controls are reused, so the number of controls will stay at decent level

Usage
Edit your addon manifest file and add following line:
Code:
## DependsOn: LibHarvensAddonSettings
Then take a look at this example addon:
lua: HarvensAddonSettingsExample.lua
manifest: HarvensAddonSettingsExample.txt

Version 1.7.5
- editcontrol: new parameters textType and maxChars (thanks to Scootworks),
- editcontrol: save value if you leave the control without pressing enter (thanks to Scootworks),
- bye bye LibStub

Version 1.7.4
- Fixed controls reanchoring to the top of the panel when used together with LAM

Version 1.7.3
- Changed the type of this addon to library,
- Made LibStub optional,
- Compatibility fixes to 100029 API

Version 1.0.7.2
- Lots of changes since last update ;)

Version 1.0.4
- Added support for default values and "Defaults" button handler,
- Settings controls can be enabled/disabled,
- Done some code refactoring,
- Support for optional "options" table as second parameter to LibHarvensAddonSettings:AddAddon(), see example addon.

Version 1.0.3
- Fixed exception caused by adding more than one addon with the same name,
- Colors are removed from addons names.

Version 1.0.2
- Made some fixes suggested by Garkin.

Version 1.0.1
- Removed whole .xml file because when used in more than one addon, virtual controls were redefined and ESO doesn't like it. Insted the controls are created inside the lua code (still using control pools).
Optional Files (0)


Archived Files (8)
File Name
Version
Size
Uploader
Date
1.7.4
6kB
Harven
11/01/19 08:32 AM
1.7.3
6kB
Harven
10/31/19 03:42 PM
1.0.7.2
7kB
Harven
02/27/19 03:56 AM
1.0.4
7kB
Harven
06/19/14 03:39 PM
1.0.3
6kB
Harven
06/17/14 10:37 AM
1.0.2
6kB
Harven
06/15/14 10:51 AM
1.0.1
6kB
Harven
06/14/14 03:58 PM
1.0.0
6kB
Harven
06/14/14 02:23 PM


Post A Reply Comment Options
Unread 04/03/20, 05:41 PM  
Highlor3

Forum posts: 0
File comments: 16
Uploads: 0
My conflicts seem to be with Votan's add-on that use this, they weren't updated yet.
Report comment to moderator  
Reply With Quote
Unread 04/01/20, 11:07 AM  
Octopuss
 
Octopuss's Avatar

Forum posts: 125
File comments: 542
Uploads: 0
Not the subtitle one.
Report comment to moderator  
Reply With Quote
Unread 03/31/20, 06:04 PM  
SteveCampsOut
 
SteveCampsOut's Avatar

Forum posts: 25
File comments: 319
Uploads: 0
All of his addons that this addon affects have been updated now.
Report comment to moderator  
Reply With Quote
Unread 03/30/20, 06:42 AM  
Octopuss
 
Octopuss's Avatar

Forum posts: 125
File comments: 542
Uploads: 0
Installing this addon as standalone completely broke the UI for me. I can't access any menus and the UI mostly stops working alltogether.
The addon is not even visible in addon list on the character selection screen.
Report comment to moderator  
Reply With Quote
Unread 03/30/20, 05:54 AM  
daimon
Premium Member
 
daimon's Avatar
Premium Member

Forum posts: 9
File comments: 96
Uploads: 0
Disables the main menu after pressing ESC if there's no panels open in-game. You can only do /logout after that and disable it.

Error:

Warning: Spoiler



edit: rolled back to 1.7.4. and working ok
__________________
~·Lotro~ DaimonUI ~·~
avatar by Humon
Last edited by daimon : 03/30/20 at 07:23 AM.
Report comment to moderator  
Reply With Quote
Unread 03/28/20, 10:37 PM  
AzraelDrakePhoenix

Forum posts: 0
File comments: 4
Uploads: 0
I've been having the same issue as indorilstarchylde.

I was able to get it to work, mostly, by deleting all copies of the LibHarvensAddonSettings subfolders from all Harven's and Votan's addons, replacing them with LHAS subfolders from those Harven's/Votan's addons that use that instead (this step may be unnecessary, I haven't checked yet), and completely removing all references to the library as a dependency in the TXTs as Votan said to.

When I say it "mostly" works for me this way, however, I mean that I can prevent the interface-breaking issue and that the addons themselves seem to function, but that I have zero access to the addon settings. Clicking the new submenu under Settings that is added reveals no list items and no access to edit settings.

This is not a reasonable workaround for the long term.

If the issue is that the addons themselves haven't been updated to correctly and properly use the newest version of the library, then the addons ought to be updated when possible (EDIT: Harven updated his other addons today, March 29th... I haven't tested them yet, only saw them update in minion, but it's appreciated).

Until then, except for other addon authors wanting to use the library there seems to be no reason to use the updated version of the library, and replacing the updated version of the library with an old version is the most functional option for those of us that have a useable backup.
Last edited by AzraelDrakePhoenix : 03/29/20 at 10:23 PM.
Report comment to moderator  
Reply With Quote
Unread 03/28/20, 10:20 AM  
indorilstarchylde

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Re: Re: Re: Re: LibHarvensAddonSettings 1.7.5 UI Error Upon Logout

i.e. still getting
Failed to create control 'LibHarvensAddonSettingsContainer'. Duplicate name.

followed by

Libraries/ZO_Scene/ZO_Scene.lua:277: in function 'ZO_Scene:SetState'
|caaaaaa<Locals> self = [table:6], newState = "hidden", oldState = "hiding", name = "hud" </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_Scene.lua:426: in function 'ZO_Scene:OnTransitionComplete'
|caaaaaa<Locals> self = [table:6], nextState = "hidden" </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_Scene.lua:421: in function 'ZO_SceneetermineIfTransitionIsComplete'
|caaaaaa<Locals> self = [table:6], nextState = "hidden" </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_Scene.lua:333: in function 'ZO_Scene:RefreshFragments'
|caaaaaa<Locals> self = [table:6], asAResultOfSceneStateChange = T </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_Scene.lua:286: in function 'ZO_Scene:SetState'
|caaaaaa<Locals> self = [table:6], newState = "hiding", oldState = "shown", name = "hud", AS_A_RESULT_OF_SCENE_STATE_CHANGE = T </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_SceneManager_Base.lua:208: in function 'ZO_SceneManager_Base:HideScene'
|caaaaaa<Locals> self = [table:5], scene = [table:6], sequenceNumber = 6 </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_SceneManager_Leader.lua:294: in function 'ZO_SceneManager_Leader:HideScene'
|caaaaaa<Locals> self = [table:5], scene = [table:6] </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_SceneManager_Leader.lua:258: in function 'ZO_SceneManager_Leader:Show'
|caaaaaa<Locals> self = [table:5], sceneName = "gameMenuInGame", nextSceneClearsSceneStack = T, numScenesNextScenePops = 0, currentScene = [table:6], nextScene = [table:2] </Locals>|r
EsoUI/Libraries/ZO_Scene/ZO_SceneManager_Base.lua:224: in function 'ZO_SceneManager_Base:Toggle'
|caaaaaa<Locals> self = [table:5], sceneName = "gameMenuInGame" </Locals>|r
EsoUI/Ingame/Scenes/IngameSceneManager.lua:590: in function 'ZO_IngameSceneManager:OnToggleGameMenuBinding'
|caaaaaa<Locals> self = [table:5], SHOW_BASE_SCENE = T, topLevelHidden = F, baseSceneShown = F </Locals>|r
EsoUI/Ingame/Scenes/IngameSceneManager.lua:619: in function 'ZO_SceneManager_ToggleGameMenuBinding'
:1: in function '(main chunk)'
|caaaaaa<Locals> keybind = "TOGGLE_SYSTEM" </Locals>|r

completely disables the ability to get back to the menu!


Originally Posted by votan
Originally Posted by HowellQagan
Originally Posted by votan
Originally Posted by Shadowshire
The only way to prevent it was to re-install the previous version of the library. As far as I know, it does not have any issues. .....
The lib itself is correct. The addons of Harven are not up-to-date. Remove all other subfolders of LibHarvensAddonSettings and check if the TXTs containing ## DependsOn: LibHarvensAddonSettings
And do what @Kenza said.
VotansAdaptiveSettings has this lib too. And the searchbox addon too. One addon even had it in a folder called LHAS.
I use this lib the new way already. The ESO client will load the new lib (version 10705) instead of the included ones (10704).
If you have an old folder called LHAS it is not included in the TXT and not loaded. You can delete them, as they are not use.
Or tell me which addon you are talking about.
Report comment to moderator  
Reply With Quote
Unread 03/28/20, 10:19 AM  
indorilstarchylde

Forum posts: 0
File comments: 8
Uploads: 0
Re: Re: Re: Re: Re: Re: LibHarvensAddonSettings 1.7.5 UI Error Upon Logout

What do you mean "I use this lib the new way already?" I've gone through and removed all the references on all the addins I can find that use it... Still having the same issue. We really need the addins updated or the lib updated or whatever. I'm not a programmer and I've done my best to fix the issue on my own, using directions provided below, with no result...

Originally Posted by votan
Originally Posted by HowellQagan
Originally Posted by votan
Originally Posted by Shadowshire
The only way to prevent it was to re-install the previous version of the library. As far as I know, it does not have any issues. .....
The lib itself is correct. The addons of Harven are not up-to-date. Remove all other subfolders of LibHarvensAddonSettings and check if the TXTs containing ## DependsOn: LibHarvensAddonSettings
And do what @Kenza said.
VotansAdaptiveSettings has this lib too. And the searchbox addon too. One addon even had it in a folder called LHAS.
I use this lib the new way already. The ESO client will load the new lib (version 10705) instead of the included ones (10704).
If you have an old folder called LHAS it is not included in the TXT and not loaded. You can delete them, as they are not use.
Or tell me which addon you are talking about.
Report comment to moderator  
Reply With Quote
Unread 03/28/20, 08:59 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 505
File comments: 1283
Uploads: 33
Re: Re: Re: Re: Re: LibHarvensAddonSettings 1.7.5 UI Error Upon Logout

Originally Posted by HowellQagan
Originally Posted by votan
Originally Posted by Shadowshire
The only way to prevent it was to re-install the previous version of the library. As far as I know, it does not have any issues. .....
The lib itself is correct. The addons of Harven are not up-to-date. Remove all other subfolders of LibHarvensAddonSettings and check if the TXTs containing ## DependsOn: LibHarvensAddonSettings
And do what @Kenza said.
VotansAdaptiveSettings has this lib too. And the searchbox addon too. One addon even had it in a folder called LHAS.
I use this lib the new way already. The ESO client will load the new lib (version 10705) instead of the included ones (10704).
If you have an old folder called LHAS it is not included in the TXT and not loaded. You can delete them, as they are not use.
Or tell me which addon you are talking about.
__________________
@votan73 (EU - megaserver)
Last edited by votan : 03/28/20 at 09:02 AM.
Report comment to moderator  
Reply With Quote
Unread 03/28/20, 07:26 AM  
HowellQagan
 
HowellQagan's Avatar

Forum posts: 8
File comments: 191
Uploads: 0
Re: Re: Re: Re: LibHarvensAddonSettings 1.7.5 UI Error Upon Logout

Originally Posted by votan
Originally Posted by Shadowshire
The only way to prevent it was to re-install the previous version of the library. As far as I know, it does not have any issues. .....
The lib itself is correct. The addons of Harven are not up-to-date. Remove all other subfolders of LibHarvensAddonSettings and check if the TXTs containing ## DependsOn: LibHarvensAddonSettings
And do what @Kenza said.
VotansAdaptiveSettings has this lib too. And the searchbox addon too. One addon even had it in a folder called LHAS.
Report comment to moderator  
Reply With Quote
Unread 03/27/20, 07:05 AM  
Grumbleweed

Forum posts: 0
File comments: 20
Uploads: 0
The addon that was causing me an issue was Harven's Quest Journal. Once I had deleted the lib folder that was inside the HarvensQuestJournal folder and changed one line in the lua everything worked fine.

Many thanks @votan and @Kenza
Last edited by Grumbleweed : 03/27/20 at 07:05 AM.
Report comment to moderator  
Reply With Quote
Unread 03/27/20, 02:35 AM  
votan
 
votan's Avatar
AddOn Author - Click to view AddOns

Forum posts: 505
File comments: 1283
Uploads: 33
Re: Re: Re: LibHarvensAddonSettings 1.7.5 UI Error Upon Logout

Originally Posted by Shadowshire
The only way to prevent it was to re-install the previous version of the library. As far as I know, it does not have any issues. .....
The lib itself is correct. The addons of Harven are not up-to-date. Remove all other subfolders of LibHarvensAddonSettings and check if the TXTs containing ## DependsOn: LibHarvensAddonSettings
And do what @Kenza said.
__________________
@votan73 (EU - megaserver)
Report comment to moderator  
Reply With Quote
Unread 03/26/20, 10:48 PM  
Shadowshire

Forum posts: 1
File comments: 308
Uploads: 0
Re: Re: LibHarvensAddonSettings 1.7.5 UI Error Upon Logout

Originally Posted by Highlor3
Originally Posted by Shadowshire
When I attempted to log-out of my character, the following UI Error was displayed:
Code:
Failed to create control 'LibHarvensAddonSettingsContainer'. Duplicate name.
Afterward, I could not use <ESC> to display its menu. After using /reloadui the same error was shown again when I attempted to log-out . So, I had to use /logout to return to the Character Select UI.
I'm having exactly the same issue.
The only way to prevent it was to re-install the previous version of the library. As far as I know, it does not have any issues. .....
__________________
---- Shadowshire ..... nil carborundum illegitimi
Report comment to moderator  
Reply With Quote
Unread 03/26/20, 09:58 AM  
Highlor3

Forum posts: 0
File comments: 16
Uploads: 0
Re: LibHarvensAddonSettings 1.7.5 UI Error Upon Logout

Originally Posted by Shadowshire
When I attempted to log-out of my character, the following UI Error was displayed:
Code:
Failed to create control 'LibHarvensAddonSettingsContainer'. Duplicate name.
Afterward, I could not use <ESC> to display its menu. After using /reloadui the same error was shown again when I attempted to log-out . So, I had to use /logout to return to the Character Select UI.
I'm having exactly the same issue.
Report comment to moderator  
Reply With Quote
Unread 03/25/20, 09:11 PM  
Shadowshire

Forum posts: 1
File comments: 308
Uploads: 0
Arrow LibHarvensAddonSettings 1.7.5 UI Error Upon Logout

When I attempted to log-out of my character, the following UI Error was displayed:
Code:
Failed to create control 'LibHarvensAddonSettingsContainer'. Duplicate name.
Afterward, I could not use <ESC> to display its menu. After using /reloadui the same error was shown again when I attempted to log-out . So, I had to use /logout to return to the Character Select UI.
__________________
---- Shadowshire ..... nil carborundum illegitimi
Last edited by Shadowshire : 03/25/20 at 09:19 PM.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: