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/19/14, 10:50 PM  
Balver
 
Balver's Avatar
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 70
Uploads: 2
Originally Posted by Khaibit
Originally Posted by Balver
Sadly, the dupe bug still exists .
Could you provide some more detail? How many items are getting duplicated? Is it happening on login or during play?
It happened about five to ten minutes after login. Eight items were duplicated.
In the chat and on screen notification it said the items were sold 4 seconds ago (they were actually sold 3 to 5 days ago), but in the Shopkeeper window the dates are correct.
Report comment to moderator  
Reply With Quote
Unread 08/19/14, 08:08 AM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by Balver
Sadly, the dupe bug still exists .
Could you provide some more detail? How many items are getting duplicated? Is it happening on login or during play?

I have seen some rare instances where a single item is duplicated upon login, part of that is simply due to the fact that item sales times are (at best) accurate to the second, and things bought within the same second as the last scan before you log out may be duplicated when you log back in. I'm trying to figure out a good way around that one, but ultimately when you first log in I need to determine some way of what you have and haven't seen, and since we can't get any sort of unique item ID for anything that isn't in one of your bags, timestamps are the best thing I can find in the API for that =\
Report comment to moderator  
Reply With Quote
Unread 08/19/14, 03:04 AM  
Balver
 
Balver's Avatar
AddOn Author - Click to view AddOns

Forum posts: 39
File comments: 70
Uploads: 2
Sadly, the dupe bug still exists .
Report comment to moderator  
Reply With Quote
Unread 08/18/14, 08:10 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
0.9.2 is out!

Aaaaand 0.9.2 is out. You'll have to reset your sales histories to clear any existing dupes, but shouldn't get any more. Please let me know if the bug still persists, as well as the "stuck alerts" bug people see when alt-tabbing out of the game and back in. Thanks all for your bug reports and especially Migoda for working with me to debug the dupe issue!

In the meantime, also check out the new per-guild filters for sales stats And French users, if you play with the French localized version of the client, you will now have Shopkeeper in (mostly) French! Merci bien to jupiter126/Otxics on the EU Server for the translation work!
Report comment to moderator  
Reply With Quote
Unread 08/18/14, 04:33 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Right, I'll post a combined reply to all of these comments as I just got done chatting with Migoda, who has confirmed a fix for the dupe bug

Originally Posted by QuadroTony
its bug?

i sold near 5-8 items with this addon but it shows only two...
The addon can only go as far back as the server keeps track (and exposes it via the API)...if your previous sales were earlier than that, they may have run off the end of the log so to speak due to other guild sales activity. If you log on frequently from this point forward, however, it should keep consistent track

Originally Posted by cursors
I'm a new user of the add-on (48hrs), I've had no guild changes, and I also experienced the dupe data bug. It started adding duplicate entries from sales that happened 4-20 hours ago on zone changes. Not on every zone chage, just occasionally and across toons.
Thanks for the bug info! I believe I have a fix in place, and it should be released sometime today. Keep an eye on Minion or this page! You will have to "Reset" your sales history to clear the dupes once the update goes out, however.

Everything else is awesome otherwise.
As are you!

Originally Posted by Moiraine.D
I recently left a guild and started a new guild. When I mouse over items it still says the price information for the old guild and doesn't show the new guild info. When I look through my sales history, it did show the sales I made through the new guild. All the other guilds still have data. I tried deleting everything and putting it back on and it still did the same thing.

Any ideas?
Hmm...Shopkeeper does not track price information and display it in tooltips - perhaps it's another addon doing this?

I am including a fix for some issues related to adding/leaving guilds in the next release coming later this evening - you may have to "Reset" your sales history via the Shopkeeper window and wait 20-30 seconds for a full refresh once you update though. My apologies for the inconvenience!

Originally Posted by Quillyne
Just an update: Once I let Shopkeeper get through re-notifying me of all my past sales in triplicate (to include a random sale of something 17,769 hours ago), it seems to have stopped. All new sales since switching up the order of the three guild stores are being reported as a single entry and no new notification zergs have occurred. So, I am convinced that - for me at least - the change on how the guild stores are ordered was the root of my temporary problem. Shopkeeper is back to being a well-behaved, awesome, sanity-saving, must-have add-on.
Awesome! Yeah, changes I'm making in the next release coming shortly here should help mitigate the issues that occur when dropping or adding guilds with an existing sales history. Needs a bit more testing on my end and we should be good to go. Thanks for all the info, it helps a ton in tracking issues down!
Report comment to moderator  
Reply With Quote
Unread 08/18/14, 02:07 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
its bug?

