Files 2
Downloads 3,447,530
Favorites 1,775
View Bug Report
Incorrect Sales total showing in guild roster, Incorrect Rankings in MM
Bug #: 1314
File: Master Merchant
Date: 04/17/15 10:58 AM
By: Perniciouss
Status: Confirmed (Working on Fix)
Yesterday, Minion showed that MM needed to be updated and I performed the update. Prior to the update, my sales and ranking for sales for the week was showing correctly in MM and in the guild roster. However, after the update the ranking in MM is showing incorrectly and the numbers showing in the guild roster is also incorrect.

Here is a screenshot of MM showing all guild sales "For the Week" and the first several rankings.

As you can see:
  • the top 5 lines are the total sales for the guilds I am a member of.
  • Line 7, you can see that rank 1 for Dominion Imperial Guard is @nugelhoff with sales of 15.8K.
  • Line 8, you can see that rank 1 for Black Market Traders is @Taiana with sales of 1.3K.
  • Line 9, you can see that rank 2 for Dominion Imperial Guard is @Aparpalyptic with sales of 26.6K.
  • Line 10, you can see that rank 2 for Black Market Traders is @siytoc with sales of 8.4K.
The numbers showing are correct, but rankings are not being assigned properly. I refreshed the report, but this did not fix the problem.

As you can see in the snapshot below, those with much higher sales are showing with much lower rankings.

As you can see:
  • Line 37, you can see that rank 14 for Dominion Imperial Guard is @Acerbess with sales of 87.2K.
  • Line 38, you can see that rank 14 for Black Market Traders is @Sidestick with sales of 54.6K.
  • Line 39, you can see that rank 15 for Dominion Imperial Guard is @Crowfl56 with sales of 80.6K.
  • Line 40, you can see that rank 15 for Black Market Traders is @Perniciouss with sales of 54.3K.

When looking at line item 40 in the snapshot above, you will notice that @Perniciouss has total sales for this week of 54.3K. However, when looking at a snapshot of the guild roster shown below, you can see that the sales showing is significantly different.


Everything was working fine prior to the update that was done.

RSS 2.0 Feed for Bug CommentsNotes Sort Options
By: Perniciouss - 04/17/15 11:07 AM
Problem resolve with total numbers showing in guild roster, however, rankings are still showing incorrect in MM.
By: Philgo68 - 04/17/15 05:33 PM
Thanks. If you want you can replace line 55 (or so) in MasterMerchant_Guild.lua with this: just added some ()...

while ((self.rank[rankIndex] or 0) > 1) and (guildRanks[self.rank[rankIndex] - 1]) and ((self.sales[rankIndex] or 0) > (guildRanks[self.rank[rankIndex] - 1].sales[rankIndex] or 0)) do