Thread Tools Display Modes
12/26/15, 10:56 AM   #1
Raizeno
Join Date: Dec 2015
Posts: 10
Master Merchant data transfer.

Hello everyone!
I was wondering if it is possible to transfer Master merchamt data from other players .
If yes how would we accomplish that ?
  Reply With Quote
12/26/15, 01:08 PM   #2
haggen
 
haggen's Avatar
AddOn Author - Click to view addons
Join Date: Jul 2015
Posts: 137
Yes it is possible.

The data is stored under the live/SavedVars folder, something like MasterMerchantVars.lua.

I don't use the add-on so I'm not quite sure about the name of the file.

Also, I think it uses like sub-add-ons to store all the data, like MasterMerchantA, MasterMerchantB, etc. it might have be all these files. But under SavedVars for sure.
  Reply With Quote
12/27/15, 02:45 AM   #3
Raizeno
Join Date: Dec 2015
Posts: 10
So if i take the Data sub addons from MM00Data to MM15Data fromsomeone else i should have their Master Merchant history ?
  Reply With Quote
12/27/15, 03:37 AM   #4
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
if you need merge data

1) replace in all saved variables of MM you need to add to yours his @id with yours, all words
2) copy the data from every file and paste in the end of any of your SV file , in MM15 for example
3) if you past it in right place, all must be okay
  Reply With Quote
12/27/15, 04:09 AM   #5
Raizeno
Join Date: Dec 2015
Posts: 10
Ok so i take all his data from all theMM00-15Data and just add it to one of my MM files i don't need to add it to the corespondent file . I mean i can just put it in one of them .
  Reply With Quote
12/27/15, 05:22 AM   #6
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
99% yes

you can just try, its fast
do not forgot about backup
  Reply With Quote
12/27/15, 05:31 PM   #7
Raizeno
Join Date: Dec 2015
Posts: 10
Ok the only proble is that my addon folder and the folder of another guild member who has almost 800k sales is identical there is nothing saved in the data folders ...

Nevermind found the saved data now i just need to learn to read it...

Last edited by Raizeno : 12/27/15 at 05:47 PM.
  Reply With Quote
12/27/15, 07:28 PM   #8
Raizeno
Join Date: Dec 2015
Posts: 10
Ok managed to absorb all that data i think i need to compare it to his original data but still i have alot more data
The problem right now is that i get a lua memory warning each time i reloadui or login anyone know how to avoid that ?
  Reply With Quote
12/28/15, 03:27 AM   #9
Raizeno
Join Date: Dec 2015
Posts: 10
Ok after more messing around with data it seems i only managed to transfer around 18k of the total 800k sales history i got from my guildmate wich seems to be the data from the guild we have in common .
I tryed ti change the guild name from every sale to make it match my own guilds but it seems the guild names are encrypted somehow into the transaction id cause after i /reloadui Master Merchant fixes all the changes i made to the guild names.
Any help would be apreciated .
  Reply With Quote
12/28/15, 03:30 AM   #10
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
if you change the data of saved variables files while you ingame, and then you reloadui, ofc MM will reset your changes, lol
because it store the data separately in lua memory while you in the game and you cant edit it

you need logout first
edit
login
  Reply With Quote
12/28/15, 04:42 AM   #11
Raizeno
Join Date: Dec 2015
Posts: 10
Ok i changed all guild names and it remained changed byt i still have the same ammount of data as before the change . Somehow only 18k of the 800k transactions are eligible.
  Reply With Quote
12/28/15, 05:11 AM   #12
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
if the size of SV files increased, but number of sales didnt change - you doing smthing wrong with pasting the data

or more likely you cant merge by this way

afaik you need copypast EVRY item separately

like in your files there is a section of an item started with id

[35689]

if you paste another data, and in SV appear TWO section with the same id, only one will work
so to merge the data of one item, you need to copy all sales INSIDE id section of the item
and paste it inside the section in your saved variables

and repeat it for every item
so basically manually its impossible - too many work

if you know how you may need to create a scrips to merge the data, it must be not too hard
  Reply With Quote
12/28/15, 05:29 AM   #13
Raizeno
Join Date: Dec 2015
Posts: 10
I will try a different approach now cAuse trying to add the whole data in one file doesn't seem to work maybe the data must be put in the same MMxxData file as the original one so that MM can read it .
  Reply With Quote
12/28/15, 05:53 AM   #14
QuadroTony
Banned
AddOn Author - Click to view addons
Join Date: Apr 2014
Posts: 828
no it doesnt
i spent alot of time to figure out how to add fake sales data to MM
i know how its working

when i add another section started with item id
the old section with the same id, if it presented in the any of sv file, do not erased on next launch, but just stop working/counting

its not hard if you need to add a fake sale of one item, for example you have NO DATA for Lich helm vr16
so you open any SV file (0-15)

and adding in the end of it, in proper order
smthing like this(for 3 colors)

Code:
                    [44271] = 
                    {
                        ["50:16:3:18:0"] = 
                        {
                            ["itemIcon"] = "/esoui/art/icons/gear_lich_head_a.dds",
                            ["sales"] = 
                            {
                                [1] = 
                                {
                                    ["guild"] = "Pact Veteran Trade",
                                    ["itemLink"] = "|H0:item:44271:360:50:0:0:0:0:0:0:0:0:0:0:0:0:20:0:0:0:10000:0|hCrown of the Lich|h",
                                    ["buyer"] = "@kutseradavid",
                                    ["price"] = 399999,
                                    ["timestamp"] = 1444418227,
                                    ["seller"] = "@PatrickStär291",
                                    ["quant"] = 1,
                                    ["wasKiosk"] = true,
                                },
                            },
                            ["itemAdderText"] = "crown of the lich vr16 blue superior set shroud of the lich apparel divines head",
                        },
                        ["50:16:4:18:0"] = 
                        {
                            ["itemIcon"] = "/esoui/art/icons/gear_lich_head_a.dds",
                            ["sales"] = 
                            {
                                [1] = 
                                {
                                    ["guild"] = "Pact Veteran Trade",
                                    ["itemLink"] = "|H0:item:44271:361:50:0:0:0:0:0:0:0:0:0:0:0:0:20:0:0:0:10000:0|hCrown of the Lich|h",
                                    ["buyer"] = "@graveman1980",
                                    ["price"] = 399999,
                                    ["timestamp"] = 1444068867,
                                    ["seller"] = "@LegendaryChef",
                                    ["quant"] = 1,
                                    ["wasKiosk"] = true,
                                },
                            },
                            ["itemAdderText"] = "crown of the lich vr16 purple epic set shroud of the lich apparel divines head",
                        },
                        ["50:16:5:18:0"] = 
                        {
                            ["itemIcon"] = "/esoui/art/icons/gear_lich_head_a.dds",
                            ["sales"] = 
                            {
                                [1] = 
                                {
                                    ["guild"] = "Tamriels Gefährten",
                                    ["itemLink"] = "|H0:item:44271:364:50:0:0:0:0:0:0:0:0:0:0:0:0:20:0:0:0:10000:0|hCrown of the Lich|h",
                                    ["buyer"] = "@SirTraski",
                                    ["price"] = 399999,
                                    ["timestamp"] = 1444737404,
                                    ["seller"] = "@Mona-II",
                                    ["quant"] = 1,
                                    ["wasKiosk"] = true,
                                },
                            },
                            ["itemAdderText"] = "crown of the lich vr16 gold legendary set shroud of the lich apparel divines head",
						},
                    },
if you already have some data started with

[44271] =

it will not counting and will not displaying in the addon's UI, but still will be presented in saved variables

Last edited by QuadroTony : 12/28/15 at 06:10 AM.
  Reply With Quote
12/28/15, 06:27 AM   #15
Raizeno
Join Date: Dec 2015
Posts: 10
Well adding all the sales to their designated file increased my sale number from 18.6k to 22.3 k but i still think those are the sales of the guild we have in common cause it's a new guild and the sale numbers seem right for the player numbers and the time since it started at the increase rate i noticed so far.
  Reply With Quote
12/28/15, 07:05 AM   #16
Raizeno
Join Date: Dec 2015
Posts: 10
Ok did something else i took all his files and replaced his account name with mine and niw i got 43.6k sales so that worked better than replacing data.
  Reply With Quote

ESOUI » AddOns » AddOn Help/Support » Master Merchant data transfer.


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off