IrcDirk / Carbonite-Classic

Carbonite + Modules for WoW Classic
https://www.curseforge.com/wow/addons/carbonite-classic
GNU General Public License v3.0
51 stars 23 forks source link

SOD/Era - attempt to call GetMouseFocus (a nil value) #385

Closed Farsyte closed 2 weeks ago

Farsyte commented 2 weeks ago

Observed on Classic servers, including Seasonal servers.

This does not happen on Cataclysm servers (smells like the classic servers got an update that makes them look like Cata servers, but I've not peeked at the version checking bits in the addon's code, much less instrumented them).

The count rises rapidly if my mouse is over the map.

Message: Interface/AddOns/Carbonite/NxUI.lua:3149: attempt to call global 'GetMouseFocus' (a nil value)
Time: Mon Sep 30 19:54:33 2024
Count: 78
Stack: Interface/AddOns/Carbonite/NxUI.lua:3149: attempt to call global 'GetMouseFocus' (a nil value)
[string "@Interface/AddOns/Carbonite/NxUI.lua"]:3149: in function <Interface/AddOns/Carbonite/NxUI.lua:3122>
boxcutter411 commented 2 weeks ago

The above observed behaviour is what's occurring in Era, SoD and most likely HC. The fix pushed is for Cata Classic as far as I can see on Curseforge. Great addon btw.

IrcDirk commented 2 weeks ago

Ohhh... sorry. I dont know if when i will have time to update SOD version.

Raven427 commented 2 weeks ago

352x Carbonite/NxUI.lua:3149: attempt to call global 'GetMouseFocus' (a nil value) [string "@Carbonite/NxUI.lua"]:3149: in function <Carbonite/NxUI.lua:3122>

Locals: self = NxMap1 { PixelSnapDisabled = true NxMap =

{ } Center = Texture { } NxWin =
{ } RightEdge = Texture { } BottomEdge = Texture { } TopRightCorner = Texture { } BottomRightCorner = Texture { } BottomLeftCorner = Texture { } TopEdge = Texture { } TopLeftCorner = Texture { } backdropInfo =
{ } LeftEdge = Texture { } } elapsed = 0.003000 this = NxMap1 { PixelSnapDisabled = true NxMap =
{ } Center = Texture { } NxWin =
{ } RightEdge = Texture { } BottomEdge = Texture { } TopRightCorner = Texture { } BottomRightCorner = Texture { } BottomLeftCorner = Texture { } TopEdge = Texture { } TopLeftCorner = Texture { } backdropInfo =
{ } LeftEdge = Texture { } } win =
{ TitleFStr =
{ } BorderW = 7 BorderH = 7 ButClose =
{ } Border = true BackgndAlphaDiff = 1 BackgndAlphaMin = 0 BackgndFadeOut = 0 SaveData =
{ } LayoutModeNormal = "" TitleH = 12 TitleLineH = 10 Closer = true User =
{ } LayoutMode = "Max" MovSizing = false BackgndFadeTarget = 0 TopH = 19 ChildFrms =
{ } BackgndFadeIn = 1 Name = "NxMap1" Frm = NxMap1 { } BackgndFade = 0.000100 TitleLines = 1 ButW = 12.500000 Sizeable = true } secureOk = true x = 940.666602 (*temporary) = nil

Raven427 commented 2 weeks ago

this error pops when you mouse over the map...

IrcDirk commented 2 weeks ago

@artscout fixed it on https://github.com/IrcDirk/Carbonite-Classic/tree/classic-era branch u can download and check if its fixed.

boxcutter411 commented 2 weeks ago

Downloaded - Increasing error count on moving mouse on map has stopped. Have this error on load on Era -

[string "Carbonite/Taintless.xml:<S..."]:56: attempt to index global 'InterfaceOptionsFrame' (a nil value) [string "Carbonite/Taintless.xml:"]:56: in main chunk

Locals: (temporary) = nil (temporary) = nil (temporary) = nil (temporary) = nil (*temporary) = "attempt to index global 'InterfaceOptionsFrame' (a nil value)"

IrcDirk commented 2 weeks ago

Great ill push this to Curse in near future. As to other error please open new issue.