Auction Stats

16 - How it should appear

Sorry, But its just my opinion. This is what it should look like:

G S & B are replaced by the money icons of a gold coin, silver coin and brass coin

<ITEM INFO HERE, AT THE TOP>
_______________________
|Based on 5 Auctions          |
|Min Buyout: 1G 2S 3B       |
|Max Buyout: 1G 2S 4B      |
|Min Bid: 1G 2S 3B             |
|Max Bid: 1G 2S 4B            |
|-----------------------------------------

If you dont wish to change it to be like this, i understand. But could you please teach me how I can make mine look like this? :) I've tried, all i can do is reword what you have, i cant adjust the location of it, also i cant add the coin icons.

Thank you so much for reading :)

  • Raxori_013.jpg
User When Change
lukyjay Dec 24, 2009 at 17:24 UTC

Added attachment Raxori_013.jpg

lukyjay Dec 23, 2009 at 14:41 UTC Create

You must login to post a comment. Don't have an account? Register to get one!

  • 2 comments
  • Avatar of lukyjay lukyjay Dec 24, 2009 at 17:20 UTC - 0 likes

    Then a few lines down, replace the similar lines with this, to make it look sexy:

    			g, s, b = MoneyFrame.ConvertBrassToCurrency (AuctionDB.Data[id].minBuyOutPrice * stackCount)
    			extraText = extraText .. L"Min Buyout " .. g .. L"g " .. s .. L"s " .. b .. L"b" .. L"\n"
    			rowCount = rowCount + 1
    
    			g, s, b = MoneyFrame.ConvertBrassToCurrency (AuctionDB.Data[id].maxBuyOutPrice * stackCount)
    			extraText = extraText .. L"Max Buyout " .. g .. L"b " .. s .. L"s " .. b .. L"b"
    			rowCount = rowCount + 1
    
    			--- bidPct = math.floor(AuctionDB.Data[id].bidCount / seenCnt * 100);
    			--- buyOutPct = math.floor(AuctionDB.Data[id].buyOutCount / seenCnt * 100);
    			--- extraText = extraText .. L"\n" .. towstring(bidPct .. "% have bids, " .. buyOutPct .. "% have BO")
    			--- rowCount = rowCount + 1
    
    			if (AuctionDB.Data[id].bidCount > 0) then
    				g, s, b = MoneyFrame.ConvertBrassToCurrency (AuctionDB.Data[id].minBidPrice * stackCount)
    				extraText = extraText .. L"\nMin Bid " .. g .. L"g " .. s .. L"s " .. b .. L"b"
    				rowCount = rowCount + 1
    				g, s, b = MoneyFrame.ConvertBrassToCurrency (AuctionDB.Data[id].maxBidPrice * stackCount)
    				extraText = extraText .. L"\nMax Bid " .. g .. L"g " .. s .. L"s " .. b .. L"b"
    				rowCount = rowCount + 1
    			end
    
    			--- local median = GetBuyoutMedian(id) * stackCount
    			--- if (median > 0) then
    			--- 	g, s, b = MoneyFrame.ConvertBrassToCurrency (median)
    			--- 	medianText = g .. L"g " .. s .. L"s " .. b .. L"b" .. L" median buyout\n"
    			--- 	rowCount = rowCount + 1
    			--- end
    
  • Avatar of lukyjay lukyjay Dec 24, 2009 at 16:50 UTC - 0 likes

    To change it to say "based on x auctions", also will say Auction if its only one, instead of Auctions.

    Find line:

    	--- Auction Stats info
    

    A few lines down find:

    		if (seenCnt > 0) then
    			extraText = towstring("Seen " .. AuctionDB.Data[id].seen .. " times at auction total \n")
    			rowCount = rowCount + 1
    

    Replace with:

    		if (seenCnt > 0) then
    			if (seenCnt < 2) then
    				extraText = towstring("Based on ".. AuctionDB.Data[id].seen .. " auction\n")
    				rowCount = rowCount + 1
    			else
    				extraText = towstring("Based on " .. AuctionDB.Data[id].seen .. " auctions\n")
    				rowCount = rowCount + 1
    			end
    
  • 2 comments

Facts

Last updated
Dec 24, 2009
Reported
Dec 23, 2009
Status
New - Issue has not had initial review yet.
Type
Enhancement - A change which is intended to better the project in some way
Priority
Medium - Normal priority.
Votes
0

Reported by

Possible assignees