Scrap icon indicating copy to clipboard operation
Scrap copied to clipboard

[TBCC] - Bad Argument 'DoesItemExist'

Open seagivens opened this issue 3 years ago • 5 comments

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) =

{ Clear = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:21 IsEquipmentSlot = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:48 IsEqualToBagAndSlot = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:60 SetBagAndSlot = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:27 IsBagAndSlot = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:52 SetEquipmentSlot = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:38 HasAnyLocation = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:56 GetEquipmentSlot = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:44 IsEqualToEquipmentSlot = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:68 GetBagAndSlot = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:34 IsEqualTo = defined @Interface\FrameXML\ObjectAPI\ItemLocation.lua:76 }

AddOns: Swatter, v1.13.6652 (SwimmingSeadragon) Altoholic, vr191 Atlas, vv1.49.01 AtlasClassicWoW, vv1.49.00 AtlasLootClassic, vv2.3.1-bcc AtlasLootClassicData, vv2.3.1-bcc AtlasLootClassicDungeonsAndRaids, vv2.3.1-bcc AucAdvanced, v1.13.6707 (SwimmingSeadragon) AucFilterBasic, v1.13.6680 (SwimmingSeadragon) AucStatHistogram, v1.13.6681 (SwimmingSeadragon) AucStatiLevel, v1.13.6705 (SwimmingSeadragon) AucStatPurchased, v1.13.6672 (SwimmingSeadragon) AucStatSimple, v1.13.6634 (SwimmingSeadragon) AucStatStdDev, v1.13.6635 (SwimmingSeadragon) AucUtilFixAH, v1.13.6608 (SwimmingSeadragon) AutoCarrot, v1.13.12 BagSync, v15.5 BeanCounter, v1.13.6682 (SwimmingSeadragon) Breakables, v1.8.1 ClassicCastbars, vv1.4.0 ClassicCastbarsOptions, vv1.4.0 DataStore, vr66 DataStoreAgenda, vr30 DataStoreAuctions, vr51 DataStoreCharacters, vr44 DataStoreContainers, vr60 DataStoreCrafts, vr83 DataStoreInventory, vr54 DataStoreMails, vr53 DataStoreQuests, vr47 DataStoreReputations, vr44 DataStoreSpells, vr33 DataStoreTalents, vr62 DBMCore, v2.5.8 DBMStatusBarTimers, v DejaMark, vT20501r1 Dismounter, v1.2.1 Enchantrix, v1.13.6708 (SwimmingSeadragon) EnchantrixBarker, v1.13.6697 (SwimmingSeadragon) EnhancedFlightMap, v3.2.0-TBC-Classic FishingBuddy, v0.7.5.5 GatherMate2, v1.46.1-classic GuildRosterManager, v1.9295 Informant, v1.13.6684 (SwimmingSeadragon) LibStub, v LibTouristClassic10, v LittleBuster, v1.11.1 MBB, v1.2.0 MissingTradeSkillsListTBC, v2.5.1 monitorstatus2, v2.5.0 Outfitter, v2.0.4 Parrot, vv2.3.1-classic Pawn, v2.5.21 Questie, v6.4.1 Recount, vv2.5.1b Reputable, v1.21-bcc Scrap, v9.0.6 SkilletClassic, v1.30 SlideBar, v1.13.6668 (SwimmingSeadragon) SpellAnnouncerClassic, v1.0.13 Stubby, v1.13.6614 (SwimmingSeadragon) Talented, vv210518 TalentedData, v TellMeWhen, v9.0.8 TellMeWhenOptions, v ThreatClassic2, v2.37 TidyPlatesThreatPlates, v10.2.5 TitanAttributesMulti, v1.1.0 TitanClassic, v1.3.4.20501 TitanClassicAmmo, v1.3.4.20501 TitanClassicBag, v1.3.4.20501 TitanClassicClock, v1.3.4.20501 TitanClassicGold, v1.3.4.20501 TitanClassicGuild, v1.0.0.4 TitanClassicLocation, v1.3.4.20501 TitanClassicLootType, v1.3.4.20501 TitanClassicMail, v1.0.0.2 TitanClassicPerformance, v1.3.4.20501 TitanClassicRecZone, v1.0.0.5 TitanClassicRegen, v1.3.4.20501 TitanClassicRepair, v1.3.4.20501 TitanClassicVolume, v1.3.4.20501 TitanClassicXP, v1.3.4.20501 TitanProfession, vv1.8-classic TitanProfessionsMulti, v1.1.1 TitanReputations, vv1.30 WeakAuras, v3.5.0 WeakAurasCompanion, v1.1.0 WideQuestLog, v WideQuestLogLevels, v WowLua, vv80000-1.0.0 ZoneInfoClassic, v1.0 ZPerl, v6.2.4 ZPerlArcaneBar, v ZPerlParty, v ZPerlPartyPet, v ZPerlPlayer, v ZPerlPlayerBuffs, v ZPerlPlayerPet, v ZPerlRaidAdmin, v ZPerlRaidFrames, v ZPerlRaidHelper, v ZPerlRaidMonitor, v ZPerlRaidPets, v ZPerlTarget, v ZPerlTargetTarget, v BlizRuntimeLib_enUS v2.5.1.20501 (ck=bfc)

seagivens avatar Jul 16 '21 06:07 seagivens

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.

seagivens avatar Jul 17 '21 03:07 seagivens

I figured it out, when the [Idol of the Avian Heart] from Karazhan is in my bag, it throws the error

seagivens avatar Jul 20 '21 01:07 seagivens

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

jcadduono avatar Aug 09 '21 05:08 jcadduono

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.

seagivens avatar Aug 09 '21 08:08 seagivens

Have no way to recreate this. God knows I tried.

Jaliborc avatar Oct 21 '22 17:10 Jaliborc