This site works best with JavaScript enabled. Please enable JavaScript to get the best experience from this site.
Hi,
When I log on to my arcane mage and activate the "aura combo points option" in player's options, it won't show me any arcane charges.
Tried to deactivate all other addons except SUF, made a new profile (and activated the option), with my mage it won't work. With my rogue, it works just perfect.
I took a look into your source code and found an error, but not the fix:["MAGE"] = {max = 6, name = GetSpellInfo(36032)}
The number 6 is wrong, see here: http://wowhead.com/spell=114664 It has been changed to 4 in 5.2. But changing this value does not help, changing the spellid does not help either.
Greetings
€: Since im not very good at LUA, this might help you: http://wowhead.com/spell=36032#comments
Looks like the spellID was wrong, and the first one you linked is the right one. Try latest alpha and let me know if that fixes it.
For a reason, I can't doenload your lastest alpha, only v3.10.6-4-geb0e430 (Apr 06, 2014)...
But I manually edited the line to ["MAGE"] = {max = 4, name = GetSpellInfo(114664)}, unfortunately the aura combo points bar is still not working.
What's the aura called, "Arcane Charge"?
Get a charge of Arcane Charge on your Mage, and run
/dump UnitAura("player", "Arcane Charge")
screenshot that + put it into the ticket
It just says:
Dump: value=UnitAura("player", "Arcane Charge")
empty result
It's working with: /dump UnitDebuff("player", "Arcane Charge")
Field 4 is the number of stacks, I think the UnitAura api method is just a bit bugged in that way...
/dump ShadowUF.modules.auraPoints:GetPoints("player")
returns the number of stacks?
Nope. Version v3.10.7 - Alpha prints:
Dump: value=ShadowUF.modules.auraPoints:GetPoints("player")
[1]=0
huh, ok what about
/dump (GetSpellInfo(114664)) /dump select(4, UnitAura("player", (GetSpellInfo(114664)))) or 0 /dump select(4, UnitAura("player", "Arcane Charge")) or 0 /dump ShadowUF.modules.auraPoints.spells["MAGE"]
Dump: value=(GetSpellInfo(114664))
[1]="Arcane Charge"
Dump: value=select(4, UnitAura("player", (GetSpellInfo(114664)))) or 0
Dump: value=select(4, UnitAura("player", "Arcane Charge")) or 0
Dump: value=ShadowUF.modules.auraPoints.spells["MAGE"]
[1]={
max=4,
name="Arcane Charge"
}
------
I replaced "return select(4, UnitAura("player", trackSpell.name)) or 0" with "return select(4, UnitDebuff("player", trackSpell.name)) or 0" and it's working... but I think I broke the rogue aura funktion because that aura is not a debuff...
It's working with both spellids, 36032 and 114664
Oh right, UnitAura returns only buffs by default.
Try latest alpha, it should be fixed now.
Still not working :/ I thought it is only my WoW or whatever.. I tried that on my laptop aswell with a fresh wow installation, it does not work there too...
I experimented a bit...
/dump select(4, UnitAura("player", 1, "HARMFUL")) or 0
works but thats not good....
/dump select(4, UnitAura("player", "Arcane Charge", "HARMFUL")) or 0
does NOT work...
/dump select(4, UnitAura("player", (select(1, GetSpellInfo(36032))), "HARMFUL")) or 0
does not work either :/
Your lastest alpha was not working too...
I asked a friend to help me (he's a bit better in LUA than I am...) so he took a look at this and sent me back this line:
return select(4, UnitAura("player", trackSpell.name, nil, trackSpell.filter)) or 0
It is working!
You (and me too) just forgot to set the rank parameter to "nil" instead of passing "HARMFUL" to the rank parameter, because WoWWiki says: "If the second parameter is a string, then the third parameter is the rank (which can be nil)"
It's working with my mage and my rogue.
Seems that whoever did the examples on wowpedia got it wrong.
Thanks for the help debugging this.
To post a comment, please login or register a new account.