#include <std_disclaimer.h>
/*
*
* We are not responsible for banned account or any other punishment by this game's GM.
* Please do some research if you have any concerns about features included in this repo
* before using it! YOU are choosing to use these scripts, and if
* you point the finger at us for messing up your account, we will laugh at you.
*
*/
Yet another League of Kingdoms farming bot
git clone https://github.com/hldh214/lok_bot.git
# or click "Download Zip" button
cd lok_bot
pipenv sync
# activate a new shell with pipenv
pipenv shell
python -m lokbot YOUR_X_ACCESS_TOKEN
# or run directly inside pipenv
pipenv run python -m lokbot YOUR_X_ACCESS_TOKEN
docker build -t lok_bot_local --build-arg PYPI_MIRROR=https://pypi.tuna.tsinghua.edu.cn/simple .
docker run -e TOKEN=YOUR_X_ACCESS_TOKEN lok_bot_local
docker run -e TOKEN=YOUR_X_ACCESS_TOKEN ghcr.io/hldh214/lok_bot
There are currently no plans to support login functionality. So we need this X_ACCESS_TOKEN
trick to made it works.
You need to log in on the web, then press F12 to open DevTools. Then
click Network
tab(1)(2), scroll down to the latest request and click it(3). On the right side(4) scroll down to the
bottom, and you can see x-access-token
field(5). Copy that value and pass it as X_ACCESS_TOKEN
mentioned above.
ETH/Matic: 0x27C7993CC3349DDE839B4F921733CFc523385864
https://github.com/miguelgrinberg/python-socketio/blob/v4.6.1/docs/client.rst https://github.com/bambusbjoerni/bambusbjoerni.github.io