PitBull Unit Frames 4.0

PitBull Unit Frames 4.0

5M Downloads

RangeFader.lua:268: attempt to index global 'C_TooltipInfo' (a nil value)

keeneydj opened this issue · 2 comments

commented

I was super excited to see an update today after trying to figure out why the error below keeps happening with the range fader.
Even went so far as to clean install WoW and only load the newest version of PitBull.
At this point I have completely nuked WoW and even Battle.net off the PC, cleaning up any leftovers, and completely reinstalled everything.

Playing Cata Classic, the C_TooltipInfo.GetSpellByID call keeps failing in RangeFader.lua line 268.
This means no range fader in options and a harder time healing particularly.

Seriously unsure what's going on since no one else seems to be complaining about this and this call seems to be correct as of the API docs I've found.

I can /run this call and it still fails in different ways depending on the arguments or if I use the namespace or not.

Full LUA error:

Message: ...ce/AddOns/PitBull4/Modules/RangeFader/RangeFader.lua:268: attempt to index global 'C_TooltipInfo' (a nil value)
Time: Mon Jun 10 21:54:05 2024
Count: 1
Stack: ...ce/AddOns/PitBull4/Modules/RangeFader/RangeFader.lua:268: attempt to index global 'C_TooltipInfo' (a nil value)
[string "@Interface/AddOns/PitBull4/Modules/RangeFader/RangeFader.lua"]:268: in function <...ce/AddOns/PitBull4/Modules/RangeFader/RangeFader.lua:267>
[string "@Interface/AddOns/PitBull4/Modules/RangeFader/RangeFader.lua"]:346: in function `member'
[string "@Interface/AddOns/PitBull4/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:215: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:164>
[string "@Interface/AddOns/PitBull4/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:337: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:310>
[string "@Interface/AddOns/PitBull4/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:1114: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1110>
[string "@Interface/AddOns/PitBull4/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:1137: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1110>
[string "@Interface/AddOns/PitBull4/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:1639: in function `FeedGroup'
[string "@Interface/AddOns/PitBull4/Libs/AceConfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua"]:1564: in function <...nfig-3.0/AceConfigDialog-3.0/AceConfigDialog-3.0.lua:1548>
[string "=[C]"]: ?
[string "@Interface/AddOns/PitBull4/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:66: in function <...rface/AddOns/PitBull4/Libs/AceGUI-3.0/AceGUI-3.0.lua:64>
[string "@Interface/AddOns/PitBull4/Libs/AceGUI-3.0/AceGUI-3.0.lua"]:300: in function `Fire'
[string "@Interface/AddOns/PitBull4/Libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua"]:342: in function `SelectTab'
[string "@Interface/AddOns/PitBull4/Libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua"]:200: in function <...Libs/AceGUI-3.0/widgets/AceGUIContainer-TabGroup.lua:197>

Locals: spell_id = 75
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = nil
(*temporary) = "attempt to index global 'C_TooltipInfo' (a nil value)"
range_pattern = ".- yd range"

I don't have any idea where to go from what I have attempted.
Any ideas?

Screenshot 2024-06-10 205651

commented

Thanks, Looks good.

commented

Looks like C_TooltipInfo never made it Cataclysm ☹️ (ie, I missed making this compatible with classic)