update readme

This commit is contained in:
mrbesen 2022-05-14 17:55:49 +02:00
parent d6a36d336a
commit cc07bd74de
Signed by: MrBesen
GPG Key ID: 596B2350DCD67504
1 changed files with 37 additions and 10 deletions

View File

@ -1,20 +1,47 @@
# lolautoaccept
This is a tool, that tries to automatically accept a league of legends game.
It is developed on linux mint and there is no effort to port it to other distributions or even windows.
It works by taking a screenshot every second, analysing it using opencv and clicking on accept using XInputSimulator.
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, ....)
### Dependencies
- opencv4
- [XInputSimulator](https://github.com/a3f/XInputSimulator.git)
## 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
- Qt5
- opencv4
- [XInputSimulator](https://github.com/a3f/XInputSimulator.git) (is a submodule)
- [Log](https://git.okaestne.de/okaestne/Log) (is a submodule)
### Running
just execute it.
## 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).
The launcher should be in german (ignoring the text will be implemented soon).
## 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
The program has troubles detecting the button, when the mouse is hovering it.
qmake
The launcher should be in 1280x720 (this will be worked on soon).
# build the appimage
make -j appimg
# or just the main binary
make -j
```
You can get better Logging with:
```
./lolautoaccept --debug-log
```
(This will also create a `log.txt`)