b-morgan / Skillet-Classic

World of Warcraft Classic addon
GNU General Public License v3.0
6 stars 6 forks source link

InterfaceOptionsFrame_Show removed in 1.15.4 #187

Closed Alessandro-Barbieri closed 1 month ago

Alessandro-Barbieri commented 1 month ago

Click on the ? button or /skillet config

1x Skillet-Classic/SkilletOptions.lua:1618: attempt to call global 'InterfaceOptionsFrame_Show' (a nil value)
[string "@Skillet-Classic/SkilletOptions.lua"]:1618: in function `ShowOptions'
[string "*MainFrame.xml:890_OnClick"]:2: in function <[string "*MainFrame.xml:890_OnClick"]:1>

Locals:
self = <table> {
 modules = <table> {
 }
 castSpellName = "Couture"
 hideTrivialRecipes = false
 EnchantSpellToItem = <table> {
 }
 db = <table> {
 }
 bankBusy = false
 interface = 11504
 AdditionalButtonsList = <table> {
 }
 pluginsOptions = <table> {
 }
 FixBugs = true
 tradeUpdate = 1
 L = <table> {
 }
 button_count = 27
 pauseQueue = false
 NewsName = "Skillet-Classic News"
 selectedQueueName = ""
 tradeShow = true
 ATTC = <table> {
 }
 DSAPlugin = <table> {
 }
 dataScanned = true
 selectedSkill = 27
 AUCPlugin = <table> {
 }
 AHDBPlugin = <table> {
 }
 registeredPlugins = <table> {
 }
 WARN_COLOR = "|c0000FFE0"
 loginTime = 1916.996000
 numItemsToCraft = 1
 processQueuePlugins = <table> {
 }
 gttScale = 1
 project = 2
 currentTrade = 3908
 baseName = "Skillet-Classic"
 bagsChanged = false
 displayDetailPlugins = <table> {
 }
 STATUS_COLOR = "|c0033CCFF"
 lastCraft = false
 indexTradeSkillLevel = 13856
 tradeSkillList = <table> {
 }
 TRACE_COLOR = "|c0000FFA0"
 linkedSkill = false
 fullView = true
 RecipeNameSuffixes = <table> {
 }
 AdditionalAbilities = <table> {
 }
 SpecialVendorItems = <table> {
 }
 bankQueue = <table> {
 }
 guildQueue = <table> {
 }
 TradeSkillIgnoredMats = <table> {
 }
 wowVersion = 11504
 filterSelected = 1
 defaultModuleState = true
 tradeSkillFrame = SkilletFrame {
 }
 tradeSkillIDsByName = <table> {
 }
 WarnLog = true
 skippedQueue = <table> {
 }
 selectedTextOffsetXY = <table> {
 }
 isGuild = false
 sourceTradeSkillLevel = 2
 NewsData = <table> {
 }
 saved_full_button_count = 0
 options = <table> {
 }
 scrollData = <table> {
 }
 unknownRecipe = <table> {
 }
 RecipeNamePrefixes = <table> {
 }
 ATLPlugin = <table> {
 }
 castSpellID = 12180
 hideTradeSkillFrame = true
 newInQueue = <table> {
 }
 queueCount = 152
 skillMainSelection = 6
 dragStartXY = <table> {
 }
 optionsFrame = Frame {
 }
 cachedIgnoreList = <table> {
 }
 skilletStandaloneQueue = SkilletStandaloneQueue {
 }
 lastTrade = 3908
 visited = <table> {
 }
 scanInProgress = false
 dataSourceChanged = false
 tradeSkillOpen = true
 BlizzardCraftFrame = CraftFrame {
 }
 BlizzardTradeSkillFrame = TradeSkillFrame {
 }
 currencyNamesByID = <table> {
 }
 currencyIDsByName = <table> {
 }
 tradeSkillNamesByID = <table> {
 }
 skillIsCraft = <table> {
 }
 currentGroupLabel = "Blizzard"
 currentPlayer = "Discarica"
 hideUncraftableRecipes = false
 data = <table> {
 }
 visibleSkillButtons = 18
 wowBuild = "56857"
 hooks = <table> {
 }
 MTSLPlugin = <table> {
 }
 ATRPlugin = <table> {
 }
 isCraft = false
 build = "Classic"
 craftUpdate = 0
 BCPlugin = <table> {
 }
 duplicateItemID = <table> {
 }
 NewsGUI = <table> {
 }
 TradeSkillAutoTarget = <table> {
 }
 ignoreClose = false
 groupList = <table> {
 }
 DebugProfile = <table> {
 }
 enabledState = true
 name = "Skillet"
 saved_SA_button_count = 0
 DebugLog = <table> {
 }
 pluginsOrder = 9
 defaultModuleLibraries = <table> {
 }
 DEBUG_COLOR = "|c00A0FF00"
 version = "2.00"
 skill_style_type = <table> {
 }
 NewsFrame = <table> {
 }
 MAXPROFILE = 2000
 MAXDEBUG = 4000
 updatePlugins = <table> {
 }
 defaultOptions = <table> {
 }
 orderedModules = <table> {
 }
}
(*temporary) = nil
(*temporary) = "attempt to call global 'InterfaceOptionsFrame_Show' (a nil value)"
b-morgan commented 1 month ago

In ...\Interface\Addons\Skillet-Classic\SkilletOptions.lua replace lines 1618-1620 in the function Skillet:ShowOptions() with:

Settings.OpenToCategory("Skillet") or wait for a new build.

b-morgan commented 1 month ago

Skillet-Classic-2.01 has this fix.