Skillet-Classic

Skillet-Classic

445k Downloads

Error opening Merchants

b-morgan opened this issue · 2 comments

commented

So the good news is, my tradeskill windows all seem to be opening correctly, the bad news is I recieve this when opening any vendor

[string "@Skillet-Classic\SkilletData.lua"]:454: in function `GetRecipe'
[string "@Skillet-Classic\Inventory.lua"]:40: in function `InventoryReagentCraftability'
[string "@Skillet-Classic\Inventory.lua"]:195: in function `InventoryScan'
[string "@Skillet-Classic\UI\MerchantWindow.lua"]:137: in function <Skillet-Classic\UI\MerchantWindow.lua:136>
[string "@Skillet-Classic\UI\MerchantWindow.lua"]:202: in function `?'
[string "@Accountant_Classic\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:119: in function <...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:119>
[string "=[C]"]: ?
[string "@Accountant_Classic\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:29: in function <...sic\Libs\CallbackHandler-1.0\CallbackHandler-1.0.lua:25>
[string "@Accountant_Classic\Libs\CallbackHandler-1.0\CallbackHandler-1.0-7.lua"]:64: in function `Fire'
[string "@Accountant_Classic\Libs\AceEvent-3.0\AceEvent-3.0-4.lua"]:120: in function <...ccountant_Classic\Libs\AceEvent-3.0\AceEvent-3.0.lua:119>```

_Originally posted by @ThisIsMakena in https://github.com/b-morgan/Skillet-Classic/issues/89#issuecomment-1240006838_
commented

@ThisIsMakena, I need to do more debugging but for now, change line 454 in SkilletData.lua to be:

		if Skillet.currentTrade and Skillet.db.global.recipeDB[Skillet.currentTrade][id] then

This will allow you to use Vendors without the error but it probably will mess up Skillet-Classic's vendor interaction.

Note: You may need to update to Skillet-Classic-1.48-beta5.

commented

Skillet-Classic-1.48-beta6 has this fix. I have tested the other features of Skillet-Classic that involve Merchants / Vendors so I believe this issue can be closed.