Open werner-jakobsmeier opened 1 week ago
I think if you could trim down this addon just to show the teammate icons that would be sufficient. Maybe just a standalone for that or fork.
I think the lua errors are due to wow API update:
https://warcraft.wiki.gg/wiki/API_C_Spell.GetSpellInfo
C_Spell.GetSpellInfo
replaces previous GetSpellInfo
Just pushed an update, could you check if the LUA errors are gone?
Hi, I am able to load into the game and dont have an error on load but I can not access the addon settings via /sb
but I can access it via the options -> addons screen. This is the error I get when trying to /sb
.
1x SweepyBoop/Core.lua:328: attempt to call global 'InterfaceOptionsFrame_OpenToCategory' (a nil value)
[string "@SweepyBoop/Core.lua"]:328: in function `?'
[string "@BlizzMove/Libs/AceConsole-3.0-7/AceConsole-3.0.lua"]:90: in function `?'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5479: in function `ChatEdit_ParseText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5131: in function `ChatEdit_SendText'
[string "@Blizzard_ChatFrameBase/Mainline/ChatFrame.lua"]:5167: in function `ChatEdit_OnEnterPressed'
[string "*ChatFrame.xml:140_OnEnterPressed"]:1: in function <[string "*ChatFrame.xml:140_OnEnterPressed"]:1>
Locals:
self = <table> {
modules = <table> {
}
baseName = "SweepyBoop"
defaultModuleState = true
db = <table> {
}
enabledState = true
name = "SweepyBoop"
optionsFrame = Frame {
}
defaultModuleLibraries = <table> {
}
orderedModules = <table> {
}
}
msg = ""
(*temporary) = nil
(*temporary) = Frame {
obj = <table> {
}
name = "SweepyBoop's Arena Helper"
}
(*temporary) = "attempt to call global 'InterfaceOptionsFrame_OpenToCategory' (a nil value)"
That being said...it works...oh my...looks so nice.
Glad you like the addon! Really appreciate the support and feedback ❤️
For the /sb
command error, could you quickly try the following and see if it's resolved?
In Core.lua
file, change line 328 from
InterfaceOptionsFrame_OpenToCategory(self.optionsFrame);
to
if Settings and Settings.OpenToCategory then
Settings.OpenToCategory(self.optionsFrame)
else
InterfaceOptionsFrame_OpenToCategory(self.optionsFrame)
end
Apologies that it's hard for me to test in game these days. I'm not actively playing since I'm pre-occupied by my newborn baby.
ok I made the change but while no more error and it does open the options menu it doesnt open the addon menu but the general game menu:
change made in the lua file:
I see. How about changing that line to this:
if Settings and Settings.OpenToCategory then
Settings.OpenToCategory(addonName)
else
InterfaceOptionsFrame_OpenToCategory(self.optionsFrame)
end
Updated:
function SweepyBoop:SlashCommand(msg)
if not msg or msg:trim() == "" then
if Settings and Settings.OpenToCategory then
Settings.OpenToCategory(addonName)
else
InterfaceOptionsFrame_OpenToCategory(self.optionsFrame)
end
end
end
result:
(not a huge deal since we can access the addon settings via the game options addon menu)
As soon as one loads into the game greeted with an error and addon doesn't work.
/sb
will not work. Error from BugSack: