Originally Posted by lungdesire
local auctions = {}
local function OnEvent(self, event)
if event == "AUCTION_HOUSE_SHOW" then
C_AuctionHouse.ReplicateItems()
elseif event == "REPLICATE_ITEM_LIST_UPDATE" then
wipe(auctions)
for i = 1, C_AuctionHouse.GetNumReplicateItems() do
auctions[i] = {C_AuctionHouse.GetReplicateItemInfo(i)}
end
print(format("Queried %d items", #auctions))
end
end
local f = CreateFrame("Frame")
f:RegisterEvent("AUCTION_HOUSE_SHOW")
f:RegisterEvent("REPLICATE_ITEM_LIST_UPDATE")
f:SetScript("OnEvent", OnEvent)
|
What happens when you open the auction house window ?
Also, have you looked at the code for the auction addons that are likely doing similar access requests ?
Ah .. I see .. Replicate_Item_List_Update hangs the game and causes you to crash out .. Trying another angle.