I asked some guy who graduated from harvard and currently works for amazon... I'll just copy & paste his replies. Hope it's any help to you. Perhaps you could answer his questions
is the AH window open when the query is fired?
does lua require return types
in function headers
I've never used it
I just don't know if this function returns a value or not
QueryAuctionItems
looks like it doesn't?
in someone else's code they do this:
Code:
QueryAuctionItems(name, nil, nil, 0, 0, 0, Scan.tryPage, 0, 0)
Scan.eventObject:RegisterEvent("AUCTION_ITEM_LIST_UPDATE", function()
Scan.eventObject:UnregisterEvent("AUCTION_ITEM_LIST_UPDATE")
Scan.eventObject.frame:Show()
is the auction item list update thing sep
is it a flag
that you mark as set
and the frame checks that when it redraws?
i've never worked with this stuff but that's what i'd guess
you'd need to manually register and unregister the event
and refresh the frame
the show() call is probably doing it there
it's like with file io where you are manipulating a buffer the whole time until you sync() or flush() the buffer