Thread Tools Display Modes
07-08-12, 03:55 AM   #1
CobraA1
A Cliff Giant
 
CobraA1's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 73
GetAddOnMetadata?

Anybody know what the deal is with GetAddOnMetadata?

Apparently it stopped working with the "X-" fields. I was actually using them a bit for various things, but now it looks like I may have to move all of that into my code.
 
07-08-12, 04:08 AM   #2
Haleth
This Space For Rent
 
Haleth's Avatar
Featured
Join Date: Sep 2008
Posts: 1,173
http://www.wowpedia.org/Patch_5.0.1/API_changes

GetAddOnMetadata returns nil for fields starting with "X-".
 
07-08-12, 11:09 PM   #3
CobraA1
A Cliff Giant
 
CobraA1's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 73
Right. Is that it? Have we lost all of our ability to use custom fields in the TOC altogether?
 
07-09-12, 01:49 AM   #4
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
Nobody knows, as Blizzard has not addressed the issue. You -- like the rest of us -- will just have to wait and see if Blizzard fixes this bug, or tells us it's a bug but they won't fix it right now, or tells us it's an intended change, or tells us nothing and does nothing.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
 
07-09-12, 09:32 AM   #5
zork
A Pyroguard Emberseer
 
zork's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2008
Posts: 1,740
So we are ...
http://www.youtube.com/watch?v=DpnvS7kM4Fs
__________________
| Simple is beautiful.
| WoWI AddOns | GitHub | Zork (WoW)

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
 
07-09-12, 12:48 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 10,860
No. You just need to be patient.
__________________
"You'd be surprised how many people violate this simple principle every day of their lives and try to fit square pegs into round holes, ignoring the clear reality that Things Are As They Are." -Benjamin Hoff, The Tao of Pooh

 
08-03-12, 06:51 AM   #7
Sinaris
A Wyrmkin Dreamwalker
 
Sinaris's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 55
Originally Posted by CobraA1 View Post
Anybody know what the deal is with GetAddOnMetadata?

Apparently it stopped working with the "X-" fields. I was actually using them a bit for various things, but now it looks like I may have to move all of that into my code.
Are there some more infos about that?
Currently i am working on my interface, and it seems that things like ColorGradient and some other oUF parts are still not working if i used it via X-oUF into my toc file
 
08-03-12, 09:41 PM   #8
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
The bug with X fields was fixed already. If you're having some problem with embedding oUF, it's likely a bug in your code, or a bug in oUF. Make sure you have the latest version from GitHub, and then post in the oUF forum with your code if you still have issues.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
 
08-04-12, 12:55 PM   #9
Sinaris
A Wyrmkin Dreamwalker
 
Sinaris's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2008
Posts: 55
i found the error i had.
haste had changed the ColorGardient function into the oUF core files.

the old way i used some month was this:

Lua Code:
  1. local r, g, b = oUFTukui.ColorGradient( min / max, unpack( C["unitframes"]["gradient"] ) )

the first value of the function was value X / value Y
the new function said this:

Lua Code:
  1. local r, g, b = oUFTukui.ColorGradient( min, max, unpack( C["unitframes"]["gradient"] ) )

now i have to put in both variables into the function instead of one single variable.
 
08-04-12, 08:52 PM   #10
Phanx
Cat.
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 5,617
That really belongs in the oUF forum; it has nothing to do with GetAddOnMetadata, and likely nobody looking for the information you're posting will ever look at this thread.
__________________
Retired author of too many addons.
Message me if you're interested in taking over one of my addons.
Don’t message me about addon bugs or programming questions.
 
 

WoWInterface » Site Forums » Archived Beta Forums » MoP Beta archived threads » GetAddOnMetadata?

Thread Tools
Display Modes

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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off