shirsig / aux-addon

Auction House addOn for Classic (1.13) IMPORTANT: The folder name must be "aux-addon" IMPORTANT: The Vanilla (1.12) version moved here https://github.com/shirsig/aux-addon-vanilla
https://www.curseforge.com/wow/addons/aux
196 stars 42 forks source link

Changing 'Auction Bid per stack' to 'Auction Bid per item' to resolve… #292

Closed Harpner closed 3 years ago

Harpner commented 4 years ago

… issues with selecting bid price and undercutting

Fixes shirsig/aux-addon#250

spaecast commented 3 years ago

I just fixed this locally. Have left a post in issues. Here's the code:

tabs\post\core.lua:

    -- BID_FIX local price = record.unit_price * (listing == 'bid' and record.stack_size or 1)
    local price = record.unit_price

        -- BID_FIX a.record.unit_price * (listing == 'bid' and a.record.stack_size or 1),
        -- BID_FIX b.record.unit_price * (listing == 'bid' and b.record.stack_size or 1),
        a.record.unit_price,
        b.record.unit_price,

-- BID_FIX return stack_price / stack_size
return stack_price
shirsig commented 3 years ago

It's not a bug, but I added an option in the tbc beta version for unit prices in that listing since a lot of people seem to want that: /aux post bid unit