i sold near 5-8 items with this addon but it shows only two...

Last edited by QuadroTony : 08/18/14 at 02:17 PM.
Report comment to moderator  
Reply With Quote
Unread 08/17/14, 08:42 PM  
cursors

Forum posts: 0
File comments: 6
Uploads: 0
Dupe data

I'm a new user of the add-on (48hrs), I've had no guild changes, and I also experienced the dupe data bug. It started adding duplicate entries from sales that happened 4-20 hours ago on zone changes. Not on every zone chage, just occasionally and across toons.

Everything else is awesome otherwise.

Hope this helps!

cursors
Report comment to moderator  
Reply With Quote
Unread 08/17/14, 07:43 PM  
Moiraine.D

Forum posts: 0
File comments: 1
Uploads: 0
Guilds

I recently left a guild and started a new guild. When I mouse over items it still says the price information for the old guild and doesn't show the new guild info. When I look through my sales history, it did show the sales I made through the new guild. All the other guilds still have data. I tried deleting everything and putting it back on and it still did the same thing.

Any ideas?

I'm in 5 guilds. The one I left was my 3 guild in the list, the new one is obviously the 5th spot.
Report comment to moderator  
Reply With Quote
Unread 08/17/14, 06:49 PM  
Quillyne

Forum posts: 0
File comments: 89
Uploads: 0
Originally Posted by Khaibit
Originally Posted by Quillyne
With the exception of having on-screen notifications of sales freeze on my screen after alt-tabbing in and out of the game, I have had no problems with this awesome add-on...until yesterday.

Yesterday, I left a dead trade guild and joined another. After about 30 minutes of play, I started getting zerged by on-screen notifications repeating the sales notice of transactions happening 5, 10, 19, 27 (etc) hours prior. I opened Shopkeeper and found that all of my sales were now listed in triplicate in the table...and that I was getting a repeat message for each one.

What's interesting is that I left one other dying guild store a week ago...and none of the above happened. The guild store I left a week ago was listed as my 5th guild. The new guild simply replaced it in the lineup. No dupe bug, no crazy mob of on-screen sales notifications.

The guild I left yesterday was the 3rd guild in the line-up...so, guilds 4 and 5 moved up to slots 3 and 4, with the new guild as the 5th.

Perhaps the dupe bug and notifications are occurring when the add-on sees guilds moving in the the guild order? I have no idea if this makes any difference, but it seems to be the one difference that triggers the bugs for me.
Hmm, the way that the addon tracks which events it's seen, I can definitely see that being an issue. I may move to storing info about each guild by name rather than guild ID, that would prevent this from happening. Thank you for the report, the more information I have the better I can track this dastardly bug down!
Just an update: Once I let Shopkeeper get through re-notifying me of all my past sales in triplicate (to include a random sale of something 17,769 hours ago), it seems to have stopped. All new sales since switching up the order of the three guild stores are being reported as a single entry and no new notification zergs have occurred. So, I am convinced that - for me at least - the change on how the guild stores are ordered was the root of my temporary problem. Shopkeeper is back to being a well-behaved, awesome, sanity-saving, must-have add-on.

That said, I think I'll hold off leaving my dead PvE fishing guild for a bit. It sits at slot #2, so all 3 of my guild store guilds would then move up a slot...and all the mayhem would recommence!
Report comment to moderator  
Reply With Quote
Unread 08/17/14, 03:08 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by Quillyne
With the exception of having on-screen notifications of sales freeze on my screen after alt-tabbing in and out of the game, I have had no problems with this awesome add-on...until yesterday.

Yesterday, I left a dead trade guild and joined another. After about 30 minutes of play, I started getting zerged by on-screen notifications repeating the sales notice of transactions happening 5, 10, 19, 27 (etc) hours prior. I opened Shopkeeper and found that all of my sales were now listed in triplicate in the table...and that I was getting a repeat message for each one.

What's interesting is that I left one other dying guild store a week ago...and none of the above happened. The guild store I left a week ago was listed as my 5th guild. The new guild simply replaced it in the lineup. No dupe bug, no crazy mob of on-screen sales notifications.

