Go to Page... |
Compatibility: | Update 6 (1.6.5) |
Updated: | 03/03/15 04:06 PM |
Created: | 12/09/14 08:36 PM |
Monthly downloads: | 107 |
Total downloads: | 17,720 |
Favorites: | 18 |
MD5: |
File Name |
Version |
Size |
Uploader |
Date |
1.0 (dOpiate Fi |
222kB |
dopiate |
03/03/15 12:59 PM |
|
1.0 (dOpiate Fi |
219kB |
dopiate |
02/06/15 02:12 PM |
|
1.0 (dOpiate Fi |
219kB |
dopiate |
01/24/15 01:48 PM |
|
1.0 (dOpiate Fi |
219kB |
dopiate |
12/21/14 01:10 PM |
|
1.0 (dOpiate Fi |
219kB |
dopiate |
12/18/14 10:40 AM |
|
1.0 (dOpiate Fi |
218kB |
dopiate |
12/17/14 08:46 AM |
|
1.0 (dOpiate Fi |
218kB |
dopiate |
12/12/14 09:21 AM |
|
1.0 (dOpiate Fi |
218kB |
dopiate |
12/10/14 09:13 AM |
|
1.0 (dOpiate Fi |
218kB |
dopiate |
12/09/14 08:36 PM |
Comment Options |
12/09/14, 10:50 PM | |
Forum posts: 1
File comments: 41
Uploads: 0
|
Your Rock!
Thank you for the work you put in!
|
|
FreakyFreak |
View Public Profile |
Send a private message to FreakyFreak |
Find More Posts by FreakyFreak |
Add FreakyFreak to Your Buddy List |
12/10/14, 12:27 AM | |
Forum posts: 37
File comments: 299
Uploads: 0
|
Re: Your Rock!
Thanks for posting this. It is really appreciated.
|
|
timidobserver |
View Public Profile |
Send a private message to timidobserver |
Find More Posts by timidobserver |
Add timidobserver to Your Buddy List |
dopiate |
View Public Profile |
Send a private message to dopiate |
Find More Posts by dopiate |
Add dopiate to Your Buddy List |
12/11/14, 08:46 AM | |
|
Make this the in game GUI for GSA
If you are one of the people who are using my Guild Sales Assistant and would rather have the original Shopkeeper as your in game UI.
That’s perfectly fine and totally possible. I have written a GSA no GUI version that will work with it but, you must get instruction from me to migrate your database so you don’t lose all the history in the offline database. It’s not hard but don’t just install the no GUI version without instruction or you will corrupt your data. If there are requests to do this I will create a very detailed "how to" document. -d
Last edited by dopiate : 12/11/14 at 09:26 AM.
|
|
dopiate |
View Public Profile |
Send a private message to dopiate |
Find More Posts by dopiate |
Add dopiate to Your Buddy List |
Garkin |
View Public Profile |
Send a private message to Garkin |
Send email to Garkin |
Find More Posts by Garkin |
Add Garkin to Your Buddy List |
dopiate |
View Public Profile |
Send a private message to dopiate |
Send email to dopiate |
Find More Posts by dopiate |
Add dopiate to Your Buddy List |
12/12/14, 08:35 PM | |
Forum posts: 0
File comments: 3
Uploads: 0
|
na
thanks
|
|
stuartx13 |
View Public Profile |
Send a private message to stuartx13 |
Send email to stuartx13 |
Find More Posts by stuartx13 |
Add stuartx13 to Your Buddy List |
12/13/14, 04:17 AM | |
Forum posts: 8
File comments: 129
Uploads: 0
|
Did you fix the erroneous price calculations of stacks as well?
|
|
spoqster |
View Public Profile |
Send a private message to spoqster |
Send email to spoqster |
Find More Posts by spoqster |
Add spoqster to Your Buddy List |
12/13/14, 05:12 AM | ||
|
If you can find it - I will fix it.
I don't use this program so until somebody tells me there is an issue I won't know to fix it. I fixed every issue I knew about and Garkin even contributed some "better" tool tip code. The code was correct but it didn't check to make sure that other addons had correctly created a tool tip. He basically made it smarter about when to add tool tip information. A price calculation of stacks I thought was an issue with a different version after it was continued? My only goal here was to give users back the Shopkeeper that they were used to and make it stable. If it's not fixed, I stand by my promise to fix all the bugs in this version. Just give me as much info as you can and I'll set to work on fixing the math. -d btw, I don't use this program because I use the one in GSM, which only makes sense since I created GSM. I never used tool tips and pricing info from Shopkeeper so that code was removed (in GSM). |
|
|
dopiate |
View Public Profile |
Send a private message to dopiate |
Send email to dopiate |
Find More Posts by dopiate |
Add dopiate to Your Buddy List |
12/15/14, 03:05 AM | |||
Forum posts: 8
File comments: 129
Uploads: 0
|
Re: If you can find it - I will fix it.
I posted on the original shopkeeper page shortly after khaibit discontinued it. Looking at the numbers, it seemed very likely that he just fogot to divide by the stack size. Here is my original text: "I found one possible issue: It looks like there are inconsistencies in handling stacks. I have confirmed the following: - Voidstone Ore is listed at 20 in the tooltip. The value is derived from 9 stacks of 100 at 2000g each. So here the value listed is for one unit. - Iron Ore is listed at 900 in the tooltip. The value is derived from one stack of 100 at 900g. So here the stack value is shown, not the unit value. - Calcinium Ore is listed at 156g in the tooltip. The value is derived from two sales. One stack of 6 at 36g and another stack of 46 at 276. So here the addon does not take the stack size into account at all and only averages individual sales. - Topgrain Hide Scraps: listed at 7.78 in the tooltip. Derived from three sales. Stack of 19 at 114g, stack of 22 at 132 gold, stack of 100 at 2000g. I don't know how you got the 7.78, but I think the average should be weighted by the number of units sold for a given price. In this case 100 units were sold at a price of 22 and 41 units were sold at a price of 6 each. So the unit price should be (100 x 22 + 41 x 6)/141 = 17.34752." I will test and let you know if I find any remaining issues.
Last edited by spoqster : 12/15/14 at 03:10 AM.
|
||
|
spoqster |
View Public Profile |
Send a private message to spoqster |
Send email to spoqster |
Find More Posts by spoqster |
Add spoqster to Your Buddy List |
12/15/14, 04:38 AM | ||
|
Re: Re: If you can find it - I will fix it.
I have one toon that uses Shopkeeper (he actually is my BS mule) so I can test stacks myself and see what the issue it. Here is my time frame. Just woke up, got work till 6:00, then I can test/fix it tonight. Like I said, If there are any left over bugs or something khaibit accidentally forgot to to, I will fix it. -d |
|
|
dopiate |
View Public Profile |
Send a private message to dopiate |
Send email to dopiate |
Find More Posts by dopiate |
Add dopiate to Your Buddy List |
12/15/14, 05:23 PM | ||
|
Re: Re: Re: If you can find it - I will fix it.
remember I have never used Shopkeeper for Tool Tips and, as you will see below, I couldn't even manually match any of the numbers. Ok this is simple i understand this: 1 item - 1 sale - but is the last value supposed to be price per unit or ??? I doesn't say anywhere does it? now when we have > 1 sales it goes all over the place... that is the same tool tip i see when I search all sales and find all 3 -- it doesn't change at all. This was my one sale: it's saying 3 sales in the last 10 days, ok but then the 29.48 what is that for? my per unit price was 42 - is it taking all 3 sales it found and getting the average PPU ? total sales = 1240 / 57 units = 21.75 while there is no doubt something is mixed up -- I don't know what that last amount was intended to be? even when I ave the PPU ave - ignoring stack size -- I get a completely different number ... 75 / 3 = 25 So we have: Shopkeeper tool tip saying: 29.48 all 3 sales (full price) together / 57 unites: 21.75 all 3 sales (PPU) together / 3 sales: 25.00 I see what you are saying when you hover over any of the stacks it says the same 29.48 BUT it also says 3 sales in 10 days -- is it supposed to give you the PPU of each one you hover over? Was it supposed to be like this? This is whats built into Awesome Guild Store. I am truly at a loss as to where the 29.48 comes from or what he intended it to represent -- it's not a result of any of the ways I calculated it. I hover over individual searches in the guild store and get the same (seemingly) random values - sometimes they match Awesome Guild Store sometimes they are way off base.. What do you want it to do? I will certainly look at the code and try to figure out what equation he is using for this but I don't understand the goal. is it all sales ave PPU or just the item you are hovering over? If so why does it tell you how many sales in how many days -- thats a contradiction -- here is total sales and then here is a PPU for ______??? Your basically going to have to tell me what you think it's supposed to be doing. Because I don't understand the point of the tool tips here (hence I never had them on in any version). To me I guess the # of sales in a certain time period is useful but what was he going for with the price afterward? I'll look at the code in a little bit and see what he was going for but if it used to work in the old one and now in this one it doesn't then you have a huge advantage over me because I never used it. I thought I had an idea of what you meant this morning but now? I'm not sure what that value is supposed to represent? If it was a coding mistake I SHOULD have been able to manually match that number at least one of the ways I did the PPU ave -- but I never hit his number SO I have drawn only 1 conclusion - that number is NONSENSE but I don't know what it's intention was. My best guess is that it should be total units (for all sales) / total sales (for all sales). Which would be the 21.75 but I'm guessing. I reviewed everything you said and my tiny example would have proved or disproved your theory and it disproved it - it did confirm whatever that prices was supposed to be is wrong (the bigger picture). here is a hover over in the store window - all these are SINGLE items listed same price listed - so wherever it produced that tool tip it generates a number that I was unable to re-produce. Get back to me and I'll let you know what I find in the source. I am completely confused as to what number he was going for! What was right was 3 sales in 10 days. That is it. -d
Last edited by dopiate : 12/15/14 at 05:23 PM.
|
|
|
dopiate |
View Public Profile |
Send a private message to dopiate |
Send email to dopiate |
Find More Posts by dopiate |
Add dopiate to Your Buddy List |
12/15/14, 05:47 PM | |
|
A very interesting outcome!
in his code is this comment.
-- For a weighted average, the latest data gets a weighting of X, where X is the number of -- days the data covers, thus making newest data worth more. please notice "thus making newest data worth more" It's a complicated formula but hes adding data weight over the number of days, with the latest sales being more important than a 10 day old sale. Given this new information you will have to decide if that is what you want, because his code is clean. I just had no idea what he was going for. (in hindsight I should have started with the code but oh well) here is the exact code Code:
-- Now that we have a price-sorted list, we can use it to compute stats if #sortedTable > 0 then local timeInterval = newestTime - oldestTime local avgPrice = 0 -- If all sales data covers less than a day, we'll just do a plain average, nothing to weight if timeInterval < 86400 then for i = 1, #sortedTable do avgPrice = avgPrice + sortedTable[i][1] end avgPrice = avgPrice / #sortedTable returnData = {["avgPrice"] = avgPrice, ["numSales"] = #sortedTable, ["numDays"]= 1} -- For a weighted average, the latest data gets a weighting of X, where X is the number of -- days the data covers, thus making newest data worth more. else local dayInterval = math.floor((GetTimeStamp() - oldestTime) / 86400.0) + 1 local weightedDiv = 0 for i = 1, #sortedTable do local weightValue = dayInterval - math.floor((GetTimeStamp() - sortedTable[i][2]) / 86400.0) local perPrice = sortedTable[i][1] if sortedTable[i][3] > 1 then perPrice = perPrice / sortedTable[i][3] end weightedDiv = weightedDiv + weightValue avgPrice = avgPrice + (perPrice * weightValue) end if weightedDiv ~= 0 then avgPrice = avgPrice / weightedDiv end returnData = {["avgPrice"] = avgPrice, ["numSales"] = #sortedTable, ["numDays"] = dayInterval} end end You can either accept his idea (which I am impressed with) or choose not to but it's not broken and it has nothing to do with stack size. One thing about Khaibit is that he knew how to code! and I don't know if that formula he is using was of his own creation or if it came out of some economics book but it's not my place to change it. It's for you to decide if you agree with it. Personally I think it's a hell of a lot more valuable than all the simple stuff I was trying to do to match it. -d
Last edited by dopiate : 12/15/14 at 05:52 PM.
|
|
dopiate |
View Public Profile |
Send a private message to dopiate |
Send email to dopiate |
Find More Posts by dopiate |
Add dopiate to Your Buddy List |
12/16/14, 04:37 AM | ||
Forum posts: 8
File comments: 129
Uploads: 0
|
Re: A very interesting outcome!
|
|
|
spoqster |
View Public Profile |
Send a private message to spoqster |
Send email to spoqster |
Find More Posts by spoqster |
Add spoqster to Your Buddy List |
12/16/14, 06:09 AM | ||
|
Re: Re: A very interesting outcome!
Not to nerd-out too much here but I think he's applying some version of the Time Value of Money! Which is SO COOL - I just wish he had said something, somewhere so we all didn't go around thinking his tool tips were wrong. But he truly posted 1.0 and vanished. I never even got a reply to my last two emails to him. He's got me rethinkng how I show my PPU in GSM -- I may offer an option to apply a version of that equation as an alternative to my non-economic based math. -d
Last edited by dopiate : 12/16/14 at 06:22 AM.
|
|
|
dopiate |
View Public Profile |
Send a private message to dopiate |
Send email to dopiate |
Find More Posts by dopiate |
Add dopiate to Your Buddy List |