Thread Tools Display Modes
Unread 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.
CobraA1 is offline  
Unread 07-08-12, 04:08 AM   #2
Haleth
This Space For Rent
 
Haleth's Avatar
WoWInterface Super Mod
Featured
Join Date: Sep 2008
Posts: 1,170
http://www.wowpedia.org/Patch_5.0.1/API_changes

GetAddOnMetadata returns nil for fields starting with "X-".
Haleth is offline  
Unread 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?
CobraA1 is offline  
Unread 07-09-12, 01:49 AM   #4
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,388
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.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline  
Unread 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,362
So we are ...
__________________
| Simple is beautiful.
| Roth UI | Roth UI FAQ | GoogleCode | Zork | TDMOG

"I wonder what the non-pathetic people are doing tonight?" - Rajesh Koothrappali (The Big Bang Theory)
zork is offline  
Unread 07-09-12, 12:48 PM   #6
Seerah
Fishing Trainer
 
Seerah's Avatar
WoWInterface Super Mod
Featured
Join Date: Oct 2006
Posts: 9,617
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

Seerah is offline  
Unread 07-09-12, 01:04 PM   #7
Guillotine
A Cobalt Mageweaver
 
Guillotine's Avatar
AddOn Author - Click to view addons
Join Date: Oct 2005
Posts: 247
This is a known bug. It should be fixed in the next build.
Guillotine is offline  
Unread 08-03-12, 06:51 AM   #8
Sinaris
A Cyclonian
 
Sinaris's Avatar
AddOn Compiler - Click to view compilations
Join Date: Oct 2008
Posts: 48
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
Sinaris is offline  
Unread 08-03-12, 09:41 PM   #9
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,388
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.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline  
Unread 08-04-12, 12:55 PM   #10
Sinaris
A Cyclonian
 
Sinaris's Avatar
AddOn Compiler - Click to view compilations
Join Date: Oct 2008
Posts: 48
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.
Sinaris is offline  
Unread 08-04-12, 08:52 PM   #11
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,388
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.
__________________
Author/maintainer of Grid, PhanxChat, ShieldsUp, and many more.
Troubleshoot an addonTurn any code into an addonMore addon resources
Need help with your code? Post all of your actual code! Attach or paste your files.
Please don’t PM me about addon bugs or code questions. Post a comment or forum thread instead!
Phanx is offline  
 

Go BackWoWInterface » WoD Beta » MoP 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