ProjectAzilroka

ProjectAzilroka

512k Downloads

LUA-error when Mouseover items, NPC, etc.

ishirra opened this issue ยท 3 comments

commented

When mousing over NPC's or items, I get following LUA error. The count runs up rapidly when you keep your mouse on top of the NPC/item:

817x ...ceProjectAzilroka/Modules/MouseoverAuras.lua:172: attempt to call upvalue 'GetMouseFocus' (a nil value)
[string "@ProjectAzilroka/Modules/MouseoverAuras.lua"]:172: in function <...ceProjectAzilroka/Modules/MouseoverAuras.lua:171>

Locals:
self = MouseoverAurasHolder {
1 = MouseoverAurasHolderButton1 {
}
elapsed = 0
anchoredIcons = 1
createdIcons = 1
}
elapsed = 0.239000
(*temporary) = nil
(*temporary) = "attempt to call upvalue 'GetMouseFocus' (a nil value)"
GetMouseFocus = nil
MA =

{
modules =
{
}
defaultModuleLibraries =
{
}
Holder = MouseoverAurasHolder {
}
name = "ProjectAzilroka_MouseoverAuras"
orderedModules =
{
}
Authors = "Azilroka"
Description = "Auras for your mouseover target"
baseName = "ProjectAzilroka"
db =
{
}
enabledState = true
defaultModuleState = true
Title = "|cFF16C3F2Mouseover|r|cFFFFFFFFAuras|r"
isEnabled = true
moduleName = "MouseoverAuras"
}

commented

The issue is GetMouseFocus has been replaced by GetMouseFoci.

commented

Also, GetMouseFoci() returns a table now.

commented

He is aware of the change in GetMouseFocus, thanks though, he is slowly getting around to updating his addons