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/31/14, 03:50 PM  
jupiter126

Forum posts: 0
File comments: 1
Uploads: 0
Be sure you apply account settings and set limit to 15K, you should then be able to have a longer history.

I am in 5 guilds, and which registered over 18k sales registered in 11 days - if I had the setting on 3K, I would barely have 1.5 days of history... The addon registers and counts ALL guild sales, so if you want more history, make it bigger ^^.

To my knowledge, so far there is no option for the addon to remember only your sales.



Originally Posted by QuadroTony
Originally Posted by Khaibit
Originally Posted by QuadroTony
it must save 15000 sales in the history right?
i cant achieve morethan 3... strange
3000 is the default unless you change it in the settings.
not limited by the time?
my last sale was near week ago
but now YOUR SALES are empty...

what can cause this?

and i didnt really need ALL SALES history by my guilds
any options to turn it off mby?
Report comment to moderator  
Reply With Quote
Unread 09/01/14, 03:34 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
for my opinion ALL sales really useless, why people want to see all sales in guilds? more important to see only your sales...
and i badly need it, now all my sales dissapeared after few more
Report comment to moderator  
Reply With Quote
Unread 09/01/14, 09:47 PM  
awesomebilly
AddOn Author - Click to view AddOns

Forum posts: 23
File comments: 230
Uploads: 8
Hello

@Khaibit

I've officially retired luminary trade sales history, I'm checking out yours now

-AB
Report comment to moderator  
Reply With Quote
Unread 09/02/14, 06:18 AM  
Valthyr

Forum posts: 1
File comments: 25
Uploads: 0
When trying to change the Window font for shopkeeper I was greeted by the rather unpleasant error that follows:

Code:
Error: 1 / 1   Time: 07:17:33   Gametime: 3831.459   Count: 1
Reason: attempt to index a nil value
At: Shopkeeper/Shopkeeper_UI.lua:85
Stack:
Shopkeeper/Shopkeeper_UI.lua:85: function Shopkeeper:UpdateFonts
Shopkeeper/Shopkeeper.lua:362: function setFunc
LibAddonMenu-2.0/LibAddonMenu-2.0/controls/dropdown.lua:48: function UpdateValue
LibAddonMenu-2.0/LibAddonMenu-2.0/controls/dropdown.lua:60: function DropdownCallback
EsoUI/Libraries/ZO_ComboBox/ZO_ComboBox.lua:153: function ItemSelectedClickHelper
EsoUI/Libraries/ZO_ComboBox/ZO_ComboBox.lua:208: function OnSelect
EsoUI/Libraries/ZO_ContextMenus/ZO_ContextMenus.lua:403: function ZO_Menu_ClickItem
In XML #8371350907706105899:4: (main chunk)
Report comment to moderator  
Reply With Quote
Unread 09/02/14, 10:07 AM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by QuadroTony
for my opinion ALL sales really useless, why people want to see all sales in guilds? more important to see only your sales...
and i badly need it, now all my sales dissapeared after few more
Part of the reason for Shopkeeper is so you can get an idea of what is selling in general (to keep an eye on market trends, figure out what things are selling for, etc.), not just to keep track of your sales. With the current release, the maximum number of sales events is 15k, but I've made some fairly substantial changes to improve memory efficiency in the upcoming version and I may be able to turn that max up quite a bit more - I've been testing with 25k and not having any issues or slowdowns, I'm going to turn it up to 35k today
Report comment to moderator  
Reply With Quote
Unread 09/02/14, 10:08 AM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by Valthyr
When trying to change the Window font for shopkeeper I was greeted by the rather unpleasant error that follows:
Yikes o_O This is with the latest version (0.9.5a)?
Report comment to moderator  
Reply With Quote
Unread 09/02/14, 11:15 AM  
babylon

Forum posts: 14
File comments: 363
Uploads: 0
@Khaibit - I'm still getting repeat listings with latest version, any chance this will be fixed or will I have to keep using the old version that does actually work?
Report comment to moderator  
Reply With Quote
Unread 09/02/14, 11:45 AM  
Valthyr

