Click to open network menu
Join or Log In
Mobafire logo

Join the leading League of Legends community. Create and share Champion Guides and Builds.

Create an MFN Account






Or

's Forum Avatar

Exporting Itemsets and masteries to client.

Creator: Prate_k December 31, 2018 3:08am
Prate_k
<Editor>
Prate_k's Forum Avatar
Show more awards
Posts:
261
Joined:
Jan 3rd, 2016
Permalink | Quote | PM | +Rep December 31, 2018 3:08am | Report
If mobafire can provide an itemset output in json format, then you can basically add it manually to the game by pasting it into league's item set file. But the format has to follow the one specified in the client. Same goes for the masteries, but that's in a yaml format.

If we can get the right format, would mobafire be allowed to do this? Since the files to be modified are in the user configuration folder, it should be allowed to be changed manually without using the client.
PsiGuard
<Retired Admin>
PsiGuard's Forum Avatar
Show more awards
Posts:
10290
Joined:
Jun 26th, 2011
Permalink | Quote | PM | +Rep January 1, 2019 2:14am | Report
I believe the client already has an import tool, so that half of the idea shouldn't be an issue. We do have item set support somewhere on the to-do list but the devs are working on higher priority projects at the moment. Might happen, but I wouldn't count on it soon.

Of course you can always create the item sets manually and then export them, then put the result in your guide(s) (in a spoiler probably). People can use that code to import the item set. As the author you get a bit more control of how the item set is organized this way as well.
Thanks to Lugignaf for the sig!
Prate_k
<Editor>
Prate_k's Forum Avatar
Show more awards
Posts:
261
Joined:
Jan 3rd, 2016
Permalink | Quote | PM | +Rep January 2, 2019 2:37am | Report
PsiGuard wrote:
Of course you can always create the item sets manually and then export them, then put the result in your guide(s) (in a spoiler probably). People can use that code to import the item set. As the author you get a bit more control of how the item set is organized this way as well.


Oh right, never thought of that. Thanks
EagleExe
<Member>
EagleExe's Forum Avatar
Posts:
2
Joined:
Aug 8th, 2020
Permalink | Quote | PM | +Rep August 18, 2020 7:51pm | Report
It can be done using Javascript. I made a GitHub that explains how to do it.
https://github.com/EagleExe/LoL-ItemsJSON

Basically just paste the code into the browser console and it reads the item set data from the Mobafire page and organized a JSON that you copy and then paste into the game.

You need to log in before commenting.

League of Legends Champions:

Teamfight Tactics Guide