kaminaris / AuctionFaster

19 stars 8 forks source link

error #107

Open Imna1975 opened 4 years ago

Imna1975 commented 4 years ago

9x AuctionFaster\modules\Auctions-Auktionen.lua:387: Usage: C_AuctionHouse.PostCommodity(item, duration, quantity, unitPrice) [string "=[C]"]: in function PostCommodity' [string "@AuctionFaster\modules\Auctions-Auktionen.lua"]:387: in functionSellItem' [string "@AuctionFaster\tabs\sell\functions.lua"]:383: in function `SellCurrentItem' [string "@AuctionFaster\tabs\sell\ui.lua"]:367: in function <AuctionFaster\tabs\sell\ui.lua:366>

Locals: (temporary) =

{ Clear = defined @FrameXML\ObjectAPI\ItemLocation.lua:21 IsEquipmentSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:48 IsEqualToBagAndSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:64 SetBagAndSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:27 IsBagAndSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:52 SetEquipmentSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:38 slotIndex = 11 HasAnyLocation = defined @FrameXML\ObjectAPI\ItemLocation.lua:56 bagID = 0 GetEquipmentSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:44 IsEqualToEquipmentSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:72 GetBagAndSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:34 IsValid = defined @FrameXML\ObjectAPI\ItemLocation.lua:60 IsEqualTo = defined @FrameXML\ObjectAPI\ItemLocation.lua:80 } (temporary) = 3 (temporary) = 34 (temporary) = nil

pwilkowski commented 4 years ago

How to reproduce this?

Imna1975 commented 4 years ago

1x AuctionFaster\modules\Auctions-Auktionen.lua:378: bad argument #1 to 'GetItemCommodityStatus' (Usage: local isCommodity = C_AuctionHouse.GetItemCommodityStatus(item)) [string "=[C]"]: in function GetItemCommodityStatus' [string "@AuctionFaster\modules\Auctions-Auktionen.lua"]:378: in functionSellItem' [string "@AuctionFaster\tabs\sell\functions.lua"]:383: in function `SellCurrentItem' [string "@AuctionFaster\tabs\sell\ui.lua"]:367: in function <AuctionFaster\tabs\sell\ui.lua:366>

Locals: (*temporary) =

{ Clear = defined @FrameXML\ObjectAPI\ItemLocation.lua:21 IsEquipmentSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:48 IsEqualToBagAndSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:64 SetBagAndSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:27 IsBagAndSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:52 SetEquipmentSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:38 slotIndex = 13 HasAnyLocation = defined @FrameXML\ObjectAPI\ItemLocation.lua:56 bagID = 0 GetEquipmentSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:44 IsEqualToEquipmentSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:72 GetBagAndSlot = defined @FrameXML\ObjectAPI\ItemLocation.lua:34 IsValid = defined @FrameXML\ObjectAPI\ItemLocation.lua:60 IsEqualTo = defined @FrameXML\ObjectAPI\ItemLocation.lua:80 }

Imna1975 commented 4 years ago

he did not give any prices for the sale and if it works, the list on the left does not update

( Google Translator )

Imna1975 commented 4 years ago

WoWScrnShot_021420_101816_LI before selling

WoWScrnShot_021420_101830_LI after the sale, old items should also disappear or update