While I'm here: Toad are you aware of the weird cooldown issue?
What I mean by this is I can click a healthstone or a healing potion and it will instantly change to 2M cooldown(or 3M whatever it is) but then later before the cooldown is up, if i mouse over the icon it shows a yellow cooldown text which is usually really wrong, if i move my mouse away the old cooldown shows again. It's rather odd.
May I ask where in the code the actual spell is cast, or the actual action performed. I can't seem to find it. I see all this code to setup a button but don't see where the actual EXECUTION happens.
It happens automatically. WoW does it for you based on the Secure Frames code.
So the "button setup code" you mention above is where the magic gets set up to happen automatically.
I deliberately didn't look any further at getting right click working because I wasn't quite sure how fix that in a "correct" way so I was going to leave it to Toad.
However, I think he is sleeping at the moment, and if you are impatient you can try editing AutoBarButton.lua
I spotted the problem and have had Mecdemort commit a temporary workaround until toadkiller can fix it properly if he wants to.
The problem seems to be that blizzard rewrote the way click handling works and decided in their infinite wisdom to remove support for wildcard click handling on "item" actions.
Some form of babble-spell is required yes. It would seem there's an issue with the library that is contained in the zip file. I'll take a look at it. I havent raided in a while so havent been using AutoWCast :)
[2006/10/26 22:03:09-27]: AutoBar\AutoBarProfile.lua:549: attempt to index field `?' (a nil value)
AutoBar\AutoBarProfile.lua:549: in function `DisplayCopy'
AutoBar\AutoBarProfile.lua:398: in function `Initialize'
AutoBar\Core.lua:411: in function `obj_method'
AceEvent-2.0\AceEvent-2.0.lua:312: in function `TriggerEvent'
AceEvent-2.0\AceEvent-2.0.lua:894: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:886>
is an article I wrote after encounternig similar problems and finding the "correct" way to fix them. It may help some people, but take the advice with a pinch of salt until I get more feedback on the article's accuracy.
So, My First Mod(tm). It scans you and your parties buffs, then whispers an appropriate raid member with a whispercast trigger for them to buff you. It randomises things a bit so it doesnt always bother the same person.
Hope you like it or find it useful.
Comments/suggestions very welcome, although I am aware that this may exist elsewhere, it was merely to prove to myself that I could do it. :)
Well I dragged an arcane elixir onto xad thinking it would be a reasonably sensible thing to do.. and it decided that the best thing for me to use when i clicked it was Flask of Supreme Power.
Logical, but expensive.
Mikma's argument was that things like arcane elixir shouldnt even be on XAD. I disagree, but think it should probably skip flasks :)
I take your point about bandages. I knew there would be a technical reason behind it. I was just thinking it would be kinda nice in those "oh crap" moments when you need to bandage but ran out.
0
What I mean by this is I can click a healthstone or a healing potion and it will instantly change to 2M cooldown(or 3M whatever it is) but then later before the cooldown is up, if i mouse over the icon it shows a yellow cooldown text which is usually really wrong, if i move my mouse away the old cooldown shows again. It's rather odd.
0
It happens automatically. WoW does it for you based on the Secure Frames code.
So the "button setup code" you mention above is where the magic gets set up to happen automatically.
0
However, I think he is sleeping at the moment, and if you are impatient you can try editing AutoBarButton.lua
Find the lines:
and ADD below:
That will add a right click handler for you.. if it will do the right thing, I do not know..
0
The problem seems to be that blizzard rewrote the way click handling works and decided in their infinite wisdom to remove support for wildcard click handling on "item" actions.
in other words:
SetAttribute("type", "item")
SetAttribute("item", foo)
doesnt work anymore, neither does:
SetAttribute("type*", "item")
SetAttribute("item*", foo)
However this does:
SetAttribute("type1", "item")
SetAttribute("item1", foo)
So only left click works.
The version in SVN now will work(for left clicks).
Feel free to update it with an alternative or "proper" fix.
0
0
0
[2006/10/26 22:03:09-27]: AutoBar\AutoBarProfile.lua:549: attempt to index field `?' (a nil value)
AutoBar\AutoBarProfile.lua:549: in function `DisplayCopy'
AutoBar\AutoBarProfile.lua:398: in function `Initialize'
AutoBar\Core.lua:411: in function `obj_method'
AceEvent-2.0\AceEvent-2.0.lua:312: in function `TriggerEvent'
AceEvent-2.0\AceEvent-2.0.lua:894: in function <Interface\AddOns\Ace2\AceEvent-2.0\AceEvent-2.0.lua:886>
---
0
is an article I wrote after encounternig similar problems and finding the "correct" way to fix them. It may help some people, but take the advice with a pinch of salt until I get more feedback on the article's accuracy.
0
Maneko: Haven't played with DewDrop yet, this may be a good opportunity to learn it :)
0
It also might not work outside of a raid(It should, but I havent tested it).
(I'm also assuming you're using the english game client, if you arent, it might not work too :)
0
0
Just type "/awc run" or "/autowcast run" and it'll go through your buffs and try to find a buffer.
0
Hope you like it or find it useful.
Comments/suggestions very welcome, although I am aware that this may exist elsewhere, it was merely to prove to myself that I could do it. :)
0
Logical, but expensive.
Mikma's argument was that things like arcane elixir shouldnt even be on XAD. I disagree, but think it should probably skip flasks :)
I take your point about bandages. I knew there would be a technical reason behind it. I was just thinking it would be kinda nice in those "oh crap" moments when you need to bandage but ran out.
0
Yeah, that was an expensive experiment. :)
Cant remember if i made this feature request or not yet, but making bandages on right click would be kinda cool.