Plugins\Clique_NUFBeta.lua:35: attempt to index field `Nurfed_Unit_OnClick' (a function value)
Plugins\Clique_NUFBeta.lua:35: in function <Interface\AddOns\Clique\Plugins\Clique_NUFBeta.lu a:33>
<unknown>:
Nurfed_Utility\Nurfed_Units.lua:256: in function <Interface\AddOns\Nurfed_Utility\Nurfed_Units.lua: 256>
I went back to Clique-r14553 & had no errors. I tried deleting my saved variables & using an older version of nurfed, but the error persisted with 10/21 version
I get that error even using the default unitframes with the newest version of Clique:
...\AddOns\Clique\Plugins\Blizz_UnitFrames.lua:48 attempt to index field 'OnClick' (a function value)
It happens when I just left-click on my own portrait, for example.
Had the same with the default unit frame and discord when I used the latest version yesterday. But I also had numerous other errors (prat, Ora2, MoneyFu), so I'm not sure what caused this (I used the Ace Update Addon), but I hope this will be fixed today.
It seems a lot of ace2 addons are making errors these days. I solved part of my addons when i installed the ace2 libs seperately instead of using what i got with the addons.
I've a question, would it be possible to choose the Keyboard Key, which you use in combination with the mouse button by myself?
My problem is, that I'd like to use a complete other keyboard gaming layout for my hand, I use (german keyboard) ZUI (should be yui on english layout) and Alt GR. Additionally I would like to use the "F" key, instead of left shift for mouse combos. This combo would fit perfectly to my hand for example.
No, unfortunately. There is no way to tell is a given key is "Down" or not, whereas we have a way to tell is Alt, Shift and Control are down. Those are the only valid "modifier" keys.
There's one way around it and its a horrible hack. I'll consider putting it in tonight, we'll see.
Thanks in advance Cladhaire.
This was about the possibility of using Clique with the Auto Self Cast option on. I've got the latest SVN Trunk version and it's still not possible. Did you decided not to put the hack in or did you do it in a branch somewhere?
i know, that question shouldn't be asked for, but maybe you could help me again.
i would like to have my macro as clique function, the macro is:
/script --CastSpellByName("Renew")
/script local b = 1; for j=0,15 do a = UnitBuff("target", j); if (a and string.find(a, "Renew")) then b = nil; break; end; end; if (b) then CastSpellByName("Renew"); end
what it does: if the target has renew, it wont cast it again, otherwise it will.
Pretty simple question, I want to use a spell(Mind Blast) if it isn't on cooldown, or another(Smite) if it is. I tried a quick edit of the GetSpellCooldown example on WoWWiki
local start, duration = GetSpellCooldown(spellID, BOOKTYPE_SPELL);
if ( start > 0 and duration > 0) then
Print('Please wait ' .. duration - ( GetTime() - start) .. ' seconds before using this spell.');
else
Print('Spell is ready.');
end
into
local start, duration = GetSpellCooldown(86, BOOKTYPE_SPELL);
if ( start > 0 and duration > 0) then
Clique:CastSpell("Mind Blast(Rank 9)")
else
Clique:CastSpell("Smite(Rank 8)")
end
but that always picked the else option, plus I had to go through my spellbook and count to the desired cooldown spell, which would change up learning/gaining new spells I'd also like to buff myself with Inner Focus if it is up before I cast a spell, let's say Greater Heal(Rank 3).
I would just use
Clique:CastSpell("Mind Blast(Rank 9)")
Clique:CastSpell("Smite(Rank 8)")
but that would spam my screen with "Spell isn't ready" as far as I can tell
Pretty simple question, I want to use a spell(Mind Blast) if it isn't on cooldown, or another(Smite) if it is. I tried a quick edit of the GetSpellCooldown example on WoWWiki
local start, duration = GetSpellCooldown(spellID, BOOKTYPE_SPELL);
if ( start > 0 and duration > 0) then
Print('Please wait ' .. duration - ( GetTime() - start) .. ' seconds before using this spell.');
else
Print('Spell is ready.');
end
into
local start, duration = GetSpellCooldown(86, BOOKTYPE_SPELL);
if ( start > 0 and duration > 0) then
Clique:CastSpell("Mind Blast(Rank 9)")
else
Clique:CastSpell("Smite(Rank 8)")
end
but that always picked the else option, plus I had to go through my spellbook and count to the desired cooldown spell, which would change up learning/gaining new spells I'd also like to buff myself with Inner Focus if it is up before I cast a spell, let's say Greater Heal(Rank 3).
I would just use
Clique:CastSpell("Mind Blast(Rank 9)")
Clique:CastSpell("Smite(Rank 8)")
but that would spam my screen with "Spell isn't ready" as far as I can tell
In short, neither of these will work in the Burning Crusade.. so I woulodn't put much time into them.. the first is the right idea, I just dont have time to troubleshoot it.
Like Cladhaire said, these won't work like this in the expansion, but if you want to mess with it...
I use GetActionCooldown() instead, because I find it easier to use. If you change your talents at a trainer, you don't need to adjust anything. You just give it the action bar slot number where Mind Blast is located. In the example below, Mind Blast is in the #8 slot.
if (GetActionCooldown(8)==0) then
CastSpellByName("Mind Blast")
else
CastSpellByName("Smite")
end
This also works fine in macros, like the following one I use for an auto Inner Focus (if it's available) before casting Prayer of Healing.
/script --CastSpellByName("Prayer of Healing")
/script if (GetActionCooldown(9)==0) then CastSpellByName("Inner Focus") SpellStopCasting() end CastSpellByName("Prayer of Healing")
Note that if Inner Focus is activated, but not used, then it does not have a cooldown. This matters because if you jam the macro button, the SpellStopCasting() will end up canceling your Prayer of Healing. So don't jam the button repeatedly :P I guess you could put in an additional check to see if the Inner Focus buff is on you...
Sorry if this has been asked before, but since we have to switch 'Self-Cast' option off in Interface, is there a way so that when I'm soloing/PvPing when I go to bandage me or heal it will heal me unless I have someone targeted?
Rollback Post to RevisionRollBack
To post a comment, please login or register a new account.
Plugins\Clique_NUFBeta.lua:35: attempt to index field `Nurfed_Unit_OnClick' (a function value)
Plugins\Clique_NUFBeta.lua:35: in function <Interface\AddOns\Clique\Plugins\Clique_NUFBeta.lu a:33>
<unknown>:
Nurfed_Utility\Nurfed_Units.lua:256: in function <Interface\AddOns\Nurfed_Utility\Nurfed_Units.lua: 256>
I went back to Clique-r14553 & had no errors. I tried deleting my saved variables & using an older version of nurfed, but the error persisted with 10/21 version
...\AddOns\Clique\Plugins\Blizz_UnitFrames.lua:48 attempt to index field 'OnClick' (a function value)
It happens when I just left-click on my own portrait, for example.
Had the same with the default unit frame and discord when I used the latest version yesterday. But I also had numerous other errors (prat, Ora2, MoneyFu), so I'm not sure what caused this (I used the Ace Update Addon), but I hope this will be fixed today.
With reference to this thread:
http://www.wowace.com/forums/index.php?topic=2761.0
I'm asking you Cladhaire or anyone else that knows, if this is possible or could be made possible through the use of Clique macros?
My problem is, that I'd like to use a complete other keyboard gaming layout for my hand, I use (german keyboard) ZUI (should be yui on english layout) and Alt GR. Additionally I would like to use the "F" key, instead of left shift for mouse combos. This combo would fit perfectly to my hand for example.
Would that be ossible to realize?
Cheers :)
This was about the possibility of using Clique with the Auto Self Cast option on. I've got the latest SVN Trunk version and it's still not possible. Did you decided not to put the hack in or did you do it in a branch somewhere?
TIA
i would like to have my macro as clique function, the macro is:
/script --CastSpellByName("Renew")
/script local b = 1; for j=0,15 do a = UnitBuff("target", j); if (a and string.find(a, "Renew")) then b = nil; break; end; end; if (b) then CastSpellByName("Renew"); end
what it does: if the target has renew, it wont cast it again, otherwise it will.
Thanks again!
Clique:NewSpell("SpellName", "BuffName") will cast SpellName if BuffName isn't up on the target.
:)
I would just use
Clique:CastSpell("Mind Blast(Rank 9)")
Clique:CastSpell("Smite(Rank 8)")
but that would spam my screen with "Spell isn't ready" as far as I can tell
In short, neither of these will work in the Burning Crusade.. so I woulodn't put much time into them.. the first is the right idea, I just dont have time to troubleshoot it.
I use GetActionCooldown() instead, because I find it easier to use. If you change your talents at a trainer, you don't need to adjust anything. You just give it the action bar slot number where Mind Blast is located. In the example below, Mind Blast is in the #8 slot.
This also works fine in macros, like the following one I use for an auto Inner Focus (if it's available) before casting Prayer of Healing.
Note that if Inner Focus is activated, but not used, then it does not have a cooldown. This matters because if you jam the macro button, the SpellStopCasting() will end up canceling your Prayer of Healing. So don't jam the button repeatedly :P I guess you could put in an additional check to see if the Inner Focus buff is on you...