mpstark / DynamicCam

A more dynamic camera for World of Warcraft.
MIT License
23 stars 11 forks source link

Lua error "attempt to call field 'HideUI' (a nil value)" #108

Closed FrancisMT closed 2 months ago

FrancisMT commented 2 months ago

Error report:

Message: Interface/AddOns/DynamicCam/Core.lua:542: attempt to call field 'HideUI' (a nil value)
Time: Wed Aug 14 10:50:14 2024
Count: 424
Stack: Interface/AddOns/DynamicCam/Core.lua:542: attempt to call field 'HideUI' (a nil value)
[string "@Interface/AddOns/DynamicCam/Core.lua"]:542: in function `FadeOutUI'
[string "@Interface/AddOns/DynamicCam/SituationManager.lua"]:620: in function `ChangeSituation'
[string "@Interface/AddOns/DynamicCam/SituationManager.lua"]:852: in function `EvaluateSituations'
[string "@Interface/AddOns/DynamicCam/Core.lua"]:93: in function <Interface/AddOns/DynamicCam/Core.lua:86>

Locals: self = <table> {
 modules = <table> {
 }
 currentSituationID = "002"
 db = <table> {
 }
 baseName = "DynamicCam"
 defaultModuleState = true
 secondsPerFrame = 0.010917
 Options = <table> {
 }
 oldDefaults = <table> {
 }
 enabledState = true
 LibCamera = <table> {
 }
 easeShoulderOffsetInProgress = false
 cameraDistanceMaxZoomFactor_max = 39
 defaults = <table> {
 }
 situationDefaults = <table> {
 }
 defaultModuleLibraries = <table> {
 }
 FlyingMountList = <table> {
 }
 conditionExecutionCache = <table> {
 }
 name = "DynamicCam"
 orderedModules = <table> {
 }
 currentShoulderOffset = -1.500000
}
fadeOutTime = 1
settings = <table> {
 enabled = true
 fadeOpacity = 0
 fadeOutTime = 1
 customFramesToKeep = <table> {
 }
 keepPartyRaidFrame = false
 hideEntireUI = false
 keepTrackingBar = false
 fadeInTime = 1
 keepChatFrame = false
 keepCustomFrames = false
 keepEncounterBar = false
 keepFrameRate = false
 emergencyShowEscEnabled = true
 keepAlertFrames = false
 keepTooltip = false
 keepMinimap = false
}
config = <table> {
 keepChatFrame = false
 trackingBarAlpha = 1
 customFramesToKeep = <table> {
 }
 UIParentAlpha = 0
 keepCustomFrames = false
 keepTrackingBar = false
 keepEncounterBar = false
 hideFrameRate = true
 keepPartyRaidFrame = false
 keepAlertFrames = false
 keepTooltip = false
 keepMinimap = false
}
(*temporary) = nil
(*temporary) = 1
(*temporary) = <table> {
 keepChatFrame = false
 trackingBarAlpha = 1
 customFramesToKeep = <table> {
 }
 UIParentAlpha = 0
 keepCustomFrames = false
 keepTrackingBar = false
 keepEncounterBar = false
 hideFrameRate = true
 keepPartyRaidFrame = false
 keepAlertFrames = false
 keepTooltip = false
 keepMinimap = false
}
(*temporary) = "attempt to call field 'HideUI' (a nil value)"
Addon = <table> {
}
uiParentHidden = false
fadeUIEscapeHandlerFrame = DynamicCamfadeUIEscapeHandlerFrame {
}
LudiusMaximus commented 2 months ago

Thanks for reporting. Should be fixed with release 2.8.2.