Add Quick Buy — one-click buyout of stacked auction listings - #13
Open
Leemo94 wants to merge 1 commit into
Open
Conversation
On the Buy tab, clicking a price row that holds several stacks at the same price expands it into a small panel with a Buy button per stack (Shift+click a row works too). Each click buys one stack straight off the live auction list -- no confirmation popup -- and it paces itself to the server's one-buyout-per-round-trip, so you can chain-click a whole listing. Bought stacks drop out of both the panel and Auctionator's main window; it pages through large listings and tells you when an auction was sniped. Self-contained: one new file (AuctionatorQuickBuy.lua) plus one line in the .toc. No existing files or behaviour changed. Debug via /qbdebug. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What this adds
Buying lots of cheap, stacked auctions is tedious — clicking row → Buyout → confirm over and over. Quick Buy turns it into one click per stack.
On the Buy tab, click a price row that holds several stacks at the same price and it expands into a small panel with a Buy button per stack (Shift-click a row works too). Each click buys one stack, no confirmation pop-up — so a listing of 30× stacks of 1 takes ~30 clicks in the same spot instead of ~90 clicks and dialogs.
Demo
From the player's side
How it works (and why it's safe to merge)
AuctionatorQuickBuy.lua) + one line in the.toc. No existing files or behaviour changed.Atr_EntryOnClickand reads the pane viaAtr_GetCurrentPane()/activeScan.sortedData, so it reuses the existing scan + UI instead of duplicating anything.GetAuctionItemInfo("list", …)→PlaceAuctionBid), then calls the existingAuctionatorSubtractFromScanto keep the list in sync.Footprint
Testing
Search an item with several same-price stacks (e.g. Linen Cloth) on the Buy tab → click that row → the Quick Buy panel appears beside the AH → click Buy down the list.
/qbdebugtoggles verbose logging.