Benik / BenikUI

BenikUI is an external ElvUI mod, adding different frame style and new features like detatched portraits and dashboards.
https://www.curseforge.com/wow/addons/benikui
7 stars 6 forks source link

An error occurs when flight mode exits. #37

Closed free4one closed 1 year ago

free4one commented 1 year ago

Describe the bug and post the error message, if there is one An error occurs when flight mode exits.

To Reproduce Steps to reproduce the behavior: Board a transportation service to enter flight mode.

Expected behavior no error when exit flight mode.

Screenshots no screenshots

Please include the addon and game versions:

error message

1x ...aceElvUI_BenikUI/modules/misc/flightMode.lua:394: attempt to call method 'Embed_Show' (a nil value)
[string "@ElvUI_BenikUI/modules/misc/flightMode.lua"]:394: in function <...aceElvUI_BenikUI/modules/misc/flightMode.lua:213>
[string "=[C]"]: in function `SetFlightMode'
[string "@ElvUI_BenikUI/modules/misc/flightMode.lua"]:496: in function `?'
[string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:109: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:109>
[string "=[C]"]: ?
[string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:19: in function <...que/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:15>
[string "@Masque/Libs/CallbackHandler-1.0-8/CallbackHandler-1.0.lua"]:54: in function `Fire'
[string "@TomTom/libs/AceEvent-3.0-4/AceEvent-3.0.lua"]:120: in function <...aceTomTom/libs/AceEvent-3.0/AceEvent-3.0.lua:119>

Locals:
self = <table> {
 SetFrameParent = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:139
 SetDefaultModuleLibraries = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:363
 fpsTimer = <table> {
 }
 inFlightMode = false
 Enable = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:290
 NewModule = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:231
 locationTimer = <table> {
 }
 EnableModule = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:328
 modules = <table> {
 }
 GetModule = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:206
 IterateEmbeds = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:438
 timer = <table> {
 }
 SecureHookScript = <function> defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:409
 defaultModuleLibraries = <table> {
 }
 TimeLeft = <function> defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:172
 startTime = 214346.544000
 coordsTimer = <table> {
 }
 RawHookScript = <function> defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:394
 ScheduleRepeatingTimer = <function> defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:129
 CancelAllTimers = <function> defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:160
 FlightMode = BenikUIFlightModeFrame {
 }
 CreateCoords = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:57
 GetName = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:275
 baseName = "ElvUI_BenikUI"
 ToggleLogo = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:500
 UnregisterAllEvents = <function> defined @Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:164
 name = "ElvUI_BenikUI_FlightMode"
 Initialize = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:537
 IsEnabled = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:447
 orderedModules = <table> {
 }
 ScheduleTimer = <function> defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:94
 DisableModule = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:346
 SetDefaultModulePrototype = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:405
 UpdateTimer = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:109
 SkinInFlight = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:162
 UpdateFps = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:123
 RegisterMessage = <function> defined @Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:80
 HookScript = <function> defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:365
 SetFlightMode = <function> defined =[C]:-1
 UpdateCoords = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:85
 IsHooked = <function> defined @ElvUI_Libraries/Core/Ace3/AceHook-3.0/AceHook-3.0.lua:492
 UpdateLocation = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:68
 CancelTimer = <function> defined @ElvUI_Libraries/Core/Ace3/AceTimer-3.0/AceTimer-3.0.lua:147
 IsModule = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:213
 Toggle = <function> defined @ElvUI_BenikUI/modules/misc/flightMode.lua:519
 SetDefaultModuleState = <function> defined @Masque/Libs/AceAddon-3.0/AceAddon-3.0.lua:383
 SendMessage = <function> defined @Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:49
 UnregisterMessage = <function> defined @Masque/Libs/CallbackHandler-1.0/CallbackHandler-1.0.lua:143
 SetEnabledState = <fun
Benik commented 1 year ago

Should be fixed on dev version