Download
(67 Kb)
Download
Updated: 10/20/14 01:19 AM
Pictures
File Info
Compatibility:
Update 4 (1.4.3)
Updated:10/20/14 01:19 AM
Created:07/03/14 12:04 PM
Monthly downloads:71
Total downloads:40,133
Favorites:82
MD5:
Shopkeeper - Sales History and Alerts  Popular! (More than 5000 hits)
Version: 1.0
by: Khaibit [More]
Inspired by awesomebilly's Luminary - Trade Sales History (http://www.esoui.com/downloads/fileinfo.php?id=247), which is sadly abandoned by all appearances, I bring you Shopkeeper!

Shopkeeper checks the sales histories of each guild store you have access to (once every 2 minutes by default, but the interval is configurable) and maintains a searchable, sortable history for you to peruse at your leisure, making it easy to see what has sold in your stores and for how much. A convenient second view shows only your sales for a quick summary, and optional on-screen and/or chat alerts make sure you know you sold something usually long before you get the money in the mail!

As you accumulate sales data, Shopkeeper can show you some statistical data on it across an adjustable time period as well - items sold, gold made, and more.

By default, Shopkeeper opens automatically with your mail and guild store screens, but this can be disabled if you wish. /shopkeeper will always toggle the window open and closed in all cases! The initial scan on your first login can take a few seconds - you should see sales events in the Shopkeeper window within 15-20 seconds however.

Please check out the FAQ - http://www.esoui.com/portal.php?id=134&a=faq

IMPORTANT NOTE
I have uploaded a final release of Shopkeeper. Starting tomorrow, I will likely not have the ability to use a computer, so I cannot continue to work on it, support it, or play ESO at all. As such, not that I'd be in a position to complain, know, or care, but anyone and everyone has my full permission to fork the code and create a successor; the license is distributed with the code. The code is commented somewhat decently, and shouldn't be too hard to get started with. Thank to you everyone for your support these last few months, I am sorry I cannot be deserving of it.

