Giter VIP home page Giter VIP logo

ulgg / ancient-chimes Goto Github PK

View Code? Open in Web Editor NEW
10.0 2.0 1.0 138 KB

League of Legends Friend List Exporter using League Client API (LCU)

Home Page: https://github.com/ulgg/ancient-chimes/releases

HTML 24.44% JavaScript 75.56%
lol lcu friendlist electron riot-api league-of-legends downloader exporter cef chromium-embedded-framework html yarn node bootstrap visual-studio-code http electron-builder

ancient-chimes's Introduction

Ancient Chimes

League of Legends Friend List Exporter using League Client API (LCU)

YouTube

Ancient Chimes Demo | League Client API

Installation & Setup

I checked this app working on windows. I'm not sure mac.

  1. Download ancient-chimes-X.X.X-win.zip

  2. Extract the zip

  3. Open "system.yaml" in here

C:\Riot Games\League of Legends\RADS\projects\league_client\releases\<LATEST_VERSION>\deploy
  1. Add the 1 line code into 2nd line
enable_swagger: true

*You need to add the code everytime LoL client updated

  1. Start League of Legends client

  2. Double click "ancient-chimes.exe" in the extracted folder

*if you see "Windows protected your PC" popup, try this

Desktop > click windows mark > type "Windows Defender" and click > select "App & browser control" > choose Off in "Check apps and files" section

To use

  1. Load

Get Summoner names from friend list

  1. Export

Download the friend list as text

To develop

To clone and run this repository you'll need them. More References

  1. Git
  2. Node.js (with npm)
  3. yarn (like fast npm)
  4. From command prompt
# Clone this repository
git clone https://github.com/ulgg/ancient-chimes
# Go into the repository
cd ancient-chimes
# Install dependencies
yarn install
# Run the app
yarn start

Build exe from source

# Make exe(zip) of the app
yarn dist

Thanks and References

My learning history. Quick Note of this README (JP)

You can create an app using League Client API too. Like send a notification, send a message, change summoner icon.

FAQ

  • Which technologies do you use?

Node.js, npm, yarn, Electron, JavaScript, HTML, Bootstrap, Git, Wireshark, Fiddler 4, HttpRequest, SubLime(Editor), Visual Studio Code(Editor)

  • Why did you chose them?

Because I wanted friends use the app easily. and there are many samples like rift-explorer, lcu-connector, Pyke_LoL. First, I was going to create web app with Express, Pug, Google App Engine. But I noticed I couldn't call League Client API from internet. If my friends want to use the app, they need to install some unpopular softwares and need effort to learn them. Although I spend around 2 weeks to learn Express, Pug.

  • How did you learn about them?

I had 0 knowledge about them. I learned them from Qiita, StackOverflow, Personal blogs, References, Twitch viewers comments. I have read the "all" messages on Riot Games Dev Discord #lcu-api and #api-challenge-2018 channel.

  • Which League Client API are you using?

(1)lol-game-client-chat

  • What has prompted the use of this API?

Read summoner names in friend list from client. I can't get friend list from normal Riot Games API.

  • How are you planning on using the data you gather from this API?

Download friend list for saving current friend's summoner name. If you transfer your account to other region once and you come back the old region. You can recovery friends from the list. If you have sub account, you can add same friends from the list.

  • Why did you create this?

I wanted to download friend list when I transfered my NA account to Japan server 3 years ago. I and my friend wished friend list would have last login date. Then we can remove some non active friends and find new friends. and I wanted to entry to The Riot Games API Challenge 2018.

  • I can't find/add friend!

If players change thier name you can't find them by old name.

  • Will you add some features to soulve them?

No. I can't use some API, they are unalloewd unfortunity. I can't get that current names and last played date.

Tasks

  • Import friend list and get current summoner name (never release. but I created it once. it need unallowed API)
  • Get last played date (never release. unallowed API)
  • Reduce time to get last played date (very slow. around 5 min for getting 311 friends (.-.))
  • Understand Async/Await (I counldn't use Async. So I used IPC for synchronous request loop)
  • Get correct last played date (I can't get correct date from lol-carreer-stats. some friend's date is older or null)
  • When I close League client, my app can't call API untill restart. lcu-connecter stop() is key I think
  • I want to sort friend list by last played date (never release. unallowed API)

Next

Interested in League Voice with discord voice, notification +-LP at end of game every 1 hour for twitch streaming, and mission notification.

Me

Playing Games and Drawing.

I hope that this app'll help other players to create apps using League Client API(LCU) :)

Twitter / League of Legends (JP) ulg / Twitch / pixiv

License

MIT

Ancient Chimes isn’t endorsed by Riot Games and doesn’t reflect the views or opinions of Riot Games or anyone officially involved in producing or managing League of Legends. League of Legends and Riot Games are trademarks or registered trademarks of Riot Games, Inc. League of Legends © Riot Games, Inc.

ancient-chimes's People

Contributors

ulgg avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

ancient-chimes's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.