SLOKnightfall / CovenantForge

Adds weights to Covenant Soulbinds & Conduits for your class specs.
0 stars 1 forks source link

CovenantForge-V1.10.lua:686: attempt to index field '?' (a nil value) #22

Closed Aciddeathx closed 3 years ago

Aciddeathx commented 3 years ago

45x CovenantForge\CovenantForge-V1.10.lua:686: attempt to index field '?' (a nil value) [string "@CovenantForge\CovenantForge-V1.10.lua"]:686: in function Update' [string "@CovenantForge\CovenantForge-V1.10.lua"]:328: in functionCreateSoulbindFrames' [string "@CovenantForge\CovenantForge-V1.10.lua"]:198: in function <CovenantForge\CovenantForge.lua:198>

Locals: self =

{ GetConduitWeight = defined @CovenantForge\Modules\Weights.lua:127 SetDefaultModuleLibraries = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:367 EnableModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:332 modules =
{ } baseName = "CovenantForge" IterateEmbeds = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:442 SecureHookScript = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:410 RawHookScript = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:395 Printf = defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:69 SetDefaultModulePrototype = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:409 CovForge_WeightTotalFrame = CovForge_WeightTotal { } defaultModuleState = true IsEnabled = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:451 Frame =
{ } DisableModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:350 RegisterMessage = defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 GetArgs = defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:144 Update = defined @CovenantForge\CovenantForge.lua:624 hooks =
{ } db =
{ } Soulbinds =
{ } SetEnabledState = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:424 Hook = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:274 enabledState = true RegisterEvent = defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:90 ClosePopups = defined @CovenantForge\Modules\SavedPaths.lua:238 IterateModules = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:437 RawHook = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:313 StopNodeFX = defined @CovenantForge\CovenantForge.lua:847 conduitList =
{ } ShowPopup = defined @CovenantForge\Modules\SavedPaths.lua:226 OnInitialize = defined @CovenantForge\CovenantForge.lua:170 NewModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:235 GetModule = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:210 viewed_spec = 102 defaultModuleLibraries =
{ } optionsFrame = { } OpenOptionsMenu = defined @CovenantForge\CovenantForge.lua:890 UnregisterChatCommand = defined @Ace3\AceConsole-3.0\AceConsole-3.0.lua:111 powers =
{ } UpdateConduitList = defined @CovenantForge\CovenantForge.lua:450 weightdb =
{ } SecureHook = defined @Ace3\AceHook-3.0\AceHook-3.0.lua:336 Weights =
{ } GetName = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:279 BaseValues =
{ } Conduits =
{ } SavePath = defined @CovenantForge\Modules\SavedPaths.lua:121 name = "CovenantForge" UpdateWeightList = defined @CovenantForge\Modules\Weights.lua:334 GetWeightPercent = defined @CovenantForge\Modules\Weights.lua:260 orderedModules =
{ } GetSoulbindWeight = defined @CovenantForge\Modules\Weights.lua:172 Disable = defined @Ace3\AceAddon-3.0\AceAddon-3.0.lua:314 GetTalentWeight = defined @CovenantForge\Modules\Weights.lua:144 DeletePath = defined @CovenantForge\Modules\SavedPaths.lua:137 UnregisterMessage = defined @Ace3\CallbackHandler-1.0\CallbackHandler-1.0.lua:153 ShowNodeTooltip = defined @CovenantForge\Modules\SavedP

Aciddeathx commented 3 years ago

The issue is related to the new conduits, the conduits.lua doesnt contain information on them, for example Condensed Anima Sphere. This causes the above issue, also there isnt any error handling for this use case.