Reply
Thread Tools Display Modes
Unread 03-24-13, 10:14 AM   #1
Elderin
A Deviate Faerie Dragon
Join Date: Nov 2012
Posts: 14
Wow Interface Addon Kit Updates

How often is the WoW Interface Addon Kit updated? Or, perhaps, more specifically, how long does it take to see new information in the Addon Kit?

For example, when I look in my interface\addons folder I am seeing Blizzard_PetBattleUI, however a fresh download of the Addon Kit does not include that "addon". I recently had an ingame discussion with a GM and he informed me that those Blizzard_* folders were not really addons but are templates for addon developers to use. As such I sort of expected to see the equivalents in the Addon Kit.

What I am really looking for are the frames, code, etc that implement the fading "You Won!" message. It is also used to notify the player of additional informtion, such as additional loot that the player is receiving.

Perhaps someone already knows the answer. But, I really expected to see that code in the Addon Kit.

Last edited by Elderin : 03-24-13 at 10:16 AM.
Elderin is offline   Reply With Quote
Unread 03-24-13, 10:21 AM   #2
Tim
A Warpwood Thunder Caller
 
Tim's Avatar
AddOn Author - Click to view addons
Join Date: Apr 2008
Posts: 91
I'm not really sure how often the kit is updated but you can find a copy of updated files at https://github.com/tekkub/wow-ui-source.
__________________
++ Cirax's Repository
++ Author of oUF_DHUD and cTools
Tim is online now   Reply With Quote
Unread 03-24-13, 10:44 AM   #3
Fizzlemizz
A Frostmaul Preserver
 
Fizzlemizz's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 272
You can export all the code and images from wow by running wow.exe with the -console parameter then enter tilde "~" from the startup screen and enter

ExportInterfaceFiles code
or
ExportInterfaceFiles art

They'll appear in the BlizzardInterfaceArt and BlizzardInterfaceCode folders under your wow directory.
__________________
FizzleMizz Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle
Fizzlemizz is offline   Reply With Quote
Unread 03-24-13, 10:50 AM   #4
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member
Join Date: May 2008
Posts: 128
Originally Posted by Fizzlemizz View Post
You can export all the code and images from wow by running wow.exe with the -console parameter then enter tilde "~" from the startup screen and enter

ExportInterfaceFiles code
or
ExportInterfaceFiles art

They'll appear in the BlizzardInterfaceArt and BlizzardInterfaceCode folders under your wow directory.
Is that even documented anywhere?
pelf is offline   Reply With Quote
Unread 03-24-13, 10:52 AM   #5
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 546
http://www.wowpedia.org/Viewing_Bliz...interface_code
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Rilgamon is offline   Reply With Quote
Unread 03-24-13, 10:57 AM   #6
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member
Join Date: May 2008
Posts: 128
That's not what I really meant. I mean something more general ... what else can you type in there that you can't normally do with /console? How did the person who wrote the Wowpedia article find out the commands and what they do?
pelf is offline   Reply With Quote
Unread 03-24-13, 11:06 AM   #7
Rilgamon
Premium Member
 
Rilgamon's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Sep 2009
Posts: 546
Stuff like this is communicated in the us-forums. Mostly in the extended patch-notes for the ui.

This -console is different to /console ... its an argument passed to the client at startup and you get an additional console at the login-panel where you can enter this stuff.
__________________
The cataclysm broke the world ... and the pandas could not fix it!
Rilgamon is offline   Reply With Quote
Unread 03-24-13, 11:19 AM   #8
pelf
Sentient Plasmoid
 
pelf's Avatar
Premium Member
Join Date: May 2008
Posts: 128
Originally Posted by Rilgamon View Post
Stuff like this is communicated in the us-forums. Mostly in the extended patch-notes for the ui.

This -console is different to /console ... its an argument passed to the client at startup and you get an additional console at the login-panel where you can enter this stuff.
Yeah, I understand that. I assume you can set the console variables from either console though which means you can probably issue /console gxRestart from there too since the engine is probably loaded to show the login scene? Anyway, I assumed it was different in some way, so I was hoping there might be some, as I said, more general information about what you could do there.
pelf is offline   Reply With Quote
Unread 03-26-13, 11:50 AM   #9
Elderin
A Deviate Faerie Dragon
Join Date: Nov 2012
Posts: 14
Originally Posted by Fizzlemizz View Post
You can export all the code and images from wow by running wow.exe with the -console parameter then enter tilde "~" from the startup screen and enter

ExportInterfaceFiles code
or
ExportInterfaceFiles art

They'll appear in the BlizzardInterfaceArt and BlizzardInterfaceCode folders under your wow directory.
Thank you, very much. This worked very nicely. I did have to wait abit for the "art" folder to be created and populated. Actually, Windows reported World of Warcraft as "not responding" during the art export. A little patience, and the process completed.

So, I read through the BattlePetUI files and was unable to find a reference to the frame I am interested in. It shows up after the battle, saying "You Won!" if you won, and reporting additional loot you may be receiving. The frame has a faded line above, and one below, the text of the message with no right and left borders. The text fades and the frame hides. I can implement the fading text by varing the alpha. But am wanting to duplicate the lines and text sizes, perhaps colors.

I am currently using a macro, /script print(GetMouseFocus():GetName()), to identify frames to help with finding them in code. However, by the time the battle is over and the text is displayed on the screen, all the macro reports is "WorldFrame". And, of course, it then fades completely away. Interestingly enough it appears that sometimes clicking on the text causes it to pause, remaining on the screen longer - Perhaps it resets the alpha timer.

Even more strange, today I am seeing the text appear, fade out, then the lines appear for a bit, they they too, go away!

Last edited by Elderin : 03-26-13 at 12:33 PM. Reason: Added last observation
Elderin is offline   Reply With Quote
Unread 03-26-13, 12:42 PM   #10
Fizzlemizz
A Frostmaul Preserver
 
Fizzlemizz's Avatar
AddOn Author - Click to view addons
Join Date: Dec 2011
Posts: 272
you could try using /fstack which will display a tooltip with the name of any frame(s) the mouse moves over. Type /fstack again to turn it off.
__________________
FizzleMizz Maintainer of Discord Unit Frames and Discord Art.
Author of FauxMazzle
Fizzlemizz is offline   Reply With Quote
Unread 03-26-13, 10:53 PM   #11
Phanx
A Pyroguard Emberseer
 
Phanx's Avatar
AddOn Author - Click to view addons
Join Date: Mar 2006
Posts: 4,259
The "You Won!" text isn't handled by the PetBattleUI; it's handled by the LevelUpDisplay. Specifically:

Code:
LevelUpDisplay (frame)
 ↳ LevelUpDisplayLevelFrame (frame)
    ↳ LevelUpDisplayLevelFrameTextLine (fontstring)
See also: FrameXML\LevelUpDisplay.lua and FrameXML\LevelUpDisplay.xml.
__________________
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   Reply With Quote
Unread 03-28-13, 04:26 PM   #12
Elderin
A Deviate Faerie Dragon
Join Date: Nov 2012
Posts: 14
Thanks, Phanx. Yeah, I discovered that after using the /fstack thing and thank you, Fizzlemizz, for that suggestion.

So, now I have something to dig into and explore.

Thanks, again, for the help and advice.
Elderin is offline   Reply With Quote
Reply

Go BackWoWInterface » Developer Discussions » Lua/XML Help » Wow Interface Addon Kit Updates

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