Go Back   WowAce Forums > Addon Chat > AddOn HELP!
AddOn HELP! Requests for assistance and misc bug reports go here.

Reply
 
Thread Tools
Old 2 Weeks Ago   #1
fyrye
Full Member
 
fyrye's Avatar
 
Join Date: Jan 2008
Posts: 122
Default Metadata / savedvariables

Ok from what I'm seeing (searched) the fields SavedVariables and SavedVariablesPerCharacter are hidden from GetAddOnMetadata.
Looking for confirmation on this so I know I'm not going crazy.

My goal is to be able to detect the variable/s used outside of the AceDB registry as well as with-in. So any alternatives or ideas to try would be appreciated.
Otherwise I will just have to rely on the user to look it up in the TOC manually.
fyrye is offline   Reply With Quote
Old 2 Weeks Ago   #2
Xinhuan
Asian Sheep Lover
 
Xinhuan's Avatar
 
Join Date: Aug 2007
Location: Singapore
Posts: 3,420
Default Re: Metadata / savedvariables

Confirmed. You will not know which global variable(s) is used for each addon's SV through WoW's API.

Why do you need this though?
__________________
Author/Maintainer of Postal, Omen3, GemHelper, BankItems, WoWEquip, GatherMate, Routes, HandyNotes and some others.
Xinhuan is offline   Reply With Quote
Old 2 Weeks Ago   #3
fyrye
Full Member
 
fyrye's Avatar
 
Join Date: Jan 2008
Posts: 122
Default Re: Metadata / savedvariables

A while back I started creating an addon to help Compilation developers easily and securely save their current UI and be able to share it with others, similar to Reflux but from an in game menu rather than slash commands.
I first got the idea when a dyslexic friend wanted my questing compilation, and I wrote a javascript to install and configure it for him on all his toons.

I've been messing with the ins and outs of everything since then, from obtaining macro info, chatframe layout, color, channels, font types to now trying to obtain and merge database information.

So instead of a compilation being uploaded with a WTF folder filled with layout-cache.txt, macro-cache.txt, chat-cache.txt, and so on, it would allow a developer to go in game, see a list of addons currently running in their UI, and select which Addon/s, and configurations (such as chat/scale) to save to a single savedvariable file.
As well as provide criteria for loading the savedvariables, such as resolution, class, race, faction, always (meaning it always loads them oninit), merge (merges the information with their respective addon savedvars)

The developer then includes a copy of the loader version of the addon and the single savedvariables file for their compilation The user simply copies the addons into their interface directory, and the single savedvariables file in to their /account/savedvariables folder. Launches WoW and watches as the magic happens.

I'm also thinking of but probably wont do a user end conditional setup, which would provide a frame to the end-user for conditional setups.
Like Please choose a layout: Radio Button A, Radio Button B
Or please choose a feature: Drop Down menu w/Options
That the End User can choose to help customize their UI based on the developers criteria.
fyrye is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT. The time now is 09:09 AM.