Git Product home page Git Product logo

/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!

PlaceStart's Projects

outsiderwork icon outsiderwork

Some cool scripts by others taking part in the /r/Place game.

placestart icon placestart

the bot that helped the PlaceStart team to preserve its area

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.