WoW BlueTracker Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
Poster: Iriel at 7/5/2005 5:50:19 PM PDT
Subject: Upcoming 1.7 Changes - Concise List
   This thread will be an accumulation of the upcoming changes for the 1.7 patch.

Macros
* Macro cooldown indicators will function correctly after a UI reload (rather than breaking until macro is edited)

Map/Zone
* Fixed GetCurrentMapZone() so that the correct value will still be returned after a reload.
* Fixed GetZonePVPInfo() so that the correct value will still be returned after a reload.

Addon Support
* Ability to disable FrameXML Overrides from Addons panel.
> Use ## SavedVariables: instead of RegisterForSave()
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post174783
 
Poster: slouken at 7/5/2005 8:16:52 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Addon Support
* Ability to disable FrameXML Overrides from Addons panel.


Go ahead and scratch that.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post174860
Poster: slouken at 7/5/2005 8:17:46 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Not sure if they are applicable, but there are promised pet AI changes here:

http://forums.worldofwarcraft.com/thread.aspx?fn=wow-bugs&t=45026&p=1


These aren't really appropriate here.

However, in 1.7 you will be able to use pet spells in /cast and CastSpellByName(), and they'll work like player spells in macros.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post174861
Poster: slouken at 7/5/2005 8:16:52 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:
Addon Support
* Ability to disable FrameXML Overrides from Addons panel.


Go ahead and scratch that. More details coming later.

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post174860
Poster: slouken at 7/5/2005 8:17:46 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:
Not sure if they are applicable, but there are promised pet AI changes here:

http://forums.worldofwarcraft.com/thread.aspx?fn=wow-bugs&t=45026&p=1


These aren't really appropriate here.

However, in 1.7 you will be able to use pet spells in /cast and CastSpellByName(), and they'll work like player spells in macros.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post174861
Poster: slouken at 7/6/2005 10:36:46 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   You can already do this. Take a look at DebugUI.xml (specifically the call to FrameXML_Debug(1))
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175175
Poster: slouken at 7/6/2005 3:13:34 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Mmm, maybe not. Anyway, stick that line in something that loads early.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175371
Poster: slouken at 7/6/2005 5:48:25 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   New functions in 1.7:
debugprofilestart()
debugprofilestop() - return the time in milliseconds since the last call to debugprofilestart()
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175460
Poster: slouken at 7/6/2005 6:35:22 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Does your comment imply they nest correctly


No, they don't nest correctly. It's the fast and easy implementation. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175512
Poster: slouken at 7/6/2005 7:41:33 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Ah, an equivalent of sorts to:

local lasttime = 0;


function debugprofilestart()
lastime = GetTime() * 1000;
end

function debugprofilestop()
return GetTime()*1000 - lasttime;
end




Yep, exactly equivalent to that. Yes, you can call debugprofilestop() multiple times to get cumulative elapsed time since the last call to debugprofilestart()
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175549
Poster: slouken at 7/7/2005 11:41:44 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Does the modification to pet spells being cast via CastSpellByName also mean that can no longer do that as well as use a regular spell at the same time?

IIRC you could do a pet spell in the same macro as a player ability, would this break that?


No, you can still do that.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175895
Poster: slouken at 7/7/2005 11:57:59 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Here's a pretty significant change that will improve targeting performance considerably:
When a unit ID is made available to the scripting system (e.g. target, pet, player, etc.), we no longer spam a bunch of events for information about that unit (e.g. health, etc.)
What you'll have to do is watch for the event you care about (like PLAYER_TARGET_CHANGED) and then poll the information you want to know about.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175912
Poster: slouken at 7/7/2005 12:01:01 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   In 1.7 you will no longer be able to modify the core UI files. Most addons are well behaved and don't modify the core files, but I know there are a few that still need to for one reason or another. For those that do, what functionality are they trying to override that can't be done with the existing addon system?
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175913
Poster: slouken at 7/7/2005 1:28:18 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Yes, it just affects UI files.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175985
Poster: slouken at 7/7/2005 1:40:26 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Go ahead and give me a complete list of textures that need names, and I'll get as many added as possible. .. and don't give me every texture in the game. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175999
Poster: slouken at 7/7/2005 1:28:18 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
   Yes, it just affects UI files.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175985
Poster: slouken at 7/7/2005 1:40:26 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
   Go ahead and give me a complete list of textures that need names, and I'll get as many added as possible. .. and don't give me every texture in the game. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post175999
Poster: slouken at 7/8/2005 9:30:11 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   It looks like you will still be able to modify the FrameXML files in 1.7. You still won't be able to in some future patch, so it's a good idea to get away from it if you're still modifying them for some reason.

BTW, thanks for all the feedback. I'll look at adding these features as I have time.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176561
Poster: slouken at 7/8/2005 10:55:21 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   It's on my list to look at. At the moment I'm adding bugs .. er, optimizing some of the UI code
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176610
Poster: slouken at 7/8/2005 6:02:23 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
So, another request is to be able to register new script handlers (On<X>) for UI elements that dont currently exist.

(Ideally we'd also like to have programatic access to get at, call, and replace/modify/remove existing ones, but simply "add where missing" would be a great help).


You got it:
New frame member functions GetScript() and SetScript() can modify frame event scripts.

e.g.

local showfunctable = {};
function MyAddOn_CustomOnShow()
local func = showfunctable [this:GetName()];
if ( func ) then
func();
end
-- Do something fancy here
end

showfunctable [frame:GetName()] = frame:GetScript("OnShow");
frame:SetScript("OnShow", MyAddOn_CustomOnShow);
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176894
Poster: slouken at 7/8/2005 6:11:18 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
I hate to do this but Slouken - Can you possibly take a look at this SimpleHTML bug - it feels like it'd be a simple fix:

http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=175642


Yep, fixed for 1.7
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176899
Poster: slouken at 7/8/2005 6:34:38 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   *laugh* No, sorry.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176910
Poster: slouken at 7/8/2005 6:48:09 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:

1) Is it correct to assume that GetScript() returns nil if the frame doesn't have a handler installed for an action

2) Can we call SetScript("OnBlah", nil) to remove a handler for an event (and does that work efficiently for "OnUpdate" -- This could be very very nice)


Yes, and yes.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176918
Poster: slouken at 7/8/2005 6:49:41 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Turning this one into another feature request: Can we get methods to change the fonts on things after they're created?


Yes. I added FontString:SetFont("font", size [, "flags"]), and I'll add more robust support as I have time.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176919
Poster: slouken at 7/8/2005 6:51:46 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Please update the first post to remove this:
* It will no longer be possible to override files in Interface/FrameXML

(and possibly add something to indicate that features are being added so modifying FrameXML files are less necessary?)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176922
Poster: slouken at 7/8/2005 10:55:21 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
   It's on my list to look at. At the moment I'm adding bugs .. er, optimizing some of the UI code
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176610
Poster: slouken at 7/8/2005 6:02:23 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:
So, another request is to be able to register new script handlers (On<X>) for UI elements that dont currently exist.

(Ideally we'd also like to have programatic access to get at, call, and replace/modify/remove existing ones, but simply "add where missing" would be a great help).


You got it:
New frame member functions GetScript() and SetScript() can modify frame event scripts.

e.g.

local showfunctable = {};
function MyAddOn_CustomOnShow()
local func = showfunctable [this:GetName()];
if ( func ) then
func();
end
-- Do something fancy here
end

showfunctable [frame:GetName()] = frame:GetScript("OnShow");
frame:SetScript("OnShow", MyAddOn_CustomOnShow);
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176894
Poster: slouken at 7/8/2005 8:42:26 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Done - hopefully the wording makes sense - I'll go in and add that last idea too.


Looks good, thanks!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176972
Poster: slouken at 7/8/2005 9:30:11 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
   It looks like you will still be able to modify the FrameXML files in 1.7. You still won't be able to in some future patch, so it's a good idea to get away from it if you're still modifying them for some reason.

BTW, thanks for all the feedback. I'll look at adding these features as I have time.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176561
Poster: slouken at 7/8/2005 6:02:23 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:
So, another request is to be able to register new script handlers (On<X>) for UI elements that dont currently exist.

(Ideally we'd also like to have programatic access to get at, call, and replace/modify/remove existing ones, but simply "add where missing" would be a great help).


You got it:
New frame member functions GetScript() and SetScript() can modify frame event scripts.

e.g.

local showfunctable = {};
function MyAddOn_CustomOnShow()
local func = showfunctable [this:GetName()];
if ( func ) then
func();
end
-- Do something fancy here
end

showfunctable [frame:GetName()] = frame:GetScript("OnShow");
frame:SetScript("OnShow", MyAddOn_CustomOnShow);
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176894
Poster: slouken at 7/8/2005 6:48:09 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:

1) Is it correct to assume that GetScript() returns nil if the frame doesn't have a handler installed for an action

2) Can we call SetScript("OnBlah", nil) to remove a handler for an event (and does that work efficiently for "OnUpdate" -- This could be very very nice)


Yes, and yes.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176918
Poster: slouken at 7/8/2005 6:49:41 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:
Turning this one into another feature request: Can we get methods to change the fonts on things after they're created?


Yes. I added FontString:SetFont("font", size [, "flags"]), and I'll add more robust support as I have time.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post176919
Poster: slouken at 7/9/2005 11:49:39 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   It would help if you say specifically what you need that you don't already have to do those things.

BTW, I won't be able to add everything everyone wants, so what I'll be doing is collecting the feature requests and hitting up the most requested and most widely useful of them, as I have spare time to add them.

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post177196
Poster: slouken at 7/11/2005 1:13:01 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
In that case, here is a list of textures (that I can think of, currently) that I would like names for:

CastingBar border
CastingBar flash
GametooltipStatusBar's texture (this is a big one for me)


The casting bar textures have names in 1.6.
The tooltip texture will have a name in 1.7, and I'm also adding StatusBar:SetStatusBarTexture("file" [, "layer"])
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post178223
Poster: slouken at 7/11/2005 1:43:43 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
We'd like to request that a method be provided on ScrollingMessageFrame to update the displayDuration, and one on EditBox to change its ignoreArrows attribute.


Added the following functions to ScrollingMessageFrame:
GetMaxLines()
SetMaxLines(maxLines)
EnableFading(bool default = true)
SetFadeDuration(float seconds)
SetTimeVisible(float seconds)
Clear()

Added the following functions to EditBox:
SetIgnoreArrows(bool default = true)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post178257
Poster: slouken at 7/11/2005 1:43:43 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:
We'd like to request that a method be provided on ScrollingMessageFrame to update the displayDuration, and one on EditBox to change its ignoreArrows attribute.


Added the following functions to ScrollingMessageFrame:
GetMaxLines()
SetMaxLines(maxLines)
EnableFading(bool default = true)
SetFadeDuration(seconds)
SetTimeVisible(seconds)
Clear()

Added the following functions to EditBox:
GetHistoryLines()
SetHistoryLines(numLines)
SetIgnoreArrows(bool default = true)

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post178257
Poster: slouken at 7/11/2005 2:04:13 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
FontString: (Not FrameXML related, but Colorblind related)
* A GetTextColor method.



You got it:
local r, g, b, a = FontString:GetTextColor();
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post178284
Poster: slouken at 7/11/2005 3:25:36 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   An internal implementation would do pretty much the same thing, FYI.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post178358
Poster: slouken at 7/13/2005 10:48:44 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   In 1.7, you will be able to specify Lua files directly in the toc.

e.g.
MyAddon.toc:
# Interface: 1600
MyAddonStrings.lua
MyAddon.lua
MyAddon.xml

You don't have to, it's just supported now. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post179983
Poster: slouken at 7/14/2005 12:52:20 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Does this mean you do not have to have the <Script file="MyAddon.lua"/> in the XML file if you do it in the TOC, then?


That's right. If you have both, then it will be loaded twice (probably not a big deal, but wasting a little garbage collection memory)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post180837
Poster: slouken at 7/14/2005 12:34:39 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Custom Macro Icons!
In 1.7 you'll be able to create the directory Interface\Icons, and any .blp or .tga files you put in there will be available for your macros. Note that these icons should be 32x32 in size.

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post181157
Poster: slouken at 7/14/2005 1:17:45 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Is there going to be an EditMacro API change to replace the icon index with a path?


No.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post181221
Poster: slouken at 7/15/2005 8:47:35 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Nothing will change except that you can use /cast with pet spells, and if you have a macro with a pet spell in it, it will show the cooldown, just like a macro with a player spell.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post182049
Poster: slouken at 7/15/2005 11:13:54 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   As of 1.7, you will no longer have to specify the rank in /cast or CastSpellByName(). If you don't specify the rank, it will automatically use the highest rank of the spell that you know.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post182154
Poster: slouken at 7/19/2005 9:49:16 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Macros which are longer than 256 characters will be truncated.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post184479
Poster: slouken at 7/19/2005 11:30:02 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   GetItemInfo() will return an additional argument specifying the equipment type (e.g. Head, Legs, Chest, etc.)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post184491
Poster: slouken at 7/19/2005 2:41:52 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Join a raid, relog, use it on raid members who have not changed their max health since you relogged. More often than not it will return 100, whereas UnitHealth will return the correct value, so you'll have 3000/100 health for instance (For other players in the raid).


Fixed for 1.7
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post184651
Poster: slouken at 7/22/2005 7:35:02 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
I'm admittedly new to the manipulation of XML elements through LUA, but can't we currently do this by naming the BarTexture element of the StatusBar and using the already existing Texture elements? (namely SetTexture.)


Yep, this will allow you to set the texture of unnamed BarTextures (so not all statusbars in the FrameXML need to have their texture named)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post186564
Poster: slouken at 7/19/2005 9:49:16 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
   Macros which are longer than 256 characters will be truncated.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post184479
Poster: slouken at 7/19/2005 11:30:02 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
   GetItemInfo() will return an additional argument specifying the equipment type (e.g. Head, Legs, Chest, etc.)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post184491
Poster: slouken at 7/19/2005 2:41:52 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:
Join a raid, relog, use it on raid members who have not changed their max health since you relogged. More often than not it will return 100, whereas UnitHealth will return the correct value, so you'll have 3000/100 health for instance (For other players in the raid).


Fixed for 1.7
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post184651
Poster: slouken at 7/22/2005 7:35:02 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
  

Q u o t e:
I'm admittedly new to the manipulation of XML elements through LUA, but can't we currently do this by naming the BarTexture element of the StatusBar and using the already existing Texture elements? (namely SetTexture.)


Yep, this will allow you to set the texture of unnamed BarTextures (so not all statusbars in the FrameXML need to have their texture named)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post186564
Poster: slouken at 8/1/2005 5:26:21 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   In 1.7 you will be able to see and modify the auto-cast status of pet spells in the pet spellbook.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post192537
Poster: slouken at 8/4/2005 3:23:06 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   The SetPoint() and SetAllPoints() script functions can take an actual frame (or texture or fontstring) in addition to the name:
frame:SetPoint("CENTER", frame:GetParent(), "CENTER");
This is slightly more efficient, and can be used with unnamed frames.

Added SetBackdrop frame method:
Frame:SetBackdrop(nil);
or
Frame:SetBackdrop({bgFile = "bgFile", edgeFile = "edgeFile", tile = false, tileSize = 0, edgeSize = 32, insets = { left = 0, right = 0, top = 0, bottom = 0 }});

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post194246
Poster: slouken at 8/5/2005 12:11:31 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   In the interest of reducing the UI memory usage, we present...

Addon-specific Saved Variables!

Each addon's saved variables will be saved in the file WTF\Account\{accountname}\SavedVariables\{addonname}.lua, and will only be loaded when the addon is loaded.

IMPORTANT: The first time you enter the game with this change, you must make sure all your addons are enabled, or their saved variables will be lost! If you accidentally do this once, you can recover by quitting the game, moving your backup SavedVariables.lua into place and restarting the game with addons enabled.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post194800
Poster: slouken at 8/5/2005 12:34:52 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   In the interest of reducing the UI memory usage, we present...

Addon Loading On Demand!

If you add the following line to your addon's .toc file, it will not be loaded at the normal load time, it will instead be dynamically loaded upon request:

## LoadOnDemand: 1

You can query to see if an addon is loaded by using the new IsAddOnLoaded("addonname") function, and you can load an addon dynamically using the LoadAddOn("addonname") function. This function returns true if the addon is loaded successfully, and can be safely and efficiently called even if the addon is already loaded.

For your convenience, the function UIParentLoadAddOn("addonname") is provided which will attempt to load the addon and pop up an error message if it failed to load for any reason.

Once an addon is loaded, the ADDON_LOADED event is sent, with arg1 set to the name of the addon. An addon can listen for that event, and when it recieves that event with it's own name, it can safely access its saved variables.

An important thing to note is that when an addon is loaded dynamically, it doesn't have access to any of the virtual frame templates that are defined by FrameXML, including font definitions.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post194815
Poster: slouken at 8/5/2005 12:44:56 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   As a side note, I improved the FrameXML.log logging a bit in the course of debugging the dynamic addon loading. Now it will tell you exactly which file is being loaded when load errors occur.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post194830
Poster: slouken at 8/5/2005 1:50:44 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Slouken, while this isn't an API request per-se, is there any chance of this change to ActionButton.lua



Maybe... If I do it, I'll probably convert all the buttons to use a member function. In the meantime just hook the function, and you should be fine.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post194893
Poster: slouken at 8/5/2005 2:57:37 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Hm, the lack of namespace here is scary, though hopefully it wont cause too many problems.. I was hoping that if we ever got more granular variable saves they'd end up in separate namespaces.



Unfortunately we can't enforce namespaces here. It's up to the addons to make sure they don't pick conflicting names.


Q u o t e:

What happens if multiple addons register the same variable? Does it save to all of them or just one?



It gets saved to both of them, and loaded from both of them. Whichever is loaded last wins.


Q u o t e:
Does VARIABLES_LOADED fire only after ALL addons have loaded their variables?


Yes.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post194942
Poster: slouken at 8/5/2005 2:58:06 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Do addons that load in the normal course of events get this event, or is it JUST for on-demand loading? (I'm guessing the latter)


All addons get this event, regardless of when they are loaded.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post194943
Poster: slouken at 8/5/2005 3:01:34 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
How does on-demand loading work with dependencies?

If I have several on-demand addons which depend on each other (and possibly some normally-loading addons), do they all load, do they require their dependencies be loaded otherwise they generate an error, or does on-demand loading skip the usual dependency check?


Normal dependency checking still works, so an addon which requires other addons to work will still load those other ones before it loads. Conversely, if a normal addon has an on-demand addon as a dependency, it will cause it to load at the normal load time.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post194945
Poster: slouken at 8/5/2005 6:06:02 PM PDT
Subject: Re: I/O still possible
   Just post your e-mail address and I'll mail you privately.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post195018
Poster: slouken at 8/6/2005 1:19:42 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Can you clarify "whichever is loaded last wins"? Under normal circumstances (where nothing is editing the .lua files outside of the game) would the two files ever have different content? In other words, I assume that if two addons are adding content to the same saved table, A.lua and B.lua will be written at logout to contain identical copies of the entire table. In this case, it doesn't matter who "wins" because the full correct table is loaded either way?

Correct?


Normally that would be the case, but remember that the addon saved variables are only loaded now when the addon is loaded. So, if an addon is disabled for a while, and then reenabled, it would have old data in it's saved variable.

So... the lesson is don't use generic names for your saved variables, or if you're sharing a variable between two addons, only have one of them save it and the other should depend on the first.

A good practice is to use a table of variables named the same name as your addon:
MyAddOn = { }
MyAddOn.version = 1.01
MyAddOn.config["Option1"] = "value1"
etc.

The variables saved with RegisterForSave() still get saved to SavedVariables.lua, but if your addon isn't loaded they'll go away at the end of the session. You could actually potentially use this to tell whether your addon has run in the last session... :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post195337
Poster: slouken at 8/8/2005 10:24:08 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Here's the full list of new in-game AddOn functions:

numaddons = GetNumAddOns()
index = 1 to numaddons
name, title, notes, enabled, loadable, reason, security = GetAddOnInfo(index or "name")
dep1, dep2, dep3, ... = GetAddOnDependencies(index or "name")
loaded = IsAddOnLoaded(index or "name")
loaded, reason = LoadAddOn(index or "name")

For your convenience, the function UIParentLoadAddOn("addonname") is provided which will attempt to load the addon and pop up an error message if it failed to load for any reason.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post196205
Poster: slouken at 8/8/2005 11:21:42 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Wow, 1.7 is like a lifetime of christmasses.



What is the 'security' flag for?


Future use. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post196245
Poster: slouken at 8/8/2005 11:23:01 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Currently (I believe) there is nothing like SetFrameStrata()

I'd like to change the strata of the MinimapCluster without modifying the XML (as this is something I'm no longer supposed to do) -- and I can't seem to find a way (I checked around quite a bit) -- so figured I'd mention it here...


You got it...
strata = Frame:GetFrameStrata()
Frame:SetFrameStrata("strata")
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post196246
Poster: slouken at 8/8/2005 12:01:45 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   It only returns required dependencies.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post196269
Poster: slouken at 8/8/2005 12:18:15 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Hm, if I have addons A, B, and C, all marked 'load on demand.

C has required dependency A, and optional dependency B.

If I on-demand load C, do A and B both load? Or just A? (I guess it makes sense that just A loads, and that's the order I'm assuming from your posts)



If you on-demand load C, both A and B will be loaded.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post196276
Poster: slouken at 8/8/2005 1:05:30 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   No problem. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post196303
Poster: slouken at 8/8/2005 6:24:32 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   I believe it has to do with the designers limiting the amount of game logic that can be used in macros.

Note that this will not affect anyone using macros normally, only people using addons to get around the existing 256 character limitation.

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post196474
Poster: slouken at 8/11/2005 3:58:44 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
For NON-on-demand addons (i.e. those loaded at startup), each addon gets an ADDON_LOADED event after it and its variables are loaded, then the main SavedVariables.lua is executed and a VARIABLED_LOADED is delivered.

If you configure your addon to load on demand, then use ADDON_LOADED instead, you'd only see VARIABLES_LOADED if your addon was a dependency of one which wasn't load on demand.



Yes, that's correct.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post197879
Poster: slouken at 8/11/2005 4:04:09 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   TargetNearest* functions will only be usable in response to a hardware event. This is to discourage addons which cycle through nearby units to get a complete picture of the battlefield.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post197881
Poster: slouken at 8/15/2005 9:53:34 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:

Maybe Frame:SetParent("newParent") would help the poor orphan frames... (and help me replace default frames since I shouldn't use FrameXML overrides...)



Sure.
Frame:SetParent(nil or "parent" or parentFrame)


Q u o t e:

And a really nice addition would be a way to get the "base frame"'s handler functions for frames inheriting from a virtual frame. Perhaps just a way to determine the name of the "base" would do it. This would probably only be useful if you can get the handler functions with the Frame:GetScript functions (of virtual frames)


virtual frames never actually exist. They simply provide an XML template for inherited frames at load time.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post199650
Poster: slouken at 8/15/2005 10:31:46 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:

Any chance of the enumerate children 'thingy'? Frame:GetChildren() would probaly be a better way than I menioned earlier. I mostly want this to find frames that are children of a frame I am replacing so that I can "Adopt" them with my new frame.



Sure.
numChildren = Frame:GetNumChildren()
a, b, c, ... = Frame:GetChildren()
message("a = "..a:GetName())


Q u o t e:

Maybe I wasn't very clear with the virtual frames thing. Say you have defined a vitural button template with an OnClick handler, and when you inherit from it, you need to do everything in the inherited OnClick and one or two more small things. It would be really nice to be able to call super:OnClick() or somesuch to replace the need to copy/paste.



No, there really isn't any way to do that. The best you're going to get is if the original template author put the OnClick handler in a separate function, so you can call it from yours. If there's an instance of a frame using that template, you can use the new GetScript() member function to get it so you can call it, but if it's purely virtual you don't have any access to it at all.


Q u o t e:

Anyways, Thanks or the blindingly fast responce :)


You're welcome. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post199680
Poster: slouken at 8/15/2005 10:56:18 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Slouken, any chance of an answer on how restricted the TargetNearestEnemy lockdown will be next patch (or an indication that silence is deliberate?)


It's not actually very restricted. You can do as many as you want per button press at the moment, but that can definitely change at some point. It's mostly just a "you shouldn't do this" step.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post199713
Poster: slouken at 8/15/2005 10:58:32 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:

Oh and the unrealistic feature request:
On the fly instantiation of frames :)


It's been discussed, but on-demand addon loading was more bang for the buck. It's still on the someday todo list though.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post199716
Poster: slouken at 8/15/2005 11:07:22 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Yeah, points of interest and map notes are the kinds of things where it would be most useful. However the memory savings of an entire addon v.s a bunch of tiny frames made it worth doing on-demand loading first.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post199725
Poster: slouken at 8/15/2005 6:51:48 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Nope.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post200001
Poster: slouken at 8/16/2005 10:52:01 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Yes, it's on my list for post-1.7
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post200201
Poster: slouken at 8/16/2005 11:06:27 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Heheh, no way. There's lots that can change between now and then.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post200215
Poster: slouken at 8/16/2005 12:08:39 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   I'm not seeing this. Are you getting skillups? Does it happen when you just login and sit there?

Edit: If you are, then it's probably fixed in 1.7

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post200256
Poster: slouken at 8/16/2005 12:08:39 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List *edited post*
   I'm not seeing this. Are you getting skillups? Does it happen when you just login and sit there?

Edit: If you are, then it's probably fixed in 1.7

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post200256
Poster: slouken at 8/16/2005 2:43:23 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Yeah, lots of things got fixed. I'm sure it'll cause lots of uproar for people who were taking advantage of extra events. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post200344
Poster: slouken at 8/18/2005 7:36:22 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   The test server is up! There are a large number of changes this patch, so please test your UI's thoroughly and read the patch notes carefully.

Enjoy!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post201515
Poster: slouken at 8/19/2005 10:17:03 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Correction:
The icons in the Interface\Icons directory should be 64x64, not 32x32.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post201740
Poster: slouken at 8/21/2005 3:03:09 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:

Also: SKILL_LINES_CHANGED is still spontaneously firing

http://64.168.251.69/wow/skilllineschanged.jpg

That was shortly after logging into Org and just sitting there.


Can you provide any more information? I've never seen this happen myself.

Just a hunch... does it only happen when you're resting?

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post202723
Poster: slouken at 8/23/2005 10:34:25 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
More Textures Needing Names:
Minimap.xml:
line: 136 (Tracking Icon Border)
line: 266 (Mail Icon Border)


Sure. I added names for the borders of all the buttons in there.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post203507
Poster: slouken at 8/23/2005 10:34:52 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
one more texture needing a name please:
MirrorTimer.xml, line 36:

<Texture name="$parentBorder" file="Interface\CastingBar\UI-CastingBar-Border">



You got it!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post203508
Poster: slouken at 8/24/2005 11:05:41 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Any chance of us getting the buying event bug fixed.. when you buy items it goes:

You receive loot: [Hot Spices].
You receive item: [Hot Spices].
You receive item: [Hot Spices].

It's as if the code sets the 'item not loot' flag AFTER sending the event rather than before.

It's a small thing but it bugs the hell out of me.


It's noted, but not likely to get fixed for 1.7.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post204186
Poster: slouken at 8/24/2005 5:52:37 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Yep. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post204478
Poster: slouken at 8/26/2005 10:51:38 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   You're welcome!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post205252
Poster: slouken at 8/27/2005 12:47:02 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   No, none of the return values of GetItemInfo() are localized. This is intentional, as they are intended to be parsed by code, not used in tooltips (which is what the item link is for)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post205732
Poster: slouken at 8/28/2005 2:03:18 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   I'll look at it on Monday, thanks for letting me know!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post205957
Poster: slouken at 8/28/2005 1:00:03 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   That's correct, the game builds a list of addons in memory and provides information about them through the new API functions in 1.7.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post206067
Poster: slouken at 8/28/2005 2:56:26 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Nope. :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post206119
Poster: slouken at 8/29/2005 2:55:52 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
What is the point of this? I have batch files that use different ADDONS.TXT files depending on what character/class I am playing.



Your best bet here is to set up your addons to be load-on-demand and write a little class manager addon that on load determines your player class and loads the appropriate set of addons.


Q u o t e:
I understand we can disable and enable addons within the game, but for most users...if you can't do this through a GUI then it will not be used. A 'MyAddons' type GUI to enable/disable addons ingame would be an acceptable alternative to the TOC stealth change.


With this in mind, I added the following script functions:
EnableAddOn(index or "name")
EnableAllAddOns()
DisableAddOn(index or "name")
DisableAllAddOns()
ResetDisabledAddOns()

You still won't be able to install new addons without restarting the game, but you will now be able to change their enabled/disabled state and reload on the fly.

Also, I made it so if you don't use the in-game functions, you will still be able to modify AddOns.txt to change enabled/disabled settings and then reload the UI.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post206685
Poster: slouken at 8/29/2005 3:13:57 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
I've tried using SetParent() on the test server and all it does is cause an immediate game crash. I've tried it on game default frames and addon frames, with nil, "frameName", and frame as options. Crashes every time. Has anyone else tried it?


This is fixed for the next test server update.

Thanks!
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post206692
Poster: slouken at 8/29/2005 3:18:44 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Found a minor cosmetic bug. Actually, this one's in 1.6 too, so I don't know whether it has been reported before. If you supply a list of notes in the toc file, such as:

## Notes: AddOn does something
## Notes_deDE: AddOn does something in German
## Notes_frFR: AddOn does something in French

The final line is what gets used in the hover-over text on the AddOns screen. So in the above, the French text would get displayed. If "Notes: AddOn does something" is last, that text gets used.


This one isn't technically a bug. You should use '-', not '_'.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post206693
Poster: slouken at 8/29/2005 3:23:31 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
A question on EnableAddOn()/EnableAllAddOns(). Well, clarification, actually. I assume these are subject to the lack of access to virtual XML components that LoadOnDemand addons are?


These simply affect the next time the UI is loaded, and all the normal rules apply then.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post206697
Poster: slouken at 8/30/2005 7:35:47 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   In the interest of saving memory, I'm not naming each one, only those requested, as I have time.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post207239
Poster: slouken at 9/3/2005 3:05:24 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   The UI is fully reloaded when switching between characters, which is why the existing AddOn selection UI is at the character selection screen.

So.. no worries. :)

What you probably want to do is make all the class-specific addons load-on-demand, leave them enabled, and then have one class manager addon that loads the appropriate set at login based on the class of the character logging in.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post209178
Poster: slouken at 9/3/2005 5:43:58 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   If by everything else you just mean race and class, then yes. Faction is available at the same time as really everything else - after PLAYER_ENTERING_WORLD. :)

*sips confusing juice*
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post209301
Poster: slouken at 9/3/2005 8:10:56 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Would you please look into GetNumGuildMembers()? It's not returning appropriate values unless the guild panel is brought up.



Not a bug. Check the code, you'll see that none of the guild functions provide information until a function to query/update the guild data is called. I forget what it is offhand, but I'm sure Iriel has it at the tip of his fingers. :)


Q u o t e:

SetGuildRosterShowOffline() was bugged in some way also last I checked. You could set it on but not off or vice versa... I forget which.



That's odd, since the game UI seems to work fine. Do you have more details?
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post209334
Poster: slouken at 9/4/2005 9:36:59 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   YES, THAT WOULD HELP. :)

Seriously, it won't be made available. The client can actually derive that information at that point, but becuase the player isn't actually available, there's a limit to how many of the functions can be made to work. So, in the interest of avoiding "why doesn't X work at load", and giving me more time to fix bugs and add features, all other unit information functions will have to wait for PLAYER_ENTERING_WORLD (or the new event in 1.8, PLAYER_LOGIN)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post209547
Poster: slouken at 9/4/2005 7:38:18 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   Interesting, although I suspect you'd have lots of complaints about "I installed the addon, how come I can't see it? It's enabled? WTF?"

It's probably better all around to have an in-game class addon manager, with fancy UI and options and so forth.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post210006
Poster: slouken at 9/5/2005 12:33:23 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Any thoughts about OnMouseWheel, slouken? It looks like a bug to me.


I don't suppose you enabled mouse wheel events? :)
You need to do more than simply set a script handler (though the XML loading code normally takes care of that)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post210187
Poster: slouken at 9/5/2005 9:16:18 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   I don't have code handy, but I think mouse wheel is a type of event that has to be enabled separately from other mouse events.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post210312
Poster: slouken at 9/5/2005 10:23:11 PM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   *shrug* We'll see. There was a fair amount of request for this kind of functionality.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post210745
Poster: slouken at 9/6/2005 9:06:49 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
  

Q u o t e:
Yes, I enabled mouse events. Like I said, I had it working with OnMouseWheel defined in the xml, as I showed. All I did was remove OnMouseWheel from the xml and use SetScript instead. So the only variable factor was how the OnMouseWheel handler was added.


Yep, as I thought, enabling mouse events only enables motion and button events. If you set an XML handler for the mouse wheel, it'll automatically enable the mouse wheel events for you. If you don't, you need to call Frame:EnableMouseWheel() yourself, in addition to setting the script handler up.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post210884
Poster: slouken at 9/13/2005 9:34:08 AM PDT
Subject: Re: Upcoming 1.7 Changes - Concise List
   You may want to change the title to:
Patch 1.7 Changes - Concise List
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post214967
Poster: slouken at 9/13/2005 12:03:32 PM PDT
Subject: Re: Patch 1.7 UI/API Changes - Concise List
   Can you remove UI/API from the title? (scary!) :)
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post214982
Poster: slouken at 9/13/2005 1:56:14 PM PDT
Subject: Re: Patch 1.7 Changes - Concise List
   HOWTO: Saved frame positions with on-demand addons

You'll notice that your movable frame sizes and positions are not automatically restored if your addon is loaded on demand.

Here's one way to handle this situation...

For the purposes of this post, I'm going to assume that the addon is called MyAddOn, and it has a movable frame called MyFrame.

In the .toc file, I will add the following:
## SavedVariables: MyAddOnOptions

In the OnLoad for the addon, I will add the following:

this:RegisterEvent("ADDON_LOADED");
this:RegisterEvent("PLAYER_LEAVING_WORLD");


In the OnEvent for the addon, I will add the following:

if ( event == "ADDON_LOADED" ) then
if ( arg1 == "MyAddOn" ) then
if ( not MyAddOnOptions ) then
MyAddOnOptions = { };
end
if ( MyAddOnOptions.position ) then
-- Assuming the frame already has width and height
MyFrame:ClearAllPoints();
MyFrame:SetPoint("CENTER", UIParent, "BOTTOMLEFT", MyAddOnOptions.position.x, MyAddOnOptions.position.y);
end
end
elseif ( event == "PLAYER_LEAVING_WORLD" ) then
if ( not MyAddOnOptions.position ) then
MyAddOnOptions.position = { };
end
MyAddOnOptions.position.x, MyAddOnOptions.position.y = MyFrame:GetCenter();
end


You can get fancier than this, but that is the general idea.

Please post any corrections, as this is entered from memory.

[ post edited by slouken ]

  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post215167
Poster: slouken at 9/18/2005 10:08:21 AM PDT
Subject: Re: Patch 1.7 Changes - Concise List
   Thanks, I verified the fix before 1.7 went live, but I'll double-check on Monday.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post222238
Poster: slouken at 9/19/2005 10:49:11 AM PDT
Subject: Re: Patch 1.7 Changes - Concise List
  

Q u o t e:
From http://www.wowinterface.com/forums/showthread.php?p=8477#post8477

This didn't appear to make the cut, or it doesn't work on live servers.

You can reliably reproduce this by starting out in fullscreen at a different resolution than desktop, when you alt-tab out and back frames will revert to UIParent scale.


Yup, the fix had to be backed out at the last minute due to a problem on Windows 98. I've improved it and put it into Q/A for testing for 1.8.
  http://forums.worldofwarcraft.com/thread.aspx?fn=wow-interface-customization&t=174783&p=#post222882

View all recent official Blue Posts

WoW Blue Tracker: Archiving World of Warcraft Blue Posts
since March 2005
Home | RSS | News | Contact
Recent | Search | Archive | CS Posts
 

Why Ads?