Auctionator

Auctionator

136M Downloads

TBC: To investigate: Only scan first page of results when buying/selling

plusmouse opened this issue ยท 1 comments

commented

This was brought up in #292 and #290 as a way to speed up buying/selling on busy servers with a large number of pages

The idea is to set the sorting to by buyout with

SortAuctionClearSort("list")
SortAuctionSetSort("list", "buyout")
SortAuctionApplySort("list")

And then only get the auctions from the first page, as these are likely to be some of the lowest prices.

A comment on the PR suggests that "unitprice" might work as a sort parameter, if so, then page 1 would be the lowest prices.

commented

Done some testing, just doing SortAuctionSetSort("list", "unitprice") is enough to make the sort apply to the next search.

It seems you only need SortAuctionApplySort("list") if you are not doing another query.