MicheleBiena / autoraid

GNU General Public License v3.0
14 stars 6 forks source link
automation bot pokemon


Program

AUTORAID

Python bot to auto-host Pokémon Scarlet and Violet Tera Raids, based on sysbot-base by olliz0r.
Explore the docs »

Report Bug · Request Feature

Table of Contents
  1. About the Project
  2. Getting Started
  3. Usage
  4. Roadmap
  5. Contributing
  6. Contacts
  7. Credits

About the Project

(back to top)

Built with

(back to top)

Getting Started

Install sysbot-base and ldn-mitm (required to control your switch when the game is closed) on your switch. Remember that ldn-mitm could block lan play, so read its github page carefully.

Prerequisites

Install Python and set its install location on PATH environment variable. (You can do it automatically while installing)

Installing

  1. Download the .zip file from the release page.

  2. Run install.bat to install the dependencies. If you get an error check again your installation of Python and the content of the PATH. Remember to restart your PC after updating path.

  3. Run autoraid.exe

  4. Compile the settings, save and restart the program to make them valid.

Building

  1. Clone the repo
    git clone https://github.com/MicheleBiena/autoraid.git
  2. Install the dependencies:
    pip install -r requirements.txt
  3. After setting up a raid on your switch (See Usage below) you can run autoraid_gui.py
    python .\Autoraid.Windows\autoraid_gui.py
  4. Alternatively, you can build it using pyinstaller or auto-py-to-exe with the --onedir option (--onefile is not supported for some of the libraries used). Remember to add CustomTkinter as a dependency, follow this guide to see how to do it.

(back to top)

Usage

  1. Deactivate autosave on your game, and set text speed to Fast. If you're using any Edizon cheat remember to disable them during the game startup by keeping L pressed while selecting the game and the profile.

  2. Find a Tera Raid that you would like to host, and stand in front of it.

  3. Put a Pokémon that could be useful for the raid in front of your party. At the moment the bot will only select its first move and spam it, so prepare something that could win the raid (Like a Perrserker that spams Screech).

  4. Make sure you're offline and right in front of the den, possibly in a place that can't be reached by wild Pokémon, so that when you press A the den opens.

  5. Select from the program the desired options: ("preferential chats" and "snitch mode" are only applicable to the telegram integration. You can set up a list of chat ids that will receive the password 15 seconds before all othere ids, and with snitch mode before the raid starts a screenshot revealing the participants will be sent to all chat ids. Snitch mode can't be selected while preferential ids are enabled, so to not reveal which users have the advantage)

  6. Click on Run Bot to start/stop the bot, the first thing it will do is connecting to the internet in game.

(back to top)

Roadmap

General

Telegram Integration

Aesthetic

See the open issues for a full list of proposed features (and known issues).

(back to top)

Contributing

Contributions are what make the open source community such an amazing place to learn, inspire, and create. Any contributions you make are greatly appreciated.

If you have an issue to report, please go to open issues and describe your problem. You may also add the log.txt from the bot session that encountered a problem to make it more clear.

If you have a suggestion that would make this better, please fork the repo and create a pull request. You can also simply open an issue with the tag "enhancement". Don't forget to give the project a star! Thanks again!

  1. Fork the Project
  2. Create your Feature Branch (git checkout -b feature/AmazingFeature)
  3. Commit your Changes (git commit -m 'Add some AmazingFeature')
  4. Push to the Branch (git push origin feature/AmazingFeature)
  5. Open a Pull Request

(back to top)

Contacts

michelebiena@gmail.com

Project Link: https://github.com/MicheleBiena/autoraid

(back to top)

Credits