Scrap
Scrap copied to clipboard
[TBCC] - Bad Argument 'DoesItemExist'
Running Software (issues missing this information will be deleted):
Addon version: 9.0.6 AND 9.1.0 Server patch: TBCC latest Have you read the changelog? (please don't waste our time) yes
Describe the bug Lua Error when opening a vendor, autosell does not function. worth noting that items can still be set as junk or useful and still have the gray border, they just do not sell when a vendor is visited. I only noticed this in the last few days, I have tried uninstalling and rolling back to 9.0.6 but it did not resolve the issue.
To Reproduce Steps to reproduce the behaviour:
- open any vendor window
- observe lua error
Expected behaviour
- items marked as junk will autosell.
Error Logs
Date: 2021-07-15 23:10:29 ID: 1 Error occured in: Global Count: 2 Message: ..\AddOns\Scrap\addons\main\main.lua line 203: bad argument #1 to 'DoesItemExist' (Usage: local itemExists = C_Item.DoesItemExist(emptiableItemLocation)) Debug: [string "=[C]"]: DoesItemExist() [string "@Scrap\addons\main\main.lua"]:203: IsBetterEquip() [string "@Scrap\addons\main\main.lua"]:197: IsLowEquip() [string "@Scrap\addons\main\main.lua"]:152: IsFiltered() [string "@Scrap\addons\main\main.lua"]:79: IsJunk() [string "@Scrap\addons\main\spotlight.lua"]:56: UpdateContainer() [string "@Scrap\addons\main\spotlight.lua"]:29: Scrap\addons\main\spotlight.lua:28 [string "=[C]"]: ContainerFrame_Update() [string "@..\FrameXML\ContainerFrame.lua"]:654: ContainerFrame_UpdateAll() [string "@..\FrameXML\MerchantFrame.lua"]:84: ..\FrameXML\MerchantFrame.lua:82 [string "=[C]"]: Show() [string "@..\FrameXML\UIParent.lua"]:2100: SetUIPanel() [string "@..\FrameXML\UIParent.lua"]:1945: ShowUIPanel() [string "@..\FrameXML\UIParent.lua"]:1806: ..\FrameXML\UIParent.lua:1802 [string "=[C]"]: SetAttribute() [string "@..\FrameXML\UIParent.lua"]:2571: ShowUIPanel() [string "@..\FrameXML\MerchantFrame.lua"]:29: ..\FrameXML\MerchantFrame.lua:22 Locals: (*temporary) =
It is no longer doing it, it seems to have been triggered by a specific item I had in my inventory? But I have no idea what it was.
I figured it out, when the [Idol of the Avian Heart] from Karazhan is in my bag, it throws the error
ty for figuring it out! yup looks like having any druid idol in your bags breaks it, i had the idol of the emerald queen
Weirdly it only seems to be resto idols. Harold's rejuvenating brooch does the same thing, but all the feral idols I usually have (I main bear), I haven't had any issue with. I have the idol of the claw and the idol of brutality with me all the time and no issue.
Have no way to recreate this. God knows I tried.