Macros in nUI
whenever I make a macro for spells on my warlock's cast bar and use the macro'd spell instead of the regular spell, NONE of the buttons light up to let me know spell is available. what did i do to break it?:mad:
|
I've noticed that as well and I don't know whether its a nUI thing or a WoW thing so just listen for the proc sound and combat text warning fly up and the special graphic to appear to tell me it has procced ..
But it doesn't seem all macros are affected so maybe it depends how the macro is written. EG. Are you adding [] as a default option for the spell ? I've found I've been using that alot now for it to have a fallback trigger if the rest fail. #showtooltip /cast [@mouseover, help, nodead][@target,help,nodead][] Heal Which basically says help the alive mouseover target, or the actual target otherwise fall back to your default setting and deal with the scenario as if the macro wasn't written. Perhaps that last scenario allows the spell alerts to happen and when they don't it coincides with macros that don't have that set up. Outside of that I can't think of what could be the cause, unless the way nUI treats its bars even in nUI5 is messing things up . |
It may be something to do with the IsUsableAction() method. Does it do the same thing in nUI6?
|
it seem to be the same in nui 6
i use macros like this spec dependent one #showtooltip /cast [spec:1] chaos bolt /cast [modifier:alt] Curse of Weakness /cast [modifier:shift] Curse of Exhaustion /cast [spec:2] Curse of Tongues /cancelaura herbouflage and it seems to show the global cooldown (not showing numbers) and when i cast the same spell /cast chaos bolt i do get the numbers in the cooldown may just be how the macro are but if you can figure out how to get the timer to show that wold be wonderfull o and a small request put the cooldown timer over the global cooldown, it is a little difficult to see when it is shaded over by the global cooldown keep up the good work with nui 6 im glad to see a hud in it now, makes my life much ezer and less painful not having to look away from my toon to see my health when i might be standing in the fire o doom |
2 Attachment(s)
Okay, just tested this with my priest and popped a renew on myself. As you can see from my screenshot the macro doesn't show the buff counter but the direct spell does.
Will try without nUI to see if it is the same problem and also with inline auras which I used to use before I persuaded Scott to add the functionality :D Edit: Okay with inline auras it works fine so there must be something they are looking at that is different from nUI. Here's a screenshot. |
I've added this to the bug list of nUI6. It's not a top priority, but I will look into how to fix this as soon as I can.
|
I've played with it some in the last few hours but try as I might I can't get it to display the value on the macro button despite having the values appear in both updateCooldown and abCooldown but it might be that I'm just doing stuff in the wrong area.
I can see InlineAura's code for getting the information and it seems to be retrieving the stuff Im expecting but it just doesn't get it in time for your display to use it or I'm not able to set a key variable at the right time. I'll keep checking things out though later on. |
I would suggest you try playing with it in the nUi6 code... the logic for the aura durations is located in the nUI6.LayoutEngine.ActionButtons.UpdateTimers method located in [ Interface > AddOns > nUI6 > Bars > ActionButtons.lua ] That's where the cooldown text and spell duration text is calculated.
|
Will do, and I'll try and rig up something to work in nUI5 in the mean time. I don't use nUI6 myself at the moment. There always seems to be something I want where I want it to be that isn't there rofl
|
At this point nUI6 is getting to a fairly playable state... you have cooldowns, a HUD, all the action bars and unit frames, etc. Still lots to do, but likely at a place as of last night where you can use it fairly effectively.
|
1 Attachment(s)
Okay, seemingly easy as pie for the most part. probably needs some more work as not all macros worked but here goes.
Code:
if buttonDetail.isPetButton then |
And nUI Version 5 needed this change to work even the ones that didn't work in the version 6 code I posted earlier.
Code:
elseif id |
I suspect the GetMacroItem() call is needed in the nUI6 code, too, to make it work with all macros.
EDIT: See if this code block works... Code:
-- is there a cooldown on the action and what is the name of the action itself? |
Yeah it probably will do, I did the nUI 5 version one afterwards and thought of adding it for completeness for trinkets and stuff like that :D
Turned off version 6 at the moment now that people are logging in rofl .. just in case we do stuff :D I 'll test the code before rush hour tomorrow rofl. |
Okay, made that change and it didn't stop stuff from working and it looks like the ones I wanted to see numbers on either aura timers or cooldown timers were there.
|
Hey guys, anyway I can get exact code info you did here? I'm having the same problem in latest version of nUI+. mod keys aren't working for macros placed in the ActionBars. Original action works, but mod keys don't allow the modified action to work.
Macro Example I use: #showtooltip /cast [mod:shift] Moonfire; Sunfire Like I said, Sunfire works for this macro, when I hold down the shift key, I see the icon change to the Moonfire, but pressing the key again with the mod key doesn't trigger the macro. Works great outside of nUI. |
Just restored my version of nUI+ to the latest version on site here and it works as far as I could see. On my shadow priest I replaced your spells with Mind Flay and Mind Sear and could use both depending on whether I had the shift button down or not.
Just in case you misunderstood the use of the modifier keys they are simply to highlight which ability will trigger when you activate the button. The modifier key itself does not trigger the ability but clicking the button or using the bound key will. |
hmmm,
interesting. I'll have strip all mods out except nUI+ and give it a try. |
Check that you haven't chosen SHIFT as a self-cast or focus-cast modifier.
Double check the spell names (best way is to shift-click them from the spellbook directly into the macro) |
Quote:
|
All times are GMT -6. The time now is 03:19 PM. |
vBulletin © 2024, Jelsoft Enterprises Ltd
© 2004 - 2022 MMOUI