axc450 / pbs

Battle Pet Combat Scripting
MIT License
27 stars 10 forks source link

Issues on beta - with version 1.10.1 #90

Closed fraerie closed 4 months ago

fraerie commented 4 months ago

Errors on load into game

3x tdBattlePetScript/Core/Addon.lua:76: attempt to call global 'GetAddOnMetadata' (a nil value) [string "@tdBattlePetScript/Core/Addon.lua"]:76: in function `UpdateDatabase' [string "@tdBattlePetScript/Core/Addon.lua"]:65: in function <tdBattlePetScript/Core/Addon.lua:61>

[string "@ItemVersion/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...ddOns/ItemVersion/Libs/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@ItemVersion/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:523: in function `EnableAddon' [string "@ItemVersion/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:626: in function <...ddOns/ItemVersion/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals: self =

{ modules =
{ } defaultModuleLibraries =
{ } baseName = "tdBattlePetScript" name = "PetBattleScripts" orderedModules =
{ } db =
{ } enabledState = true defaultModuleState = true } oldVersion = nil (temporary) = nil (temporary) = "tdBattlePetScript" (temporary) = "Version" (temporary) = "attempt to call global 'GetAddOnMetadata' (a nil value)" ADDON = "tdBattlePetScript" GUI =
{ Retail = true BackdropTemplate = "BackdropTemplate" BCC = false } ns =
{ Action =
{ } ICON = "Interface\Icons\Icon_petfamily_dragon" Condition =
{ } L =
{ } Director =
{ } Options =
{ } Addon =
{ } PluginManager =
{ } RematchPlugin =
{ } BattleCachePrototype =
{ } ScriptManager =
{ } Snippets =
{ } Version =
{ } BattleCacheManager =
{ } UI =
{ } Stack =
{ } Util =
{ } PluginPrototype =
{ } }

================

16x ...Ons/tdBattlePetScript/Core/Manager/PluginManager.lua:188: attempt to call global 'IsAddOnLoaded' (a nil value) [string "@tdBattlePetScript/Core/Manager/PluginManager.lua"]:188: in function <...Ons/tdBattlePetScript/Core/Manager/PluginManager.lua:183>

[string "@tdBattlePetScript/Plugins/Base.lua"]:15: in function <tdBattlePetScript/Plugins/Base.lua:14>

[string "@ItemVersion/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:66: in function <...ddOns/ItemVersion/Libs/AceAddon-3.0/AceAddon-3.0.lua:61> [string "@ItemVersion/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:494: in function `InitializeAddon' [string "@ItemVersion/Libs/AceAddon-3.0-13/AceAddon-3.0.lua"]:619: in function <...ddOns/ItemVersion/Libs/AceAddon-3.0/AceAddon-3.0.lua:611>

Locals: self =

{ moduleWatings =
{ } modules =
{ } defaultModuleLibraries =
{ } name = "PetBattleScripts_PluginManager" orderedModules =
{ } pluginsOrdered =
{ } baseName = "tdBattlePetScript" moduleEnableQueue =
{ } db =
{ } enabledState = true defaultModuleState = true moduleName = "PluginManager" } module =
{ requiredAddon = "Blizzard_PetBattleUI" baseName = "tdBattlePetScript" modules =
{ } defaultModuleLibraries =
{ } enabledState = false moduleName = "Base" defaultModuleState = true name = "PetBattleScripts_PluginManager_Base" orderedModules =
{ } } addon = "Blizzard_PetBattleUI" (temporary) = nil (temporary) = "Blizzard_PetBattleUI" (*temporary) = "attempt to call global 'IsAddOnLoaded' (a nil value)"

GurliGebis commented 4 months ago

I think the GetAddOnMetadata function has been moved into C_AddOn - I'm unable to test it right now, but it might point someone in the right direction.