Skip to content

PlaceStart/placestart

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

74 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

/r/placestart defender

To run this painter bot, you must have python and pip installed. If you don't have it or it's not working properly, check the python help at the bottom - thanks Ryhida.

Mantainer Bot

  1. Make sure Python3 and pip are installed

    python --version should output python 3.x

    pip --version should output whatever, just not an error

    If you're having trouble with this, check this or related fixes

  2. Download the bot folder and open a terminal inside it.

  3. Install the requirements:

    pip install -r requirements.txt

  4. Setup the config.json file with your reddit credentials.

    {
        "username": "YOUR-USERNAME",
        "password": "YOUR-PASSWORD"
    }
    
  5. Run the bot in permanent maintenance mode

    python monitor.py maintenance

OBS: If you want to run multiple accounts, you can still run the old command:

python monitor.py --username youruser --password yourpass maintenance

Don't worry, the bot respects the indicated cooldown between drawings. The code is contained in a single file, so you can see that I won't send your credentials anywhere except Reddit's API. Also, there's no self-updating component except it tries to update the target.png at every run.

Notes

The template file can be updated, the script will automatically pick it up.

The template file must respect the correct RGB values accepted by the canvas. The "invisible green" that marks ignored areas is different from the actual green.

If you want more details about the execution, you can pass an extra --debug option.

Windows Python Help

If you are having trouble running Python3 or adding it to your path these instructions may help.

  1. Make folder C:\python\

  2. Download Python 3

  3. Click on Installer

  4. Chose custom install and choose path C:\python\

  5. Open CMD window

  6. Type: C:\python\python.exe --version It should output python 3.x

  7. Download and double click pip.py to install it

  8. Type C:\python\python.exe -m pip --version should output whatever, just not an error

  9. C:\python\python.exe -m pip install -r requirements.txt This will download all the items needed to run this code

  10. Finally run the program by typing C:\python\python.exe \location\monitor.py --username youruser --password yourpass maintenance

WHITESPACE IS NICE!

About

the bot that helped the PlaceStart team to preserve its area

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages