View Single Post
08-30-19, 05:22 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,928
hmm .. (Edit: Nevermind) rofl I'll leave this just in case you hit this problem later

Test the value of ResultString before you leave the function it is set in.

As long as that has a value it should work after it has left the function as ResultString wasn't defined as a local variable.

However, I thought Blizzard had changed how Spell data was accessed, so if ResultString or SpellName and SpellDescription come up with nothing that could be the reason.

What I seemed to see happening is that after a period of time, the spell information was cleared from memory so I made a point of storing what I needed for the addon to work. There is an event I use in one of my addons called "SPELL_DATA_LOAD_RESULT" which I use to store any spell information I need to keep after making a call to C_Spell.RequestLoadSpellData(spellID).
__________________


Characters:
Gwynedda - 70 - Demon Warlock
Galaviel - 65 - Resto Druid
Gamaliel - 61 - Disc Priest
Gwynytha - 60 - Survival Hunter
Lienae - 60 - Resto Shaman
Plus several others below level 60

Info Panel IDs : http://www.wowinterface.com/forums/s...818#post136818
  Reply With Quote