Thanks/Acknowledgements/Kudos/Etc.:
Garkin, farangkao, CrazyDutchGuy, and the esoui.com dev forum in general,
Eldar and Geuse Box on the NA server for helping me test (as well as all of you who have submitted bug reports, you help make Shopkeeper better!),
Urbs on the EU server for the awesome German translation work,
jupiter126/Otxics on the EU Server for the awesome French translation work,
The Requiem guild as a whole for putting up with my loopiness (not related to the addon, I'm just that way in general, heh.),
Seerah for LibMediaProvider, LibAddonMenu, and LibStub,
Awesomebilly for the original Luminary Trade Sales History,
And all of you for downloading and favoriting my addon.


And another addition to the thank-you list - although he requested his name be withheld, I am still going to give (person) a huge thank you for this generous donation! That's 10 Rekuta, 5 Kuta, an Ancient Elf and Daedric motif book, and 10,000 gold...I was speechless (but have regained my speech as you can see)!!

October 19, 2014: Final release.
Goodbye world.

September 15, 2014: 0.9.7(a) release.
Updated to work with Update 4! Due to the new large server-side history size, a reset can take a long time now, be warned!
Stats day slider changed so "Using all data" is at the right-hand end instead of the left.
0.9.7a filters out guild trader hiring events which are apparently now part of the 'purchases' category.
September 8, 2014: 0.9.6 release.
Big re-write of how data is stored, searched, and sorted to improve memory usage
(for the morbidly curious: implemented an inverted index for searching, replaced Lua's default quicksort implementation for tables with Shellshort, and reduced redundant copies of sale event info in tables.)
Added new option to disable on-screen alerts while in Cyrodiil. (Chat alerts still show, if enabled.)
Moved the item quantities in the sales history window to more closely match the default UI presentation.
Increased maximum history size since memory usage has been reduced.

August 27, 2014: 0.9.5 release.
Bug fix to handle other addons requesting sales history events (would previously result in dupes in Shopkeeper sales list)
0.9.5a is a re-upload to fix an unfortunate typo :)

August 26, 2014: 0.9.4 release.
Offline sales report (optional report in chat of what you sold while offline)
Reset button now has a confirmation dialog associated with it
Reset and Refresh buttons will now be disabled (dimmed out) and a 'wait' animation will play when a scan is in progress
Fixed bugs related to me making a typo in the sorting functions
Fixed bugs related to the search box, updating the slider range, and correctly carrying over your search between full and mini windows
Further refined the store searching - login search will be faster again now, and better handle the upcoming changes in Update 4
Increased maximum history size to 15000 - if you use several other memory intensive addons this may cause issues!
Optimized searching and sorting routines to be a little more efficient with large sales histories
French localization updates (thanks jupi!)

August 19, 2014: 0.9.3 release.
Fix for statistics window throwing an error if you have sales events in your history from guilds you're no longer in
(Possible) fix for the "occasional item duplication upon login" bug
Internationalization tweaks

August 18, 2014: 0.9.2 release.
Fix to event-based scanning to (hopefully) stop the dupes people are seeing
Fix to alerts to (hopefully!) stop the stuck on screen alerts people would see when alt-tabbing
Shopkeeper now tracks guild info by name rather than ID, so if you swap guilds around it shouldn't break as easily.
French localization is now live! Merci bien to jupiter126/Otxics on the EU Server for the translation work!
New option in the addon settings to make all your settings account-wide, rather than character-specific.
Statistics window resized slightly to accomodate...per-guild filters!
The day range slider is also smarter and will hide entirely if you have less than 2 days' worth of your sales to work with.
Some UI tweaks to make all languages fit better

August 14, 2014: 0.9.1 release.
Nothing major here, but either I or esoui.com may have borked 0.9b's files so uploading a new release with some minor tweaks here and there to get a version that doesn't seem to intermittently be missing bindings.xml and LibAddonMenu

August 11, 2014: 0.9b release.
Further rewrite of part of the scanning routines to be more accurate
Some small tweaks to the time display routines (will go up to 90 seconds before saying 1 minute, 90 minutes before 1 hour, etc.)
Fixes to on-screen alerts to avoid 'missing' multiple identical alerts
GUILD TRADER SUPPORT! Buyer names now have a gold bag icon next to them if they are not in the guild (i.e. bought at your guild's trader kiosk)
Stats Window now also shows you percentage of sales made at the guild trader
Other minor tweaks and optimizations as we push towards a fully-translated, fully-functional 1.0 release!

August 8, 2014: 0.9a release.
Rewrite of part of the scanning routines to be more accurate
Fixes for odd behavior in the stats window
Fixes for the "Alert flood" issue if you sell multiple items between scans
Misc. other small bugfixes

August 4, 2014: 0.9 release.
Added option for a smaller main Shopkeeper view(Thanks to Ice for the suggestion!)
Tracking of your sales stats in a separate summary window - items sold, gold made, largest single sale, gold per day over a variety of time periods(Thanks to Kraeius for the suggestion!)
Item search!!

July 16, 2014: 0.3 release.
Added ability to toggle between gross/total sales price and per-unit price displays
Better support for multiple accounts that use the same computer
Further improvements to store scanning
UI improvements - Shopkeeper closes along with most other UI scenes now (bank, crafting station, etc.)
Updated LibMediaProvider, LibStub, and LibAddonMenu to Seerah's latest releases

July 08, 2014: 0.2a release.
This release is a localization update for the German version of the addon. Thanks to Urbs of the EU server the localization is now complete!! Vielen Dank!

July 07, 2014: 0.2 release.
German localization is 95% complete!
Fixed missing localizations on Reset/Refresh buttons.
Fixed a minor license issue.
Sound options added for alerts.
On-screen and chat alert options separated.
Shopkeeper button on guild store screen moved down slightly.
Fixed alert swarm after resetting listings.
Main window now has X to close button and a hotkey binding.
Main window now closes when you open the game menu.
Eliminated cases where slider could get confused as to number of items in the list.
LibAddonMenu updated to version 2.0r9 (thanks Seerah!)

July 03, 2014: Initial Relase 0.1
Optional Files (1)
File Name
Version
Size
Author
Date
Type
1.0 (dOpiate Fix).7b
223kB
03/03/15 04:06 PM
Patch


Archived Files (16)
File Name
Version
Size
Uploader
Date
0.9.7a
62kB
Khaibit
09/15/14 11:07 AM
0.9.7
62kB
Khaibit
09/15/14 09:32 AM
0.9.6
62kB
Khaibit
09/08/14 02:56 PM
0.9.5a
60kB
Khaibit
08/28/14 12:38 AM
0.9.5
60kB
Khaibit
08/28/14 12:23 AM
0.9.4
60kB
Khaibit
08/26/14 11:50 AM
0.9.3
57kB
Khaibit
08/19/14 01:04 PM
0.9.2
57kB
Khaibit
08/18/14 08:01 PM
0.9.1
54kB
Khaibit
08/14/14 10:40 AM
0.9b
31kB
Khaibit
08/11/14 02:08 PM
0.9a
51kB
Khaibit
08/08/14 09:14 PM
0.9
51kB
Khaibit
08/04/14 05:59 PM
0.3
47kB
Khaibit
07/16/14 08:37 AM
0.2a
46kB
Khaibit
07/08/14 07:11 PM
0.2
46kB
Khaibit
07/07/14 09:57 AM
0.1
43kB
Khaibit
07/03/14 12:04 PM


Post A Reply Comment Options
Unread 08/22/14, 01:57 AM  
cursors

Forum posts: 0
File comments: 6
Uploads: 0
Re: Filter for Your Own Purchases?

Interesting...

Originally Posted by BornDownUnder
By chance planning to implement your own purchases?

I think it would be interesting in terms of statistics, as well as potentially quite handy when purchasing alot of materials for crafting to see a defined history list of what you purchased.
Report comment to moderator  
Reply With Quote
Unread 08/21/14, 11:19 PM  
BornDownUnder
AddOn Author - Click to view AddOns

Forum posts: 59
File comments: 200
Uploads: 1
Filter for Your Own Purchases?

By chance planning to implement your own purchases?

I think it would be interesting in terms of statistics, as well as potentially quite handy when purchasing alot of materials for crafting to see a defined history list of what you purchased.
Report comment to moderator  
Reply With Quote
Unread 08/21/14, 01:37 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
Originally Posted by crators
Since the update Shopkeeper causes the game to crash when i enter a new zone. If it's disabled they game works fine. Does anyone have the same problem?
the same
after every /reloadui

i will disable his addon till fix
Report comment to moderator  
Reply With Quote
Unread 08/21/14, 12:57 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by crators
The next problem appears when i reset the store to refresh it since it doesn't show my newest sells. I reset shopkeeper and it starts refreshing. However, eventually nothing happens or i get kicked off the server due to spamming (?!).
Please bear in mind if you are in multiple very busy trade guilds the initial scan upon login can take a while as of the latest release. This is a bit of a band-aid fix until I can more directly address the cause of the dupe bug that was hitting folks. Until that initial scan completes, hitting reset will actually essentially be doing 2 scans at once, and that may be what is causing you to be disconnected. In the next version I will be make a few changes to mitigate this - one, the reset and refresh buttons will be disabled until the initial scan completes, and two, the initial scan will no longer have to go through the entire sales history as it does currently.
Report comment to moderator  
Reply With Quote
Unread 08/21/14, 12:54 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by QuadroTony
look, addon only save 3 last sales, no more

compare last screenshot with this one

pls fix this

Until Update 4, I cannot. Currently, the server only stores the last 24 hours of events, and there is no way to retrieve events older than that. If you reset your sales history, that is as far back as it can pull information. Once Update 4 launches the server will have events going further back, and Shopkeeper will automatically take advantage of this.
Report comment to moderator  
Reply With Quote
Unread 08/21/14, 09:05 AM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 832
File comments: 1097
Uploads: 33
Originally Posted by crators
Originally Posted by Garkin
Shopkeeper works for me, but I got CTD with DataDaedra enabled.

What's CTD?


The next problem appears when i reset the store to refresh it since it doesn't show my newest sells. I reset shopkeeper and it starts refreshing. However, eventually nothing happens or i get kicked off the server due to spamming (?!).
http://en.wikipedia.org/wiki/Crash_to_desktop
Report comment to moderator  
Reply With Quote
Unread 08/21/14, 08:52 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
look, addon only save 3 last sales, no more

compare last screenshot with this one

pls fix this

Report comment to moderator  
Reply With Quote
Unread 08/21/14, 08:48 AM  
crators

Forum posts: 0
File comments: 2
Uploads: 0
Originally Posted by Garkin
Shopkeeper works for me, but I got CTD with DataDaedra enabled.

What's CTD?


The next problem appears when i reset the store to refresh it since it doesn't show my newest sells. I reset shopkeeper and it starts refreshing. However, eventually nothing happens or i get kicked off the server due to spamming (?!).
Report comment to moderator  
Reply With Quote
Unread 08/21/14, 12:45 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
look, i get item sold

but shopkeeper dont display it
even after i take the money and delete the letter

even after reloadui
and looks like previous history erased. i clearly remember another items



P.S. nvm, its appear after 20 minutes
loks like just delay
Last edited by QuadroTony : 08/21/14 at 12:54 AM.
Report comment to moderator  
Reply With Quote
Unread 08/20/14, 10:06 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Re: Price Sort Bug

Originally Posted by cursors
When attempting to sort by price I get:

2014-08-20T22:31:28.066-06:00 |cff0000Lua Error: user:/AddOns/Shopkeeper/Shopkeeper.lua:16: attempt to index a nil value
stack traceback:
user:/AddOns/Shopkeeper/Shopkeeper.lua:16: in function 'Shopkeeper.SortByPrice'
user:/AddOns/Shopkeeper/Shopkeeper.lua:123: in function 'Shopkeeper.PriceSort'
482554558126227798:3: in function '(main chunk)'|r


But I haven't had any dupes in the last couple days, so I have that going for me.
Egads! That's an oops on my part If you want to fix it yourself until I release the next version, open the file it's talking about (Shopkeeper.lua), and change line 16 from starting:

(not self.acctSavedVariables.allSettingsAccount

to:

(not Shopkeeper.acctSavedVariables.allSettingsAccount

Edit: You will also need to do this on line 55

Late night coding... *shakes head* I'd fire the coder but I'd be out of a job!
Last edited by Khaibit : 08/21/14 at 12:55 PM.
Report comment to moderator  
Reply With Quote
Unread 08/20/14, 09:35 PM  
cursors

Forum posts: 0
File comments: 6
Uploads: 0
Exclamation Price Sort Bug

When attempting to sort by price I get:

2014-08-20T22:31:28.066-06:00 |cff0000Lua Error: user:/AddOns/Shopkeeper/Shopkeeper.lua:16: attempt to index a nil value
stack traceback:
user:/AddOns/Shopkeeper/Shopkeeper.lua:16: in function 'Shopkeeper.SortByPrice'
user:/AddOns/Shopkeeper/Shopkeeper.lua:123: in function 'Shopkeeper.PriceSort'
482554558126227798:3: in function '(main chunk)'|r


But I haven't had any dupes in the last couple days, so I have that going for me.
Report comment to moderator  
Reply With Quote
Unread 08/20/14, 01:10 PM  
Migoda
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 79
Uploads: 1
Originally Posted by Garkin
Shopkeeper works for me, but I got CTD with DataDaedra enabled.
Yep, same here.
Report comment to moderator  
Reply With Quote
Unread 08/20/14, 12:52 PM  
Garkin
 
Garkin's Avatar
AddOn Author - Click to view AddOns

Forum posts: 832
File comments: 1097
Uploads: 33
Originally Posted by crators
Since the update Shopkeeper causes the game to crash when i enter a new zone. If it's disabled they game works fine. Does anyone have the same problem?
Shopkeeper works for me, but I got CTD with DataDaedra enabled.
Report comment to moderator  
Reply With Quote
Unread 08/20/14, 11:25 AM  
crators

Forum posts: 0
File comments: 2
Uploads: 0
Since the update Shopkeeper causes the game to crash when i enter a new zone. If it's disabled they game works fine. Does anyone have the same problem?
Report comment to moderator  
Reply With Quote
Unread 08/20/14, 07:32 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
request feature - add a history list of cancelled items with their previous price
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: