World of Warcraft

1 . 2 . 3 . 4 . 5 . 6 . 7 . 8 . 9 . 10 . 11 . 12
Blizzard Entertainment
View All Posts by This User ignore-inactive
Slouken
Blizzard Poster
  • 80. Re: Upcoming 2.0.2 Changes - Concise List   12/12/2006 01:49:43 PM PST
quote locked
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]
}
Blizzard Entertainment
View All Posts by This User ignore-inactive
Slouken
Blizzard Poster
  • 81. Re: Upcoming 2.0.2 Changes - Concise List   12/12/2006 01:57:06 PM PST
quote locked
Iriel, I fixed a couple minor errors in the changes list, FYI.
Blizzard Entertainment
View All Posts by This User ignore-inactive
Slouken
Blizzard Poster
  • 82. Re: Upcoming 2.0.2 Changes - Concise List   12/12/2006 02:37:08 PM PST
quote locked
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.
62
View All Posts by This User Toggle Ignore / Unignore This User
  • 83. Re: Upcoming 2.0.2 Changes - Concise List   12/12/2006 03:19:19 PM PST
quote locked
maybe i'm missing something, but there is no way to get macros to run on "Down"?

I tried binding RunMacro("NAME") to a bind in Bindings.xml, but that seemed to taint it.

So how about;
SetBindingMacro("KEY", "macroname"|macroid,[runOnDown],[runOnUp])

all i really want to accomplish is something like;
/cast [buttonDown:Q] Defensive Stance [stance:3] Pummel; Berserker Stance;
and another macro like
/cast [buttonDown:E] Defensive Stance [stance:1] Overpower; Battle Stance;

But really, why cant i run macros onDown? That can't have anything to do with Security!

Anyways, great changes, but we must be allowed to do simple things like this! Hate not being able to go to Defensive stance!

Treap.
Blizzard Entertainment
View All Posts by This User ignore-inactive
Slouken
Blizzard Poster
  • 84. Re: Upcoming 2.0.2 Changes - Concise List   12/12/2006 04:05:46 PM PST
quote locked
Keybindings that directly cast spells and use items (SetBindingSpell/SetBindingItem) now respect the self-cast modifier.
60
View All Posts by This User Toggle Ignore / Unignore This User
  • 85. Re: Upcoming 2.0.2 Changes - Concise List   12/12/2006 05:47:16 PM PST
quote locked

Q u o t e:
Keybindings that directly cast spells and use items (SetBindingSpell/SetBindingItem) now respect the self-cast modifier.
Thanks :D

Nymbia is a cheater.
10
View All Posts by This User Toggle Ignore / Unignore This User
  • 86. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 08:59:32 AM PST
quote locked
Quick question, will /dismount trigger a global cooldown?

http://ctprofiles.net/3373025
60
View All Posts by This User Toggle Ignore / Unignore This User
  • 88. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 11:08:20 AM PST
quote locked
are we going to get the [equipped] condition changed to allow Checking of item name.

Checks like [equipped: trinket] are useless, since we all get trinkets at lvl 40.

and we all get rings at lvl 15. equipped needs an overhaul.

http://ctprofiles.net/404158
Blizzard Entertainment
View All Posts by This User ignore-inactive
Slouken
Blizzard Poster
  • 89. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 11:12:53 AM PST
quote locked
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.
60
View All Posts by This User Toggle Ignore / Unignore This User
  • 90. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 11:19:28 AM PST
quote locked

Q u o t e:
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.



/castsequence [equipped=kiss of the spider] use kiss of the spider, blade flurry; [noequipped=kiss of the spider] blade flurry


like this ^^

will there ever be limited functionality to allow something like this without allowing others to exploit gameplay? is this even considered an exploit if used in this fasion?

http://ctprofiles.net/404158
46
View All Posts by This User Toggle Ignore / Unignore This User
  • 91. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 11:32:28 AM PST
quote locked
You know that fancy "?" icon that we got for macros? It's teh awesome. But I've found that when you have 18 macros set for your character, all with the "?" icon, that it's really hard to find the one you're looking for when all you've got are a few characters of the macro name to go on if you need to open up the macro frame to make an edit.

Any chance that the macro frame itself could display the same icon texture that an action button would display if the "?" is chosen?

And what I never had were pictures flashing by
But what I had between the things I never tried
Was you reaching out in hopes to hold your hand
I'd say I'm better 'cause I lived before I died
60
View All Posts by This User Toggle Ignore / Unignore This User
  • Cenarion Circle
  • 92. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 12:22:55 PM PST
quote locked

Q u o t e:
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.



Q u o t e:
* /castsequence will equip items if they need to be equipped, and use them otherwise.


How will this work? Will we be able to use this to get the desired effect of being able to skip trinket spells if we don't have the mentioned trinket available?

Neuro's Macro Guide for WoW 2.0 (v3)
http://forums.worldofwarcraft.com/thread.html?topicId=56115740&sid=1
http://ctprofiles.net/3790114
60
View All Posts by This User Toggle Ignore / Unignore This User
  • Cenarius
  • 93. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 12:52:31 PM PST
quote locked
Saw this question in another post that had gotten quite lengthy. Anyone have any ideas?



Q u o t e:
Hi,
I have buttons that inherit SecureAnchorEnterTemplate. The buttons are handled by a SecureStateHeaderTemplate to change "state" when I mouseover them. But I also want to run specific code during the OnEnter event (like showing a tooltip), how can I do that ? I've tried to change the OnEnter event (using SetScript), and securecall the old handler, but it does not work. I've tried to hooksecurefunc, but it only accepts a function name, not a function itself. It's ok if my function is called after the secure OnEnter handler, but my function just needs to be called.

Any idea?
Thanks,
Kiki



Also, is it possible to get the name (string) of a xml widget script handler? For example, I have a button named "Dummy", which has an OnEnter script handler. Is it possible to get its name (in order to call hooksecurefunc())?
Thanks
35
View All Posts by This User Toggle Ignore / Unignore This User
  • Gurubashi
  • 94. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 01:45:34 PM PST
quote locked
Could
# show
and
# showtooptip
allow modifiers?

# show [modifier:shift] Wrath; Starfire


Otherwise my poor druid head will explode from trying to remember all of the ingenious button-saving modifier combos that I have macroed.
60
View All Posts by This User Toggle Ignore / Unignore This User
  • Windrunner
  • 95. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 03:35:44 PM PST
quote locked

Q u o t e:
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.


Does this mean it is now possible to change trinkets and rings in combat?
70
View All Posts by This User Toggle Ignore / Unignore This User
  • Thorium Brotherhood
  • 96. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 03:56:19 PM PST
quote locked
I'm having a heck of a time with one particular issue in a macro. I wrote the following macro for assisting:

/focus [help]
/assist focus
/startattack

Basically, if I target my friend and hit the macro it will set them as focus and I'll switch to their target. Anytime after that if I hit the macro again it will switch to whatever their current target is, even if they're on a different target... except in one case. If my friend is my focus, and I click on myself and then click the assist macro, it switches my focus to MYSELF. :-/

I can't seem to figure out how to test if I am targetted before I change focus. Help please?

[ Post edited by Brindebos ]


- The Badger -
67
View All Posts by This User Toggle Ignore / Unignore This User
  • 97. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 04:09:33 PM PST
quote locked

Q u o t e:
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.


Maybe im just nitpicking or i missing something, but since we can only switch weapon slot in combat and a global cooldown is attached to it, I really fail to see how people could make item driven macro.
Blizzard Entertainment
View All Posts by This User ignore-inactive
Slouken
Blizzard Poster
  • 98. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 04:13:12 PM PST
quote locked
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
35
View All Posts by This User Toggle Ignore / Unignore This User
  • 99. Re: Upcoming 2.0.2 Changes - Concise List   12/13/2006 05:53:06 PM PST
quote locked
the new name = Tooltip:GetUnit(), name is the string that is the characters name right? and if so can the functions UnitIsPlayer("unit") UnitIsFriend("unit","unit") UnitClass("unit") UnitLevel("unit") UnitRace("unit") and GetGuildInfo("unit") be called with names in addition to the unitID option?

--I'm going to have to ask you to come in on Saturday; and if you could come in on Sunday too, that would be great.
1 . 2 . 3 . 4 . 5 . 6 . 7 . 8 . 9 . 10 . 11 . 12
Forum Nav : Jump To This Forum
Blizzard Entertainment