Issue Details (XML | Word | Printable)

Key: SPRG-8
Type: Improvement Improvement
Status: Resolved Resolved
Resolution: Fixed
Priority: Major Major
Assignee: dinesh
Reporter: dinesh
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
Auc-Util-ScanProgress

Add Percentage complete to ScanProgress coverplate

Created: 23/Aug/09 01:21 PM   Updated: 31/Aug/09 03:42 PM
Component/s: None
Affects Version/s: None
Fix Version/s: None

Issue Links:
Reference
 


 Description  « Hide
copied from SPRG-3:

RockSlice asked me to post a link to my forum item here:

http://forums.norganna.org/discussion/7641/changes-to-aucutilscanprogressscanprogresslua-for-consideration/

The text of the items is:
Hi, This may be presumptious of me, but I have a small change I would like to see in ScanProgress.lua. OK, maybe two.

The first is I like to see the % complete when scanning, and the second is that it bugs me to see 1 Sec. left when the scan is done.

So, I made a couple of changes to see if I could get them to work. To wit:

Line 55:
private.scanProgressFormat = "Auctioneer Advanced: %s\nScanning page %d of %d (%.1f%% complete)\n\nAuctions per second: %.2f\nAuctions scanned thus far: %d\n\nEstimated time left: %s\nElapsed scan time: %s"

[second item removed, it remains in SPRG-3]

Thanks for all of your great work on this fantastic addon. I use it constantly and am learning to write my own Addons. Your code makes a great learning tool also!!

-Gregity



 All   Comments   Change History   Transitions   FishEye   Crucible      Sort Order: Ascending order - Click to sort in descending order
dinesh added a comment - 23/Aug/09 01:49 PM
meh, you also need the code from the following:

And starting at line 144:
local auctionsScannedPerSecond = scannedAuctions / secondsElapsed
local secondsToScanCompletion = SecondsToTime(auctionsToScan / auctionsScannedPerSecond)
if (currentPage+1 == totalPages) then
secondsToScanCompletion = "Done"
end

BrowseNoResultsText:SetText(
private.scanProgressFormat:format(
"Scanning auctions.",
currentPage + 1,
totalPages,
((currentPage+1)/totalPages)*100,
auctionsScannedPerSecond,
scannedAuctions,
secondsToScanCompletion,
SecondsToTime(secondsElapsed)
)
)