Skip to content
forked from hldh214/lok_bot

Yet another League of Kingdoms farming bot

License

Notifications You must be signed in to change notification settings

rainmak33r/lok_bot

 
 

Repository files navigation

Disclaimer

#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.
 *
 */

lok_bot

GitHub issues GitHub forks GitHub stars GitHub license

Yet another League of Kingdoms farming bot

Usage

Run with local Python interpreter

Prerequisites

Clone or download the repo

git clone https://github.com/hldh214/lok_bot.git
# or click "Download Zip" button

Install requirements

cd lok_bot
pipenv sync

Run

# 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

Run with Docker

Build image yourself

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

Or use prebuilt image

GitHub Workflow Status

docker run -e TOKEN=YOUR_X_ACCESS_TOKEN ghcr.io/hldh214/lok_bot

X_ACCESS_TOKEN

There are currently no plans to support login functionality. So we need this X_ACCESS_TOKEN trick to made it works.

x-access-token.webp

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.

Buy Me a Coffee

ETH/Matic: 0x27C7993CC3349DDE839B4F921733CFc523385864

References

https://github.com/miguelgrinberg/python-socketio/blob/v4.6.1/docs/client.rst https://github.com/bambusbjoerni/bambusbjoerni.github.io

About

Yet another League of Kingdoms farming bot

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 98.8%
  • Dockerfile 1.1%
  • Shell 0.1%