psynct / NauticusClassic

Nauticus WoW Addon for Classic
MIT License
8 stars 9 forks source link

BCC error #6

Open Talimar opened 3 years ago

Talimar commented 3 years ago

2x NauticusClassic\NautCore.lua:581: attempt to call method 'UpdateDisplay' (a nil value) [string "@NauticusClassic\NautCore.lua"]:581: in function `?' [string "@ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0-17.lua"]:55: in function <...rkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:50>

Locals: self =

{ SetDefaultModuleLibraries = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:367 tempText = "" EnableModule = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:332 modules =
{ } GetBroadcastChannel = defined @NauticusClassic\NautCore.lua:330 IterateEmbeds = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:442 BroadcastTransportData = defined @NauticusClassic\NautComms.lua:137 UnregisterComm = defined @Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153 StringToKnown = defined @NauticusClassic\NautComms.lua:383 lowestNameTime = "N/A" debug = false sameSign = defined @NauticusClassic\NautCore.lua:1090 SetDefaultModulePrototype = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:409 SetZone = defined @NauticusClassic\NautCore.lua:951 OnCommReceived = defined @NauticusClassic\NautComms.lua:220 defaultModuleState = true GetFormattedTime = defined @NauticusClassic\NautCore.lua:1010 IsEnabled = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:451 ScheduleTimer = defined @ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:94 DisableModule = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:350 CheckTriggers_OnUpdate = defined @NauticusClassic\NautCore.lua:589 IsTransportListed = defined @NauticusClassic\NautCore.lua:1014 SetKnownCycle = defined @NauticusClassic\NautCore.lua:979 RegisterMessage = defined @Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 UnregisterMessage = defined @Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:153 SetTransport = defined @NauticusClassic\NautCore.lua:1059 HasKnownCycle = defined @NauticusClassic\NautCore.lua:991 InitialiseConfig = defined @NauticusClassic\NautCore.lua:754 SendCommMessage = defined @BugSack\Libs\AceComm-3.0\AceComm-3.0.lua:87 db =
{ } ToggleAlarm = defined @NauticusClassic\NautCore.lua:961 UnregisterAllComm = defined @Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:174 SetEnabledState = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:424 enabledState = true ZONE_CHANGED_NEW_AREA = defined @NauticusClassic\NautCore.lua:947 RegisterEvent = defined @Masque\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 RequestTransport = defined @NauticusClassic\NautComms.lua:188 IterateModules = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:437 platforms =
{ } versionNum = 131 DebugMessage = defined @NauticusClassic\NautCore.lua:1081 Enable = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:294 PLAYER_ENTERING_WORLD = defined @NauticusClassic\NautCore.lua:920 rtts =
{ } GetModule = defined @Masque\Libs\AceAddon-3.0\AceAddon-3.0.lua:210 GetCycleByIndex = defined @NauticusClassic\NautCore.lua:749 defaultModuleLibraries =
{ } TimeLeft = defined @ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:172 iconRenderTimer =
{ } optionsSlash =
{ } ScheduleRepeatingTimer = defined @ArkInventory\Externals\Ace3\AceTimer\AceTimer-3.0.lua:129 CancelAllTimers = define

beren12 commented 3 years ago

I miss this so much in tbc too!

glajchs commented 3 years ago

I was able to fix this mod by going to Libs/LibSimpleFrame-Mod-1.0/LibSimpleFrame-Mod-1.0.lua and changing the CreateFrame function call to have a 4th parameter of "BackdropTemplate". frame = CreateFrame("Frame", name, parent or UIParent, "BackdropTemplate")

beren12 commented 3 years ago

the correct fix for createframe that has properties like a backdrop is to do frame = CreateFrame("Frame", name, parent or UIParent, BackdropTemplateMixin and "BackdropTemplate") but there's also a new boat and the location of the docks on the world maps has changed but I haven't gotten much time to look at it yet.