more log changes
This commit is contained in:
+2
-2
@@ -148,7 +148,7 @@ function public.update_auction_records()
|
||||
private.create_auction_record(auction_info)
|
||||
end,
|
||||
on_complete = function()
|
||||
Aux.log('Scan complete: '..getn(auction_records)..' '..Aux_PluralizeIf('auction', getn(auction_records))..' found')
|
||||
Aux.log('Scan complete: '..getn(auction_records)..' '..Aux_PluralizeIf('auction', getn(auction_records))..' found.')
|
||||
public.update_listing()
|
||||
end,
|
||||
on_abort = function()
|
||||
@@ -221,7 +221,7 @@ end
|
||||
function private.find_auction(entry, express_mode)
|
||||
|
||||
if entry.gone then
|
||||
Aux.log('Auction not available')
|
||||
Aux.log('Auction not available.')
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
+3
-3
@@ -169,7 +169,7 @@ function public.update_bid_records()
|
||||
private.create_bid_record(auction_info)
|
||||
end,
|
||||
on_complete = function()
|
||||
Aux.log('Scan complete: '..getn(bid_records)..' '..Aux_PluralizeIf('bid', getn(bid_records))..' found')
|
||||
Aux.log('Scan complete: '..getn(bid_records)..' '..Aux_PluralizeIf('bid', getn(bid_records))..' found.')
|
||||
public.update_listing()
|
||||
end,
|
||||
on_abort = function()
|
||||
@@ -242,12 +242,12 @@ end
|
||||
function private.find_auction(entry, action, express_mode)
|
||||
|
||||
if entry.gone then
|
||||
Aux.log('Auction not available')
|
||||
Aux.log('Auction not available.')
|
||||
return
|
||||
end
|
||||
|
||||
if action == 'buyout' and not entry.buyout_price then
|
||||
Aux.log('Auction has no buyout price')
|
||||
Aux.log('Auction has no buyout price.')
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
@@ -696,12 +696,12 @@ end
|
||||
function find_auction(entry, buyout_mode, express_mode)
|
||||
|
||||
if entry.gone then
|
||||
Aux.log('Auction not available')
|
||||
Aux.log('Auction not available.')
|
||||
return
|
||||
end
|
||||
|
||||
if buyout_mode and not entry.buyout_price then
|
||||
Aux.log('Auction has no buyout price')
|
||||
Aux.log('Auction has no buyout price.')
|
||||
return
|
||||
end
|
||||
|
||||
@@ -744,7 +744,7 @@ function find_auction(entry, buyout_mode, express_mode)
|
||||
if express_mode then
|
||||
if GetMoney() >= amount then
|
||||
PlaceAuctionBid('list', auction_info.index, amount)
|
||||
Aux.log((buyout_mode and 'Purchased ' or 'Bid on ')..auction_record.hyperlink..' x '..auction_record.aux_quantity..' at '..Aux.util.money_string(amount)..'.')
|
||||
Aux.log((buyout_mode and 'Purchased ' or 'Bid on ')..auction_record.hyperlink..' x '..auction_record.aux_quantity..'.')
|
||||
entry.gone = true
|
||||
refresh = true
|
||||
else
|
||||
@@ -756,7 +756,7 @@ function find_auction(entry, buyout_mode, express_mode)
|
||||
if create_auction_record(Aux.info.auction(auction_info.index)).signature == entry.signature then
|
||||
if GetMoney() >= amount then
|
||||
PlaceAuctionBid('list', auction_info.index, buyout_mode and amount or MoneyInputFrame_GetCopper(AuxFilterSearchFrameResultsConfirmationContentBid))
|
||||
Aux.log((buyout_mode and 'Purchased ' or 'Bid on ')..auction_record.hyperlink..' x '..auction_record.aux_quantity..' at '..Aux.util.money_string(buyout_mode and amount or MoneyInputFrame_GetCopper(AuxFilterSearchFrameResultsConfirmationContentBid))..'.')
|
||||
Aux.log((buyout_mode and 'Purchased ' or 'Bid on ')..auction_record.hyperlink..' x '..auction_record.aux_quantity..'.')
|
||||
entry.gone = true
|
||||
refresh = true
|
||||
else
|
||||
|
||||
@@ -675,12 +675,12 @@ end
|
||||
function find_auction(entry, buyout_mode, express_mode)
|
||||
|
||||
if entry.gone then
|
||||
Aux.log('Auction not available')
|
||||
Aux.log('Auction not available.')
|
||||
return
|
||||
end
|
||||
|
||||
if buyout_mode and not entry.buyout_price then
|
||||
Aux.log('Auction has no buyout price')
|
||||
Aux.log('Auction has no buyout price.')
|
||||
return
|
||||
end
|
||||
|
||||
|
||||
+1
-1
@@ -597,7 +597,7 @@ function refresh_entries()
|
||||
select_entry()
|
||||
update_recommendation()
|
||||
update_auction_listing()
|
||||
Aux.log('Scan complete: '..getn(existing_auctions[item_key])..' '..Aux_PluralizeIf('auction', getn(existing_auctions[item_key]))..' of '..current_auction.hyperlink..' found.')
|
||||
Aux.log('Scan complete: '..getn(existing_auctions[item_key])..' '..Aux_PluralizeIf('auction', getn(existing_auctions[item_key]))..' found.')
|
||||
end,
|
||||
next_page = function(page, total_pages)
|
||||
local last_page = max(total_pages - 1, 0)
|
||||
|
||||
Reference in New Issue
Block a user