~ 4 min read
Bot auto play League of Legends

What is this?
- This is a self-playing bot of league of legends.
- Released to test new technologies, it uses only publicly available apis and does not interfere with the game at all.
- The way this bot works is to emulate a keyboard and mouse like a player.
Expand / Shrink
Download
- Latest version, please download the file [LeagueAI.zip] (https://github.com/kgemas/League-AI/releases/latest).
- Once the download is done, you can compare it with the md5 hash to ensure that the file you download is safe.
Environmental requirements
For the software to work, operating environment packages are required.
- Install .NET Framework 4.7.2 Runtime Download Here.
30 seconds install.
- Step 1: Open the extracted folder (or install), find the configuration file
config.json
. Please modify the path to your game folder and save the settings again.
For riot server, point to Riot Games directory.
"DefaultLeaguePath": "C:/Riot Games"
For garena server, point to 32787 directory.
"DefaultLeaguePath": "E:/GamePC/Garena/Games/32787"
- Step 2: Open the game app. The screen will have several menus like this.
- Step 3: Run the program
LeagueAI.exe
and enter the Key (if any). - Done 🎉 Keep the screen unlocked and go play 💃
Advanced File Customization config.json
// server
"hostActive": "https://leaguebot.khaivu.dev"
// the number of games the bot will play on its own
"maxGame": 8,
// 1 = automatic shutdown, 0 = no shutdown
"autoShutdown": 1,
// skill upgrade order
"upgrandSkillMap": {
"1": "Q",
"2": "W",
"3": "E",
"4": "Q",
"5": "W",
"6": "R",
"7": "Q",
"8": "W",
}
Advanced customization for unsupported servers
In some game distributions, you may encounter a case where the file path does not have a default value like in the settings file appsettings.json
. The workaround is to point each file to its correct address. There are 6 files that need to be configured manually as shown below.
The DefaultLeaguePath
option is the game’s root path. All remaining 5 options will have Path = DefaultLeaguePath + “remaining value”.
More specifically, for example LeagueGameconfigPath
as shown in the picture will have the actual path as G:\\Game\\LOL\\LOL_Game\\32787\\Game\\Config\\game.cfg
.
Find the correct file and shorten the path to match string addition. Until the publisher fixes the bug, this configuration will remain active. Because the software needs to use these profiles to get permission to read the API.
Updates and patches
- For stable operation, update to the new version when possible, the latest versions usually include bug fixes and new features.
- Starting from the following updates, the
UpdateBotAI.exe
tool will be attached to the fileLeagueAI.zip
at release. Run the fileUpdateBotAI.exe
and it will replace the old versions by itself.
Support telegram group.
LeagueAI - Github Kgemas (Vietnam)
Behavior rules:
- For newbie: read the answer using the search function on github + telegram group before asking a question.
- With members: be polite and help newcomers when possible.
I created a telegram group to help fix bugs faster, simply because I’m more active here.
The software itself is experimental software for new technologies.
I’m the only developer so it would be great if people help each other and I just need to take care of new unexplored issues.
Can’t run the software?
- As one master said
-
You can track resolved issues here.
-
Or view issues in progress here.
-
If you have some new unresolved errors, please create a new issue, it may take 1-2 days for me to process, but please be patient 😂
Project support?
- If you find this project interesting, become one of the server maintainers using the QR on the left.
- If you want to thank the developer, on the right is his QR 🐳.
Good luck 🐱👤🎶