The guild I left yesterday was the 3rd guild in the line-up...so, guilds 4 and 5 moved up to slots 3 and 4, with the new guild as the 5th.

Perhaps the dupe bug and notifications are occurring when the add-on sees guilds moving in the the guild order? I have no idea if this makes any difference, but it seems to be the one difference that triggers the bugs for me.
Hmm, the way that the addon tracks which events it's seen, I can definitely see that being an issue. I may move to storing info about each guild by name rather than guild ID, that would prevent this from happening. Thank you for the report, the more information I have the better I can track this dastardly bug down!
Report comment to moderator  
Reply With Quote
Unread 08/17/14, 11:51 AM  
Quillyne

Forum posts: 0
File comments: 89
Uploads: 0
With the exception of having on-screen notifications of sales freeze on my screen after alt-tabbing in and out of the game, I have had no problems with this awesome add-on...until yesterday.

Yesterday, I left a dead trade guild and joined another. After about 30 minutes of play, I started getting zerged by on-screen notifications repeating the sales notice of transactions happening 5, 10, 19, 27 (etc) hours prior. I opened Shopkeeper and found that all of my sales were now listed in triplicate in the table...and that I was getting a repeat message for each one.

What's interesting is that I left one other dying guild store a week ago...and none of the above happened. The guild store I left a week ago was listed as my 5th guild. The new guild simply replaced it in the lineup. No dupe bug, no crazy mob of on-screen sales notifications.

The guild I left yesterday was the 3rd guild in the line-up...so, guilds 4 and 5 moved up to slots 3 and 4, with the new guild as the 5th.

Perhaps the dupe bug and notifications are occurring when the add-on sees guilds moving in the the guild order? I have no idea if this makes any difference, but it seems to be the one difference that triggers the bugs for me.
Report comment to moderator  
Reply With Quote
Unread 08/15/14, 05:33 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by ghbucky
Hiya,

The 'days' slider in the stats window isn't working today. I can't say for sure how new this is. I know I've used it previously and it was fine.

I can't adjust the slider. I also did a reset due to the duplication bug mentioned previously, but the slider is still frozen on 'Using All Data'
I made a change in the last version that adjusts the maximum to however far back your sales data goes; it's supposed to disable it entirely if there's less than 2 days of data (since then 'all data' and '1 day' are the same thing), but I realized it doesn't after I pushed the version out. It's fixed in the next version that will go out as soon as I can figure out this duplication issue some people are seeing, but thanks for the bug report, I appreciate them!
Report comment to moderator  
Reply With Quote
Unread 08/15/14, 05:20 PM  
ghbucky

Forum posts: 0
File comments: 9
Uploads: 0
Hiya,

The 'days' slider in the stats window isn't working today. I can't say for sure how new this is. I know I've used it previously and it was fine.

I can't adjust the slider. I also did a reset due to the duplication bug mentioned previously, but the slider is still frozen on 'Using All Data'
Report comment to moderator  
Reply With Quote
Unread 08/15/14, 10:28 AM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by Migoda
Originally Posted by Khaibit
Definitely do, thank you for the additional information! I have yet to replicate this bug myself, which is annoying the heck out of me...just out of curiosity (trying to establish any commonality among people having this issue), how many guilds are you in?
You're welcome . I am in 4 guilds at the moment.

Thanks for explaining the data save stuff. That "famous" @accountname bug was really annoying!
Looking forward to the option for account-wide settings.
Iiiiiiinteresting. I am in 5 guilds, but so far it seems like everyone experiencing the issue is in less than 5. I'm sending you a PM to avoid cluttering up the comment thread
Report comment to moderator  
Reply With Quote
Unread 08/15/14, 10:12 AM  
Migoda
AddOn Author - Click to view AddOns

Forum posts: 18
File comments: 79
Uploads: 1
Originally Posted by Khaibit
Definitely do, thank you for the additional information! I have yet to replicate this bug myself, which is annoying the heck out of me...just out of curiosity (trying to establish any commonality among people having this issue), how many guilds are you in?
You're welcome . I am in 4 guilds at the moment.

Thanks for explaining the data save stuff. That "famous" @accountname bug was really annoying!
Looking forward to the option for account-wide settings.
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: