lolautoaccept/Readme.md

48 lines
1.7 KiB
Markdown
Raw Normal View History

2022-03-03 20:04:22 +01:00
# lolautoaccept
This is a tool, that tries to automatically accept a league of legends game.
2022-05-14 17:55:49 +02:00
It is developed on linux and there is no effort to port it to windows.
It works by taking a screenshot every second, analysing it using opencv and clicking on `accept` using XInputSimulator.
It has problems when the champion you want to play is banned or picked by someone else. I only tested this in normals and ranked. (No Aram, Custom, URF, ....)
2022-03-03 20:04:22 +01:00
2022-05-14 17:55:49 +02:00
## Prebuild Binary
There is a prebuild AppImage that should work on every linux x86_64 computer.
1. Download: [here](https://git.mrbesen.de/MrBesen/lolautoaccept/releases)
2. give execute rights `chmod +x LoLAutoAccept-*-x86_64.AppImage`
3. execute - dubble click or `./LoLAutoAccept-*-x86_64.AppImage`
## Dependencies
2022-04-20 23:29:40 +02:00
- Qt5
2022-05-14 17:55:49 +02:00
- opencv4
- [XInputSimulator](https://github.com/a3f/XInputSimulator.git) (is a submodule)
- [Log](https://git.okaestne.de/okaestne/Log) (is a submodule)
## Notes
* The Program should be able to detect the buttons no matter the client-language. But it was heavily tested with _german_.
* The program has troubles detecting the button, when the mouse is hovering it. (Dont hover the launcher with your mouse.)
* The launcher should be in 1280x720 (It might work with other resolutions, but they are not tested and are known to have potential problems).
2022-03-03 20:04:22 +01:00
2022-05-14 17:55:49 +02:00
## Compile
Be sure to clone with submodules:
```
git clone --recurse-submodules https://git.mrbesen.de/MrBesen/lolautoaccept.git
```
Then in its root folder:
```
./makeXInputSimulator.sh
2022-03-03 20:04:22 +01:00
2022-05-14 17:55:49 +02:00
qmake
2022-03-03 20:04:22 +01:00
2022-05-14 17:55:49 +02:00
# build the appimage
make -j appimg
2022-03-03 20:04:22 +01:00
2022-05-14 17:55:49 +02:00
# or just the main binary
make -j
```
2022-03-03 20:04:22 +01:00
2022-05-14 17:55:49 +02:00
You can get better Logging with:
```
./lolautoaccept --debug-log
```
(This will also create a `log.txt`)