From 808680277e9edb20f4a98f0ae4b6466f186caf1e Mon Sep 17 00:00:00 2001 From: Manuel Simon Hirsig Date: Tue, 19 Jan 2016 19:47:23 +0100 Subject: [PATCH] log changed --- auctions_frame.lua | 5 ++--- bids_frame.lua | 5 ++--- core.lua | 2 +- core.xml | 9 +++------ filter_search_frame.lua | 7 +++---- item_search_frame.lua | 7 +++---- 6 files changed, 14 insertions(+), 21 deletions(-) diff --git a/auctions_frame.lua b/auctions_frame.lua index f5c10f7..b758374 100644 --- a/auctions_frame.lua +++ b/auctions_frame.lua @@ -213,7 +213,6 @@ function private.create_auction_record(auction_info) end function public.dialog_cancel() - Aux.log('Aborted.') Aux.scan.abort() AuxAuctionsFrameListingDialog:Hide() public.update_listing() @@ -228,7 +227,7 @@ function private.find_auction(entry, express_mode) local amount - Aux.log('Processing cancelation request for '..entry.hyperlink..' x '..entry.aux_quantity..' at '..Aux.util.money_string(amount)..' ...') + Aux.log('...') if not express_mode then private.show_dialog(entry) @@ -248,7 +247,7 @@ function private.find_auction(entry, express_mode) if entry.signature == auction_record.signature then ctrl.suspend() found = true - Aux.log('Matching auction found.'..(express_mode and '' or ' Awaiting confirmation ...')) + Aux.log('') if express_mode then CancelAuction(auction_info.index) diff --git a/bids_frame.lua b/bids_frame.lua index 0ccd71c..fdf240e 100644 --- a/bids_frame.lua +++ b/bids_frame.lua @@ -234,7 +234,6 @@ function private.create_bid_record(auction_info) end function public.dialog_cancel() - Aux.log('Aborted.') Aux.scan.abort() AuxBidsFrameListingDialog:Hide() public.update_listing() @@ -259,7 +258,7 @@ function private.find_auction(entry, action, express_mode) amount = entry.bid end - Aux.log('Processing '..action..' request for '..entry.hyperlink..' x '..entry.aux_quantity..' at '..Aux.util.money_string(amount)..' ...') + Aux.log('Searching auction ...') if not express_mode then private.show_dialog(action, entry, amount) @@ -279,7 +278,7 @@ function private.find_auction(entry, action, express_mode) if entry.signature == auction_record.signature then ctrl.suspend() found = true - Aux.log('Matching auction found.'..(express_mode and '' or ' Awaiting confirmation ...')) + Aux.log('Matching auction found.') if express_mode then if GetMoney() >= amount then diff --git a/core.lua b/core.lua index a4bddc1..ecedc3d 100644 --- a/core.lua +++ b/core.lua @@ -1,4 +1,4 @@ -AuxVersion = '2.2.17' +AuxVersion = '2.2.18' AuxAuthors = 'shirsig; Zerf; Zirco (Auctionator); Nimeral (Auctionator backport)' local lastRightClickAction = GetTime() diff --git a/core.xml b/core.xml index 15a1983..29155ff 100644 --- a/core.xml +++ b/core.xml @@ -522,12 +522,12 @@ - + - + @@ -538,9 +538,6 @@ Aux.log_frame_update(arg1) - - ChatFrame_OnHyperlinkShow(arg1) - if arg1 == 1 then this:ScrollUp() @@ -549,7 +546,7 @@ end - + diff --git a/filter_search_frame.lua b/filter_search_frame.lua index 436795d..c7c1080 100644 --- a/filter_search_frame.lua +++ b/filter_search_frame.lua @@ -529,7 +529,6 @@ function public.on_open() end function public.dialog_cancel() - Aux.log('Aborted.') Aux.scan.abort() AuxFilterSearchFrameResultsConfirmation:Hide() update_sheet() @@ -713,7 +712,7 @@ function find_auction(entry, buyout_mode, express_mode) amount = entry.bid end - Aux.log('Processing '..(buyout_mode and 'buyout' or 'bid')..' request for '..entry.hyperlink..' x '..entry.aux_quantity..' at '..Aux.util.money_string(amount)..' ...') + Aux.log('Searching auction ...') AuxFilterSearchFrameFiltersSearchButton:Disable() if not express_mode then @@ -740,8 +739,8 @@ function find_auction(entry, buyout_mode, express_mode) if entry.signature == auction_record.signature then ctrl.suspend() found = true - Aux.log('Matching auction found.'..(express_mode and '' or ' Awaiting confirmation ...')) - + Aux.log('Matching auction found.') + if express_mode then if GetMoney() >= amount then PlaceAuctionBid('list', auction_info.index, amount) diff --git a/item_search_frame.lua b/item_search_frame.lua index 6899d6e..b01ca41 100644 --- a/item_search_frame.lua +++ b/item_search_frame.lua @@ -473,7 +473,6 @@ function public.on_open() end function public.dialog_cancel() - Aux.log('Aborted.') Aux.scan.abort() AuxItemSearchFrameAuctionsConfirmation:Hide() update_listing() @@ -692,7 +691,7 @@ function find_auction(entry, buyout_mode, express_mode) amount = entry.bid end - Aux.log('Processing '..(buyout_mode and 'buyout' or 'bid')..' request for '..entry.hyperlink..' x '..entry.aux_quantity..' at '..Aux.util.money_string(amount)..' ...') + Aux.log('Searching auction ...') AuxItemSearchFrameItemRefreshButton:Disable() if not express_mode then @@ -717,8 +716,8 @@ function find_auction(entry, buyout_mode, express_mode) if entry.signature == auction_record.signature then ctrl.suspend() found = true - Aux.log('Matching auction found.'..(express_mode and '' or ' Awaiting confirmation ...')) - + Aux.log('Matching auction found.') + if express_mode then if GetMoney() >= amount then PlaceAuctionBid('list', auction_info.index, amount)