Forum posts: 1
File comments: 25
Uploads: 0
Originally Posted by Khaibit
Originally Posted by Valthyr
When trying to change the Window font for shopkeeper I was greeted by the rather unpleasant error that follows:
Yikes o_O This is with the latest version (0.9.5a)?
yes with the latest version (0.9.5a)
Report comment to moderator  
Reply With Quote
Unread 09/02/14, 12:32 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by Valthyr
Originally Posted by Khaibit
Originally Posted by Valthyr
When trying to change the Window font for shopkeeper I was greeted by the rather unpleasant error that follows:
Yikes o_O This is with the latest version (0.9.5a)?
yes with the latest version (0.9.5a)
Well, that's a stupid typo on my part, oops

Will be fixed in next version, if you want to fix it for now, open Shopkeeper.lua, and around line 362 look for the following:

Code:
          setFunc = function(value)
            self:ActiveSettings().windowFont = value
            self.UpdateFonts()
          end,
Change "self.UpdateFonts()" to "self:UpdateFonts()" (change the . to a : instead), so it reads:

Code:
          setFunc = function(value)
            self:ActiveSettings().windowFont = value
            self:UpdateFonts()
          end,
Thought I got all of those, but it appears I missed one. My apologies!
Report comment to moderator  
Reply With Quote
Unread 09/02/14, 12:35 PM  
Khaibit
 
Khaibit's Avatar
AddOn Author - Click to view AddOns

Forum posts: 26
File comments: 74
Uploads: 1
Originally Posted by babylon
@Khaibit - I'm still getting repeat listings with latest version, any chance this will be fixed or will I have to keep using the old version that does actually work?
Can you give me a little more detail? Large-scale duplication while you're logged in and playing, or a single item during the first scan after login / reloadui? Or something else?
Report comment to moderator  
Reply With Quote
Unread 09/02/14, 12:45 PM  
babylon

Forum posts: 14
File comments: 363
Uploads: 0
Originally Posted by Khaibit
Originally Posted by babylon
@Khaibit - I'm still getting repeat listings with latest version, any chance this will be fixed or will I have to keep using the old version that does actually work?
Can you give me a little more detail? Large-scale duplication while you're logged in and playing, or a single item during the first scan after login / reloadui? Or something else?
It seems to have no pattern. The item duplication is intermittent, and doesn't happen on all items. The numbers duplicated can range from 1 dupe to 4 dupes.

It's seen on both "My Sales" tab and "All Sales" tab.

Happens while playing, and bear in mind I switch characters a bit during each play session.

The last "good" version of Shopkeeper for me is 0.9.3 which does not cause item duping. The last two versions caused duping.
Last edited by babylon : 09/02/14 at 12:47 PM.
Report comment to moderator  
Reply With Quote
Unread 09/03/14, 02:04 AM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
@Khaibit any info about turn off All sales pls?
and remain only My sales?
bcs of too large all sles i cant keep MY sales list
its erased every few weeks

and we really dont need all sales. at least me...
Report comment to moderator  
Reply With Quote
Unread 09/04/14, 01:39 PM  
EQBallzz

Forum posts: 9
File comments: 206
Uploads: 0
I have not been as active in playing as of late but I just logged in and it doesn't seem that shopkeeper is working exactly right. I had 8 sales in my mail over the last few days but shopkeeper is only listing 2 of the sales from that time period. Anyone know of any issues or anything that would cause some sales to not be reported or logged properly?
Report comment to moderator  
Reply With Quote
Unread 09/04/14, 05:24 PM  
HeroOfEvbof

Forum posts: 0
File comments: 64
Uploads: 0
Sales history is only about 24hrs, for now

A user asked below why all his sales over "a few" days. The Guild Tab only reports sales within the last 24hrs or so, maybe as much as 26hrs.
Shopkeeper needs to use the same API calls as the Guild Tab. Therefore any sales during the days we dont log in will not be tracked by Shopkeeper.

This is going to change in update 4. Shopkeeper is going to be able to track tons and tons of sales. I suggest to everyone that they be aware of how big and how long a Reset is going to take.
Report comment to moderator  
Reply With Quote
Unread 09/04/14, 11:54 PM  
QuadroTony
Banned
 
QuadroTony's Avatar
AddOn Author - Click to view AddOns

Forum posts: 828
File comments: 3866
Uploads: 3
or mby a button to delete all sales from All Sales?
but keep My sales alwys
Report comment to moderator  
Reply With Quote
Post A Reply



Category Jump: