Poster: Iriel at 2006-12-07 20:00:16 Subject: Upcoming 2.0.2 Changes - Concise List |
| | This is a consolidated list of the announced (and sometimes observed) changes in the User Interface API's and functionality for the 2.0.2 release. Please note that this thread is to discuss the upcoming changes and any clarifications or features that are a direct result of those changes, or things which we've been asked to remind slouken of.
IMPORTANT: Off-topic or entirely redundant posts are liable to get deleted. It is however in everyone's best interest to not post them in the first place - We'd rather slouken could spend his time coding us cool things than moderating this thread!
....
UI and Macros Forum MVP - Understand GC!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#0 |
| |
Poster: Slouken at 2006-12-07 20:20:25 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Cooldown Indicators
* There is a new cooldown indicator frame which should be used instead of the previous model file.
Code:
<Model inherits="CooldownFrameTemplate"/>
should be replaced with:
Code:
<Cooldown inherits="CooldownFrameTemplate"/>
Unit Frames and Action Buttons
* Unit frames will respond to modified clicks by default.
* Action buttons no longer use shift-click to pick up actions, instead they use shift-drag to pick up actions. This frees up the SHIFT modifier for use in macros or as as a self-cast modifier.
A workaround for this is available here:
http://forums.worldofwarcraft.com/thread.html?topicId=51038902&sid=1
Macro Tooltips
* If you add a #showtooltip line to your macro, it will show the tooltip of the item or spell in addition to the normal visual feedback.
Key Binding Fallbacks
* Holding down ctrl, alt, shift, x will check keybindings in the following order: ALT-CTRL-SHIFT-X, CTRL-SHIFT-X, ALT-SHIFT-X, ALT-CTRL-X, SHIFT-X, CTRL-X, ALT-X, X
Cast Sequences
* /castsequence will equip items if they need to be equipped, and use them otherwise.
General API
* NEW: equippable = IsEquippableItem(item)
* NEW: hyperlink = GetInboxItemLink(index)
* NEW: name, link = GetCursorItem()
* NEW: name, rank = GetCursorSpell()
* NEW: Dismount()
Tooltip API
* NEW: name = Tooltip:GetUnit()
* NEW: name, link = Tooltip:GetItem()
* NEW: name, rank = Tooltip:GetSpell()
Tooltip XML Handlers
* OnTooltipSetUnit - script handler triggered when a tooltip shows a unit
* OnTooltipSetItem - script handler triggered when a tooltip shows an item
* OnTooltipSetSpell - script handler triggered when a tooltip shows a spell
Bug Fixes
* /click now works with secure addon buttons
* Fixed taint issues with CloseLoot()
* Fixed taint issues with PickupContainerItem()
Slash Commands
* /dismount
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#9 |
Poster: Iriel at 2006-12-07 20:00:16 Subject: Upcoming 2.0.2 Changes - Concise List |
| | This is a consolidated list of the announced (and sometimes observed) changes in the User Interface API's and functionality for the 2.0.2 release. Please note that this thread is to discuss the upcoming changes and any clarifications or features that are a direct result of those changes, or things which we've been asked to remind slouken of.
IMPORTANT: Off-topic or entirely redundant posts are liable to get deleted. It is however in everyone's best interest to not post them in the first place - We'd rather slouken could spend his time coding us cool things than moderating this thread!
Standard UI Elements
* Unit frames will respond to modified clicks by default.
* Action buttons no longer use shift-click to pick up actions, but instead use shift-drag. This frees up the shift modifier for use in macros or as a self-cast modifier. (A workaround for this now is available at http://forums.worldofwarcraft.com/thread.html?topicId=51038902&sid=1)
Macros and Slash Commands
* If you add a #showtooltip line to your macro, it will show the tooltip of the item or spell in addition to the normal visual feedback.
* /castsequence will equip items if they need to be equipped, and use them otherwise.
* NEW /dismount command
Key Bindings
* Holding down ctrl, alt, shift, x will check keybindings in the following order: ALT-CTRL-SHIFT-X, CTRL-SHIFT-X, ALT-SHIFT-X, ALT-CTRL-X, SHIFT-X, CTRL-X, ALT-X, X
API Changes
* NEW: equippable = IsEquippableItem(item)
* NEW: hyperlink = GetInboxItemLink(index)
* NEW: name, link = GetCursorItem()
* NEW: name, rank = GetCursorSpell()
* NEW: Dismount()
Frame Changes - Tooltips
API Calls
* NEW: name = Tooltip:GetUnit()
* NEW: name, link = Tooltip:GetItem()
* NEW: name, rank = Tooltip:GetSpell()
Script Handlers
* NEW OnTooltipSetUnit - Triggered when a Tooltip shows a unit
* NEW OnTooltipSetItem - Triggered when a Tooltip shows an item
* NEW OnTooltipSetSpell - Triggered when a Tooltip shows a spell
Frame Changes - Cooldown
There's a new cooldown indicator frame to be used in place of the previous Model file.
* OLD <Model inherits="CooldownFrameTemplate"/> should be replaced by
* NEW <Cooldown inherits="CooldownFrameTemplate"/>
Bug Fixes
* /click now works with secure action buttons
* Fixed taint issues with CloseLoot()
* Fixed taint issues with PickupContainerItem()
(Last updated 2006-12-07 20:37 Pacific)
[ Post edited by Iriel ]
UI and Macros Forum MVP - Understand GC!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#0 |
| |
Poster: Slouken at 2006-12-07 21:23:39 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Actually currently showtooltip is simply an extended version of show that also shows the tooltip.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#16 |
Poster: Slouken at 2006-12-07 21:32:08 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e:
Cooldown Indicators
* There is a new cooldown indicator frame which should be used instead of the previous model file.
<Model inherits="CooldownFrameTemplate"/>
should be replaced with:
<Cooldown inherits="CooldownFrameTemplate"/>
Hmm, for any particular reason that would make sense to us?
Yep, the cooldown model was replaced with an optimized rendering method.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#17 |
Poster: Slouken at 2006-12-08 17:27:15 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | * MovePad will work again in 2.0.2
* Added an action type "attribute", which can set an arbitrary secure attribute on an arbitrary frame.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=2&sid=1#30 |
Poster: Slouken at 2006-12-08 23:54:47 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Yes, dueling, dismissing your pet, and abandoning your pet are no longer protected functions in 2.0.2, so tainting a unit menu will not cause blocked addon messages.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=2&sid=1#33 |
Poster: Slouken at 2006-12-08 23:57:38 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Upcoming raid UI fixes from Rislyn:
* The raid pullout positions will be saved and restored between sessions.
* Fixed a bug where raid composition changes can incorrectly change the units referenced by the pullouts.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=2&sid=1#34 |
Poster: Slouken at 2006-12-09 20:10:10 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e: just a question - CT mod adds a target option to the context menu when right clicking on a name in chat. was this blocked for exploit reasons?
Yes, it was.
Q u o t e: is it possible to bind "/cast" to a name in a macro so that abilities can be used with less code? similar to "C=CastSpellByName"
Not currently, but it's on the list of things to look at.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=2&sid=1#39 |
Poster: Slouken at 2006-12-10 07:05:02 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | That's a mistake in the changes list. I believe /target is the only one that takes a name. Iriel, can you verify an dcorrect the changes post?
Edit: Although it's a logical mistake... I'll see if it's possible to make the rules for setting the target and setting the focus the same.
[ Post edited by Slouken ]
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=3&sid=1#43 |
Poster: Slouken at 2006-12-10 17:14:56 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Yup, or even easier:
/swapactionbar 1 3
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=3&sid=1#47 |
Poster: Slouken at 2006-12-11 09:54:44 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | I believe this can already be done using tricks on the raid member secure template. Esamynn can probably give you more details.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=3&sid=1#52 |
Poster: Slouken at 2006-12-11 12:08:17 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Fixed taint issues with the default Blizzard Raid UI for 2.0.2.
Symptom:
* Social frame and raid tab wouldn't show in combat.
Problem:
* RaidGroupButtonTemplate was a secure unit button, which caused the raid tab to be protected, which caused the social frame to be protected.
Solution:
* Since the raid tab in the social frame was designed to be for raid management, the buttons were simply made unprotected and are no longer secure unit buttons. Targeting the units can be done with the pullouts or third party addons.
[ Post edited by Slouken ]
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=3&sid=1#57 |
Poster: Slouken at 2006-12-11 13:17:16 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Added a second return value to IsProtected():
protected, explicit = Frame:IsProtected()
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=3&sid=1#58 |
Poster: Slouken at 2006-12-11 13:39:09 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Fixed using /reply in macros for 2.0.2
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=3&sid=1#59 |
Poster: Slouken at 2006-12-11 14:17:19 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Fixed bug where dynamically creating textures and font strings with templates would cause them to use the name of the template.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=4&sid=1#60 |
Poster: Slouken at 2006-12-11 15:29:58 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | No, it's not. It's either "down" or "up". However, it is a local variable, not a global variable. You'll need to pass it into any function that cares about it.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=4&sid=1#62 |
Poster: Iriel at 2006-12-07 20:00:16 Subject: Upcoming 2.0.2 Changes - Concise List |
| | This is a consolidated list of the announced (and sometimes observed) changes in the User Interface API's and functionality for the 2.0.2 release. Please note that this thread is to discuss the upcoming changes and any clarifications or features that are a direct result of those changes, or things which we've been asked to remind slouken of.
IMPORTANT: Off-topic or entirely redundant posts are liable to get deleted. It is however in everyone's best interest to not post them in the first place - We'd rather slouken could spend his time coding us cool things than moderating this thread!
Standard UI Elements
* Unit frames will respond to modified clicks by default.
* Action buttons no longer use shift-click to pick up actions, but instead use shift-drag. This frees up the shift modifier for use in macros or as a self-cast modifier. (A workaround for this now is available at http://forums.worldofwarcraft.com/thread.html?topicId=51038902&sid=1)
Macros and Slash Commands
* If you add a #showtooltip line to your macro, it will show the tooltip of the item or spell in addition to the normal visual feedback.
* /castsequence will equip items if they need to be equipped, and use them otherwise.
* NEW /dismount command
Key Bindings
* Holding down ctrl, alt, shift, x will check keybindings in the following order: ALT-CTRL-SHIFT-X, CTRL-SHIFT-X, ALT-SHIFT-X, ALT-CTRL-X, SHIFT-X, CTRL-X, ALT-X, X
API Changes
* NEW: equippable = IsEquippableItem(item)
* NEW: hyperlink = GetInboxItemLink(index)
* NEW: name, link = GetCursorItem()
* NEW: name, rank = GetCursorSpell()
* NEW: Dismount()
Frame Changes - Frames
API Calls
* UPDATED: protected, explicit = Frame:IsProtected() -- New 'explicit' return value
Frame Changes - Tooltips
API Calls
* NEW: name = Tooltip:GetUnit()
* NEW: name, link = Tooltip:GetItem()
* NEW: name, rank = Tooltip:GetSpell()
Script Handlers
* NEW OnTooltipSetUnit - Triggered when a Tooltip shows a unit
* NEW OnTooltipSetItem - Triggered when a Tooltip shows an item
* NEW OnTooltipSetSpell - Triggered when a Tooltip shows a spell
Frame Changes - Cooldown
There's a new cooldown indicator frame to be used in place of the previous Model file.
* OLD <Model inherits="CooldownFrameTemplate"/> should be replaced by
* NEW <Cooldown inherits="CooldownFrameTemplate"/>
Secure Templates
* Added an action type "attribute" to secure action buttons which sets an arbitrary attribute on an arbitrary frame.
Protected Functions
* Duelling, dismissing your pet, and abandoning your pet are no longer protected functions.
Bug Fixes
* /click now works with secure action buttons
* Fixed taint issues with CloseLoot()
* Fixed taint issues with PickupContainerItem()
* Move pad will work again
* The raid pullout positions will be saved and restored between sessions
* Fixed a bug where raid composition changes can incorrectly change the units referenced by the pullouts.
* Fixed taint issue with social frame/raid tab not showing in combat (buttons in main social/raid tab are no longer secure unit buttons)
* Fixed /reply
* Fixed issue whereby creating Textures/FontStrings from a template used the template name instead of the specified region name.
(Last updated 2006-12-11 20:59 Pacific)
[ Post edited by Iriel ]
UI and Macros Forum MVP - Understand GC!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#0 |
| |
Poster: Slouken at 2006-12-10 07:05:02 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | That's a mistake in the changes list. You can only set your focus to an existing unit id. Iriel, can you verify an dcorrect the changes post?
[ Post edited by Slouken ]
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=3&sid=1#43 |
Poster: Slouken at 2006-12-12 09:57:54 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e:
So we can no longer target people in the raid, by clicking on the in the raid panel - even while out of combat?
Yep, on the other hand it'll be much easier to use the pullouts - there will be a way to easily grab pullouts by class, by group, or all the pets, and their positions and layout will be saved between sessions.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=4&sid=1#74 |
Poster: Iriel at 2006-12-07 20:00:16 Subject: Upcoming 2.0.2 Changes - Concise List |
| | This is a consolidated list of the announced (and sometimes observed) changes in the User Interface API's and functionality for the 2.0.2 release. Please note that this thread is to discuss the upcoming changes and any clarifications or features that are a direct result of those changes, or things which we've been asked to remind slouken of.
IMPORTANT: Off-topic or entirely redundant posts are liable to get deleted. It is however in everyone's best interest to not post them in the first place - We'd rather slouken could spend his time coding us cool things than moderating this thread!
Standard UI Elements
* Unit frames will respond to modified clicks by default.
* Action buttons no longer use shift-click to pick up actions, but instead use shift-drag. This frees up the shift modifier for use in macros or as a self-cast modifier. (A workaround for this now is available at http://forums.worldofwarcraft.com/thread.html?topicId=51038902&sid=1)
Macros and Slash Commands
* If you add a #showtooltip line to your macro, it will show the tooltip of the item or spell in addition to the normal visual feedback.
* /castsequence will equip items if they need to be equipped, and use them otherwise.
* NEW /dismount command
Key Bindings
* Holding down ctrl, alt, shift, x will check keybindings in the following order: ALT-CTRL-SHIFT-X, CTRL-SHIFT-X, ALT-SHIFT-X, ALT-CTRL-X, SHIFT-X, CTRL-X, ALT-X, X
API Changes
* NEW: equippable = IsEquippableItem(item)
* NEW: link = GetInboxItemLink(index)
* NEW: name, link = GetCursorItem()
* NEW: name, rank = GetCursorSpell()
* NEW: Dismount()
Frame Changes - Frames
API Calls
* UPDATED: protected, explicit = Frame:IsProtected() -- New 'explicit' return value
Frame Changes - Tooltips
API Calls
* NEW: name = Tooltip:GetUnit()
* NEW: name, link = Tooltip:GetItem()
* NEW: name, rank = Tooltip:GetSpell()
Script Handlers
* NEW OnTooltipSetUnit - Triggered when a Tooltip shows a unit
* NEW OnTooltipSetItem - Triggered when a Tooltip shows an item
* NEW OnTooltipSetSpell - Triggered when a Tooltip shows a spell
Frame Changes - Cooldown
There's a new cooldown indicator frame to be used in place of the previous Model file.
* OLD <Model inherits="CooldownFrameTemplate"/> should be replaced by
* NEW <Cooldown inherits="CooldownFrameTemplate"/>
Secure Templates
* Added an action type "attribute" to secure action buttons which sets an arbitrary attribute on an arbitrary frame.
Protected Functions
* Duelling, dismissing your pet, and abandoning your pet are no longer protected functions.
Bug Fixes
* /click now works with secure action buttons
* Fixed taint issues with CloseLoot()
* Fixed taint issues with PickupContainerItem()
* MovePad will work again
* The raid pullout positions will be saved and restored between sessions
* Fixed a bug where raid composition changes can incorrectly change the units referenced by the pullouts.
* Fixed taint issue with social frame/raid tab not showing in combat (buttons in main social/raid tab are no longer secure unit buttons)
* Fixed /reply in macros
* Fixed issue whereby creating Textures/FontStrings from a template used the template name instead of the specified region name.
(Last updated 2006-12-11 20:59 Pacific)
[ Post edited by Slouken ]
UI and Macros Forum MVP - Understand GC!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#0 |
Poster: Slouken at 2006-12-12 13:47:37 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Added GetMouseButtonClicked(), which returns the name of the button that triggered a mouse down/up/click/double-click event.
The macro button conditional will work with either the real button clicked or the button remapped through state headers.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=4&sid=1#79 |
Poster: Slouken at 2006-12-12 13:49:43 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Arrays which are saved as saved variables are saved using Lua array initializer syntax, for optimal memory usage on load.
e.g.
X = {
"a", -- [1]
"b", -- [2]
"c", -- [3]
}
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=5&sid=1#80 |
Poster: Slouken at 2006-12-12 13:57:06 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Iriel, I fixed a couple minor errors in the changes list, FYI.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=5&sid=1#81 |
Poster: Slouken at 2006-12-12 14:37:08 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Added support for state header resizing and reparenting based on state changes:
ADVANCED TOPICS: HEADER PARENT
The header can change it's parent with the use of the "headparent" state attribute and matching "headparent-<parentName>" attributes.
Set "headparent-<parentName>" with the value of the desired parent frame, and use the "headparent" state attribute to map state rules to parent names.
The "parentName" used does not need to match the frame's actual name or global symbol. It is nothing more than "directions" to the header of where to find the parentFrame
For example:
"headparent" -> "1:frame" -- Check "headparent-frame" for the frame object when in state 1
"headparent" -> "1:parent1;2:parent2" -- Check "headparent-parent1" when in state 1 and check "headparent-parent2" when in state 2
Any frame given to a "headparent-<parentName>" attribute must be an explicity protected frame.
ADVANCED TOPICS: HEADER SIZE
The Header can change it's size and scale. The following state attributes on the header can control it's size and scale:
"headwidth" - The desired width.
"headheight" - The desired height.
"headscale" - The desired scale.
Only those that are set are changed.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=5&sid=1#82 |
Poster: Slouken at 2006-12-12 16:05:46 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Keybindings that directly cast spells and use items (SetBindingSpell/SetBindingItem) now respect the self-cast modifier.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=5&sid=1#84 |
Poster: Iriel at 2006-12-07 20:00:16 Subject: Upcoming 2.0.2 Changes - Concise List |
| | This is a consolidated list of the announced (and sometimes observed) changes in the User Interface API's and functionality for the 2.0.2 release. Please note that this thread is to discuss the upcoming changes and any clarifications or features that are a direct result of those changes, or things which we've been asked to remind slouken of.
IMPORTANT: Off-topic or entirely redundant posts are liable to get deleted. It is however in everyone's best interest to not post them in the first place - We'd rather slouken could spend his time coding us cool things than moderating this thread!
Standard UI Elements
* Unit frames will respond to modified clicks by default.
* Action buttons no longer use shift-click to pick up actions, but instead use shift-drag. This frees up the shift modifier for use in macros or as a self-cast modifier. (A workaround for this now is available at http://forums.worldofwarcraft.com/thread.html?topicId=51038902&sid=1)
Macros and Slash Commands
* If you add a #showtooltip line to your macro, it will show the tooltip of the item or spell in addition to the normal visual feedback.
* /castsequence will equip items if they need to be equipped, and use them otherwise.
* NEW /dismount command
* The macro button: conditional will work with either the real button clicked or the state-header-remapped button that launched the macro.
Key Bindings
* Holding down ctrl, alt, shift, x will check keybindings in the following order: ALT-CTRL-SHIFT-X, CTRL-SHIFT-X, ALT-SHIFT-X, ALT-CTRL-X, SHIFT-X, CTRL-X, ALT-X, X
* Key bindings that directly cast spells or use items now respectIM the self-cast modifier.
API Changes
* NEW: equippable = IsEquippableItem(item)
* NEW: link = GetInboxItemLink(index)
* NEW: name, link = GetCursorItem()
* NEW: name, rank = GetCursorSpell()
* NEW: Dismount()
* NEW: button = GetMouseButtonClicked() -- Returns the name of the button that triggered a mouse down/up/click/doubleclick event.
Frame Changes - Frames
API Calls
* UPDATED: protected, explicit = Frame:IsProtected() -- New 'explicit' return value
Frame Changes - Tooltips
API Calls
* NEW: name = Tooltip:GetUnit()
* NEW: name, link = Tooltip:GetItem()
* NEW: name, rank = Tooltip:GetSpell()
Script Handlers
* NEW OnTooltipSetUnit - Triggered when a Tooltip shows a unit
* NEW OnTooltipSetItem - Triggered when a Tooltip shows an item
* NEW OnTooltipSetSpell - Triggered when a Tooltip shows a spell
Frame Changes - Cooldown
There's a new cooldown indicator frame to be used in place of the previous Model file.
* OLD <Model inherits="CooldownFrameTemplate"/> should be replaced by
* NEW <Cooldown inherits="CooldownFrameTemplate"/>
Secure Templates
* Added an action type "attribute" to secure action buttons which sets an arbitrary attribute on an arbitrary frame.
* Added support for state header resizing and re-parenting on state changes.
Protected Functions
* Duelling, dismissing your pet, and abandoning your pet are no longer protected functions.
Saved Variables
* Arrays that are stored as saved variables are now saved using lua's array initializer syntax for optimal memory usage and performance on load.
Bug Fixes
* /click now works with secure action buttons
* Fixed taint issues with CloseLoot()
* Fixed taint issues with PickupContainerItem()
* MovePad will work again
* The raid pullout positions will be saved and restored between sessions
* Fixed a bug where raid composition changes can incorrectly change the units referenced by the pullouts.
* Fixed taint issue with social frame/raid tab not showing in combat (buttons in main social/raid tab are no longer secure unit buttons)
* Fixed /reply in macros
* Fixed issue whereby creating Textures/FontStrings from a template used the template name instead of the specified region name.
(Last updated 2006-12-12 23:06 Pacific)
[ Post edited by Iriel ]
UI and Macros Forum MVP - Understand GC!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#0 |
| |
Poster: Slouken at 2006-12-13 11:12:53 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | No, since equipping items is not a protected function, that would allow an exploit where addons could easily drive your macros by swapping out specific items.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=5&sid=1#89 |
Poster: Slouken at 2006-12-13 16:13:12 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Added CursorHasMacro()
GetCursorItem() and GetCursorSpell() from 2.0.2 changes list is replaced with GetCursorInfo()
GetCursorInfo() can return one of the following:
"item", itemID, link
"spell", slot, "spell" or "pet"
"macro", index
"money", amount
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=5&sid=1#98 |
Poster: Slouken at 2006-12-13 21:41:06 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e:
#showtooltip Vanish
#show Flash Powder
/cast Vanish
The first #show* line is the one that's used, only one thing is shown during the feedback.
So in this case, it would show the cooldown and tooltip for Vanish.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=6&sid=1#103 |
Poster: Slouken at 2006-12-13 21:48:39 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Fixed a bug where /petattack would target the nearest unit, not the nearest live enemy unit.
/startattack and /petattack will work like normal with no arguments (e.g. attack current enemy target, or pick a nearby enemy target if there is no current enemy target). If they are given arguments, then they will be interpreted as a unit token or name of an enemy unit to attack, and the auto-acquire behavior will not be used if the specified target isn't available.
If a specific unit is passed to /petattack, your target will not be changed to that target automatically.
The following commands now support the [target=unit] macro option syntax:
/startattack
/petattack
/target
/assist
/focus
This allows you to do things like:
/petattack [target=mouseover,harm]
[ Post edited by Slouken ]
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=6&sid=1#104 |
Poster: Slouken at 2006-12-13 22:24:12 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Added IsSecureCmd("/command")
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=6&sid=1#106 |
Poster: Slouken at 2006-12-13 22:44:22 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Added Tooltip:IsUnit("unit")
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=6&sid=1#107 |
Poster: Slouken at 2006-12-13 22:48:01 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e:
Does that mean that using a /petattack with no target will send your pet on the closest enemy?
Yes, as a consistent default.
However, using "/petattack target" with no target will generate a "you have nothing to attack" message, and "/petattack [target=target,harm,nodead]" will only attack if you have a live enemy unit targeted.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=6&sid=1#108 |
Poster: Slouken at 2006-12-14 09:41:01 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e:
Hmmm... I suspect that this change is for the better, but it will break one of my macros.
/focus [target=focus,noexists];[target=focus,dead]
As a special case, if you /focus with the target=focus, or /target with the target=target, it will use the argument as the target instead. e.g. "/focus [target=focus,noexists] pet" will focus on the pet if the focus doesn't exist. In your example it would focus on "", which defaults to your current target.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=6&sid=1#117 |
Poster: Slouken at 2006-12-14 17:07:48 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e:
Does using ClearLines() prevent GetItem\Unit\Spell() from returning the Item\Unit\Spell that was on the Tooltip Before or do those functions return correctlty until another SetX() function is called?
Yes, ClearLines() clears the entire state of the tooltip.
[ Post edited by Slouken ]
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=7&sid=1#124 |
Poster: Iriel at 2006-12-07 20:00:16 Subject: Upcoming 2.0.2 Changes - Concise List |
| | This is a consolidated list of the announced (and sometimes observed) changes in the User Interface API's and functionality for the 2.0.2 release. Please note that this thread is to discuss the upcoming changes and any clarifications or features that are a direct result of those changes, or things which we've been asked to remind slouken of.
IMPORTANT: Off-topic or entirely redundant posts are liable to get deleted. It is however in everyone's best interest to not post them in the first place - We'd rather slouken could spend his time coding us cool things than moderating this thread!
Standard UI Elements
* Unit frames will respond to modified clicks by default.
* Action buttons no longer use shift-click to pick up actions, but instead use shift-drag. This frees up the shift modifier for use in macros or as a self-cast modifier. (A workaround for this now is available at http://forums.worldofwarcraft.com/thread.html?topicId=51038902&sid=1)
Macros and Slash Commands
* If you add a #showtooltip line to your macro, it will show the tooltip of the item or spell in addition to the normal visual feedback.
* /castsequence will equip items if they need to be equipped, and use them otherwise.
* NEW /dismount command
* The macro button: conditional will work with either the real button clicked or the state-header-remapped button that launched the macro.
* /startattack and /petattack will work like normal with no arguments, but if they're given arguments its interpreted and used as a unit ID or name to attack (you will not attack if the target cannot be found).
* If a unit is passed to /petattack YOUR target will not be changed.
* The following commands now support the [target=unit] macro option syntax: /startattack /petattack /target /assist /focus
* As a special case, if you /focus with the target=focus, or /target with the target=target, it will use the argument as the target instead. e.g. "/focus [target=focus,noexists] pet" will focus on the pet if the focus doesn't exist. In your example it would focus on "", which defaults to your current target.
Key Bindings
* Holding down ctrl, alt, shift, x will check keybindings in the following order: ALT-CTRL-SHIFT-X, CTRL-SHIFT-X, ALT-SHIFT-X, ALT-CTRL-X, SHIFT-X, CTRL-X, ALT-X, X
* Key bindings that directly cast spells or use items now respectIM the self-cast modifier.
API Changes
* NEW: equippable = IsEquippableItem(item)
* NEW: link = GetInboxItemLink(index)
* NEW: Dismount()
* NEW: button = GetMouseButtonClicked() -- Returns the name of the button that triggered a mouse down/up/click/doubleclick event.
* NEW: hasMacro = CursorHasMacro()
* NEW: type, detail[,subdetail] = GetCursorInfo() -- one of "item",id,link / "spell",slot,"spell"|"pet" / "macro",index / "money",amount
* NEW: isSecure = IsSecureCmd("/command")
Frame Changes - Frames
API Calls
* UPDATED: protected, explicit = Frame:IsProtected() -- New 'explicit' return value
Frame Changes - Tooltips
API Calls
* NEW: name = Tooltip:GetUnit()
* NEW: name, link = Tooltip:GetItem()
* NEW: name, rank = Tooltip:GetSpell()
* NEW: isUnit = Tooltip:IsUnit("unit")
Script Handlers
* NEW OnTooltipSetUnit - Triggered when a Tooltip shows a unit
* NEW OnTooltipSetItem - Triggered when a Tooltip shows an item
* NEW OnTooltipSetSpell - Triggered when a Tooltip shows a spell
Frame Changes - Cooldown
There's a new cooldown indicator frame to be used in place of the previous Model file.
* OLD <Model inherits="CooldownFrameTemplate"/> should be replaced by
* NEW <Cooldown inherits="CooldownFrameTemplate"/>
Secure Templates
* Added an action type "attribute" to secure action buttons which sets an arbitrary attribute on an arbitrary frame.
* Added support for state header resizing and re-parenting on state changes.
Protected Functions
* Duelling, dismissing your pet, and abandoning your pet are no longer protected functions.
Saved Variables
* Arrays that are stored as saved variables are now saved using lua's array initializer syntax for optimal memory usage and performance on load.
Bug Fixes
* /click now works with secure action buttons
* Fixed taint issues with CloseLoot()
* Fixed taint issues with PickupContainerItem()
* MovePad will work again
* The raid pullout positions will be saved and restored between sessions
* Fixed a bug where raid composition changes can incorrectly change the units referenced by the pullouts.
* Fixed taint issue with social frame/raid tab not showing in combat (buttons in main social/raid tab are no longer secure unit buttons)
* Fixed /reply in macros
* Fixed issue whereby creating Textures/FontStrings from a template used the template name instead of the specified region name.
* Fixed bug where /petattack would target the nearest unit, not nearest live enemy unit
(Last updated 2006-12-14 21:26 Pacific)
[ Post edited by Iriel ]
UI and Macros Forum MVP - Understand GC!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#0 |
| |
Poster: Iriel at 2006-12-07 20:00:16 Subject: Upcoming 2.0.2 Changes - Concise List |
| | This is a consolidated list of the announced (and sometimes observed) changes in the User Interface API's and functionality for the 2.0.2 release. Please note that this thread is to discuss the upcoming changes and any clarifications or features that are a direct result of those changes, or things which we've been asked to remind slouken of.
IMPORTANT: Off-topic or entirely redundant posts are liable to get deleted. It is however in everyone's best interest to not post them in the first place - We'd rather slouken could spend his time coding us cool things than moderating this thread!
Standard UI Elements
* Unit frames will respond to modified clicks by default.
* Action buttons no longer use shift-click to pick up actions, but instead use shift-drag. This frees up the shift modifier for use in macros or as a self-cast modifier. (A workaround for this now is available at http://forums.worldofwarcraft.com/thread.html?topicId=51038902&sid=1)
Macros and Slash Commands
* If you add a #showtooltip line to your macro, it will show the tooltip of the item or spell in addition to the normal visual feedback.
* /castsequence will equip items if they need to be equipped, and use them otherwise.
* NEW /dismount command
* The macro button: conditional will work with either the real button clicked or the state-header-remapped button that launched the macro.
* /startattack and /petattack will work like normal with no arguments, but if they're given arguments its interpreted and used as a unit ID or name to attack (you will not attack if the target cannot be found).
* If a unit is passed to /petattack YOUR target will not be changed.
* The following commands now support the [target=unit] macro option syntax: /startattack /petattack /target /assist /focus
* As a special case, if you /focus with the target=focus, or /target with the target=target, it will use the argument as the target instead. e.g. "/focus [target=focus,noexists] pet" will focus on the pet if the focus doesn't exist.
Key Bindings
* Holding down ctrl, alt, shift, x will check keybindings in the following order: ALT-CTRL-SHIFT-X, CTRL-SHIFT-X, ALT-SHIFT-X, ALT-CTRL-X, SHIFT-X, CTRL-X, ALT-X, X
* Key bindings that directly cast spells or use items now respectIM the self-cast modifier.
API Changes
* NEW: equippable = IsEquippableItem(item)
* NEW: link = GetInboxItemLink(index)
* NEW: Dismount()
* NEW: button = GetMouseButtonClicked() -- Returns the name of the button that triggered a mouse down/up/click/doubleclick event.
* NEW: hasMacro = CursorHasMacro()
* NEW: type, detail[,subdetail] = GetCursorInfo() -- one of "item",id,link / "spell",slot,"spell"|"pet" / "macro",index / "money",amount
* NEW: isSecure = IsSecureCmd("/command")
Frame Changes - Frames
API Calls
* UPDATED: protected, explicit = Frame:IsProtected() -- New 'explicit' return value
Frame Changes - Tooltips
API Calls
* NEW: name = Tooltip:GetUnit()
* NEW: name, link = Tooltip:GetItem()
* NEW: name, rank = Tooltip:GetSpell()
* NEW: isUnit = Tooltip:IsUnit("unit")
Script Handlers
* NEW OnTooltipSetUnit - Triggered when a Tooltip shows a unit
* NEW OnTooltipSetItem - Triggered when a Tooltip shows an item
* NEW OnTooltipSetSpell - Triggered when a Tooltip shows a spell
Frame Changes - Cooldown
There's a new cooldown indicator frame to be used in place of the previous Model file.
* OLD <Model inherits="CooldownFrameTemplate"/> should be replaced by
* NEW <Cooldown inherits="CooldownFrameTemplate"/>
Secure Templates
* Added an action type "attribute" to secure action buttons which sets an arbitrary attribute on an arbitrary frame.
* Added support for state header resizing and re-parenting on state changes.
Protected Functions
* Duelling, dismissing your pet, and abandoning your pet are no longer protected functions.
Saved Variables
* Arrays that are stored as saved variables are now saved using lua's array initializer syntax for optimal memory usage and performance on load.
Bug Fixes
* /click now works with secure action buttons
* Fixed taint issues with CloseLoot()
* Fixed taint issues with PickupContainerItem()
* MovePad will work again
* The raid pullout positions will be saved and restored between sessions
* Fixed a bug where raid composition changes can incorrectly change the units referenced by the pullouts.
* Fixed taint issue with social frame/raid tab not showing in combat (buttons in main social/raid tab are no longer secure unit buttons)
* Fixed /reply in macros
* Fixed issue whereby creating Textures/FontStrings from a template used the template name instead of the specified region name.
* Fixed bug where /petattack would target the nearest unit, not nearest live enemy unit
(Last updated 2006-12-14 21:26 Pacific)
[ Post edited by Iriel ]
UI and Macros Forum MVP - Understand GC!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#0 |
| |
Poster: Slouken at 2006-12-15 14:52:53 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | For the player, pet, party members and pets, and raid members and pets, you can now substitute the name of the unit anywhere a unit token is normally used.
e.g. if you had the player Desmondia in your party, you could create a macro to cast Flash Heal on her like this:
/cast [target=Desmondia] Flash Heal
You can also use -target as a suffix to indicate the unit's target.
e.g.
/cast [target=Desmondia-target,harm] Shadow Word: Pain
For the player, party members, and raid members, you can also use -pet as a suffix to indicate the unit's pet.
e.g.
/cast [target=Desmondia-pet] Flash Heal
This also means you can use -target and -pet for the appropriate unit tokens:
target-pet (if your target is a player in your party or raid)
target-target
etc.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=7&sid=1#125 |
Poster: Slouken at 2006-12-15 17:48:04 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e: How would you reference someone from another server in X-realm BG?
You simply add the realm like you would normally.
e.g.
/cast [target=Desmondia-Silver Hand-pet] Flash Heal
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=7&sid=1#128 |
Poster: Slouken at 2006-12-28 14:22:25 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e:
Can we get this to clear the right side of the tooltip too? ATM it only clears the text of the left side.
Sure.
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=9&sid=1#177 |
Poster: Slouken at 2007-01-03 09:38:36 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e:
It's odd because it works at the bottom for every other macro i've ever written since the patch :P
No, the code just parses through the macro for the first spell or item in a cast-ish line and uses that. You just happened to put that same thing in the #show line at the bottom. :)
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=10&sid=1#199 |
Poster: Slouken at 2007-01-04 09:13:45 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| |
Q u o t e: Could we get the target modifier added to /focus so we can do something like this which would focus on our current target unless we have a focus that's still alive; it would make polymorph macros a lot cleaner.
/focus [target=focus,nodead]
You can already do this:
/focus [target=focus,noexists]
/focus [target=focus,dead]
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=11&sid=1#204 |
Poster: Slouken at 2007-01-08 09:50:08 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Why do you need a unit selected in the first place?
Offhand it seems like you can leave the unit attribute unset, and the "if ( unit and unit ~= ""none" ..." code will work just fine?
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=11&sid=1#213 |
Poster: Iriel at 2006-12-07 20:00:16 Subject: 2.0.3 Changes - Concise List |
| | This is a consolidated list of the announced (and sometimes observed) changes in the User Interface API's and functionality for the 2.0.2/2.0.3 release. Please note that this thread is to discuss the upcoming changes and any clarifications or features that are a direct result of those changes, or things which we've been asked to remind slouken of.
IMPORTANT: Off-topic or entirely redundant posts are liable to get deleted. It is however in everyone's best interest to not post them in the first place - We'd rather slouken could spend his time coding us cool things than moderating this thread!
Standard UI Elements
* Unit frames will respond to modified clicks by default.
* Action buttons no longer use shift-click to pick up actions, but instead use shift-drag. This frees up the shift modifier for use in macros or as a self-cast modifier. (A workaround for this now is available at http://forums.worldofwarcraft.com/thread.html?topicId=51038902&sid=1)
Macros and Slash Commands
* If you add a #showtooltip line to your macro, it will show the tooltip of the item or spell in addition to the normal visual feedback.
* /castsequence will equip items if they need to be equipped, and use them otherwise.
* NEW /dismount command
* The macro button: conditional will work with either the real button clicked or the state-header-remapped button that launched the macro.
* /startattack and /petattack will work like normal with no arguments, but if they're given arguments its interpreted and used as a unit ID or name to attack (you will not attack if the target cannot be found).
* If a unit is passed to /petattack YOUR target will not be changed.
* The following commands now support the [target=unit] macro option syntax: /startattack /petattack /target /assist /focus
* As a special case, if you /focus with the target=focus, or /target with the target=target, it will use the argument as the target instead. e.g. "/focus [target=focus,noexists] pet" will focus on the pet if the focus doesn't exist.
Key Bindings
* Holding down ctrl, alt, shift, x will check keybindings in the following order: ALT-CTRL-SHIFT-X, CTRL-SHIFT-X, ALT-SHIFT-X, ALT-CTRL-X, SHIFT-X, CTRL-X, ALT-X, X
* Key bindings that directly cast spells or use items now respectIM the self-cast modifier.
API Changes
* NEW: equippable = IsEquippableItem(item)
* NEW: link = GetInboxItemLink(index)
* NEW: Dismount()
* NEW: button = GetMouseButtonClicked() -- Returns the name of the button that triggered a mouse down/up/click/doubleclick event.
* NEW: hasMacro = CursorHasMacro()
* NEW: type, detail[,subdetail] = GetCursorInfo() -- one of "item",id,link / "spell",slot,"spell"|"pet" / "macro",index / "money",amount
* NEW: isSecure = IsSecureCmd("/command")
Frame Changes - Frames
API Calls
* UPDATED: protected, explicit = Frame:IsProtected() -- New 'explicit' return value
Frame Changes - Tooltips
API Calls
* NEW: name = Tooltip:GetUnit()
* NEW: name, link = Tooltip:GetItem()
* NEW: name, rank = Tooltip:GetSpell()
* NEW: isUnit = Tooltip:IsUnit("unit")
Script Handlers
* NEW OnTooltipSetUnit - Triggered when a Tooltip shows a unit
* NEW OnTooltipSetItem - Triggered when a Tooltip shows an item
* NEW OnTooltipSetSpell - Triggered when a Tooltip shows a spell
Frame Changes - Cooldown
There's a new cooldown indicator frame to be used in place of the previous Model file.
* OLD <Model inherits="CooldownFrameTemplate"/> should be replaced by
* NEW <Cooldown inherits="CooldownFrameTemplate"/>
Secure Templates
* Added an action type "attribute" to secure action buttons which sets an arbitrary attribute on an arbitrary frame.
* Added support for state header resizing and re-parenting on state changes.
Protected Functions
* Duelling, dismissing your pet, and abandoning your pet are no longer protected functions.
Saved Variables
* Arrays that are stored as saved variables are now saved using lua's array initializer syntax for optimal memory usage and performance on load.
Bug Fixes
* /click now works with secure action buttons
* Fixed taint issues with CloseLoot()
* Fixed taint issues with PickupContainerItem()
* MovePad will work again
* The raid pullout positions will be saved and restored between sessions
* Fixed a bug where raid composition changes can incorrectly change the units referenced by the pullouts.
* Fixed taint issue with social frame/raid tab not showing in combat (buttons in main social/raid tab are no longer secure unit buttons)
* Fixed /reply in macros
* Fixed issue whereby creating Textures/FontStrings from a template used the template name instead of the specified region name.
* Fixed bug where /petattack would target the nearest unit, not nearest live enemy unit
(Last updated 2006-12-14 21:26 Pacific)
[ Post edited by Iriel ]
UI and Macros Forum MVP - Understand GC!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=1&sid=1#0 |
| |
Poster: Slouken at 2007-01-09 08:42:18 Subject: Re: Upcoming 2.0.2 Changes - Concise List |
| | Iriel, can you create a new combined 2.0.X changes thread? Thanks!
|
| | http://forums.worldofwarcraft.com/thread.html?topicId=54916062&pageNo=11&sid=1#215 |
|
|