View Single Post
05-10-20, 05:39 PM   #7
Xrystal
nUI Maintainer
 
Xrystal's Avatar
Premium Member
AddOn Author - Click to view addons
Join Date: Feb 2006
Posts: 5,892
Originally Posted by lungdesire View Post
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.
__________________

Last edited by Xrystal : 05-10-20 at 06:00 PM.
  Reply With Quote