Prepatch error
gaveer opened this issue ยท 9 comments
prepatch error
6x OrderHallCommander\tutorials.lua:465: attempt to call field 'GetDate' (a nil value)
[string "@OrderHallCommander\tutorials.lua"]:465: in function <OrderHallCommander\tutorials.lua:449>
[string "=(tail call)"]: ?
[string "=[C]:"]: ?
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:498: in function 'InitializeAddon'
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:623: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
[string "=[C]:"]: ?
[string "=[C]:"]: in function 'LoadAddOn'
[string "@FrameXML\UIParent.lua"]:495: in function 'UIParentLoadAddOn'
[string "@FrameXML\UIParent.lua"]:685: in function 'Garrison_LoadUI'
[string "@WarPlan\MissionTable.lua"]:474: in function <WarPlan\MissionTable.lua:469>
[string "=[C]:"]: ?
[string "@WarPlan\Libs/Evie.lua"]:37: in function <WarPlan\Libs/Evie.lua:32>
6x OrderHallCommander\cache.lua:712: Usage: GetCurrencyTypes(garrType)
[string "=[C]:"]: in function 'GetCurrencyTypes'
[string "@OrderHallCommander\cache.lua"]:712: in function <OrderHallCommander\cache.lua:710>
[string "=(tail call)"]: ?
[string "=[C]:"]: ?
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:70: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:65>
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:498: in function 'InitializeAddon'
[string "@Ace3\AceAddon-3.0\AceAddon-3.0-13.lua"]:623: in function <Ace3\AceAddon-3.0\AceAddon-3.0.lua:615>
[string "=[C]:"]: ?
[string "=[C]:"]: in function 'LoadAddOn'
[string "@FrameXML\UIParent.lua"]:495: in function 'UIParentLoadAddOn'
[string "@FrameXML\UIParent.lua"]:685: in function 'Garrison_LoadUI'
[string "@WarPlan\MissionTable.lua"]:474: in function <WarPlan\MissionTable.lua:469>
[string "=[C]:"]: ?
[string "@WarPlan\Libs/Evie.lua"]:37: in function <WarPlan\Libs/Evie.lua:32>
5x ...ibInit\MSA-DropDownMenu-1.0\MSA-DropDownMenu-1.0-7.lua:212: attempt to call method 'SetBackdrop' (a nil value)
[string "@OrderHallCommander\libs\LibInit-52\MSA-DropDownMenu-1.0\MSA-DropDownMenu-1.0-7.lua"]:212: in function 'CreateDropDownList'
[string "@OrderHallCommander\libs\LibInit-52\MSA-DropDownMenu-1.0\MSA-DropDownMenu-1.0-7.lua"]:390: in main chunk
[string "=[C]:"]: ?
[string "=[C]:"]: in function 'LoadAddOn'
[string "@FrameXML\UIParent.lua"]:495: in function 'UIParentLoadAddOn'
[string "@FrameXML\UIParent.lua"]:685: in function 'Garrison_LoadUI'
[string "@WarPlan\MissionTable.lua"]:474: in function <WarPlan\MissionTable.lua:469>
[string "=[C]:"]: ?
[string "@WarPlan\Libs/Evie.lua"]:37: in function <WarPlan\Libs/Evie.lua:32>
error 4
1x OrderHallCommander\followerpage.lua:322: attempt to compare nil with number
[string "@OrderHallCommander\followerpage.lua"]:322: in function <OrderHallCommander\followerpage.lua:229>
[string "=(tail call)"]: ?
[string "=[C]:"]: in function 'GarrisonMission_SetFollowerModel'
[string "@Blizzard_GarrisonTemplates\Blizzard_GarrisonSharedTemplates.lua"]:1763: in function 'ShowFollowerModel'
[string "@Blizzard_GarrisonTemplates\Blizzard_GarrisonSharedTemplates.lua"]:2220: in function 'ShowFollower'
[string "@Blizzard_GarrisonTemplates\Blizzard_GarrisonSharedTemplates.lua"]:1356: in function 'ShowFollower'
[string "@Blizzard_GarrisonTemplates\Blizzard_GarrisonSharedTemplates.lua"]:125: in function <...rrisonTemplates\Blizzard_GarrisonSharedTemplates.lua:112>
[string "=[C]:"]: in function 'Show'
[string "@Blizzard_GarrisonTemplates\Blizzard_GarrisonMissionTemplates.lua"]:69: in function 'SelectTab'
[string "@Blizzard_GarrisonUI\Blizzard_GarrisonMissionUI.lua"]:184: in function 'SelectTab'
[string "@Blizzard_GarrisonUI\Blizzard_OrderHallMissionUI.lua"]:226: in function 'SelectTab'
[string "@Blizzard_GarrisonTemplates\Blizzard_GarrisonMissionTemplates.lua"]:2342: in function <...risonTemplates\Blizzard_GarrisonMissionTemplates.lua:2338>
for Error 4
OrderHallCommander\followerpage.lua
line 322
LE_ITEM_QUALITY_RARE
to Enum.ItemQuality.RARE
Lib error 5
OrderHallCommander\libs\LibInit\factory.lua
3x ...e\OrderHallCommander\libs\LibInit-52\factory.lua:278: attempt to call global 'MSA_DropDownMenu_Create' (a nil value)
[string "@OrderHallCommander\libs\LibInit-52\factory.lua"]:278: in function 'DropDown'
[string "@OrderHallCommander\libs\LibInit-52\factory.lua"]:356: in function 'Option'
[string "@OrderHallCommander\missionlist.lua"]:675: in function 'Menu'
[string "@OrderHallCommander\missionlist.lua"]:727: in function <OrderHallCommander\missionlist.lua:722>
[string "=(tail call)"]: ?
[string "=[C]:"]: ?
[string "=[C]:"]: in function 'Show'
[string "@FrameXML\UIParent.lua"]:2893: in function 'SetUIPanel'
[string "@FrameXML\UIParent.lua"]:2699: in function 'ShowUIPanel'
[string "@FrameXML\UIParent.lua"]:2606: in function <FrameXML\UIParent.lua:2602>
[string "=[C]:"]: in function 'SetAttribute'
[string "@FrameXML\UIParent.lua"]:3457: in function 'ShowUIPanel'
[string "@FrameXML\UIParent.lua"]:1943: in function <FrameXML\UIParent.lua:1258>
so for First error
OrderHallCommander\tutorials.lua
line 465
C_Calendar
replaced with C_DateAndTime.GetCurrentCalendarTime
on 3rd Lib error
ibInit\MSA-DropDownMenu-1.0\MSA-DropDownMenu-1.0.lua
Line 210
local frame1 = _G[name.."Backdrop"] or CreateFrame("Frame", name.."Backdrop", DropDownList, BackdropTemplateMixin and "BackdropTemplate")
Line 226
local frame2 = _G[name.."MenuBackdrop"] or CreateFrame("Frame", name.."MenuBackdrop", DropDownList, BackdropTemplateMixin and "BackdropTemplate")
https://github.com/Stanzilla/WoWUIBugs/wiki/9.0.1-Consolidated-UI-Changes#backdrop-system-changes
on 2nd Error
OrderHallCommander\cache.lua
line 33 .34
local followerType=Enum.GarrisonFollowerType.FollowerType_7_0
local garrisonType=Enum.GarrisonType.Type_7_0
https://github.com/Stanzilla/WoWUIBugs/wiki/9.0.1-Consolidated-UI-Changes#enum-changes
https://github.com/Gethe/wow-ui-source/ -< i search inside this repo
Also
GetCurrencyInfo
replaced with C_CurrencyInfo.GetCurrencyInfo
@alar77 i hope this help you to fix the addone