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 =
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 =
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.
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 =
================
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 =
I think the
GetAddOnMetadata
function has been moved intoC_AddOn
- I'm unable to test it right now, but it might point someone in the right direction.