Zequez / reddit-placebot

A bot that paints on Reddit /r/place. Works with multiple accounts, and can work with a remote target file for multiple people with the same objective.
MIT License
227 stars 78 forks source link

r/place comeback. #46

Open Arsyad1105 opened 2 years ago

Arsyad1105 commented 2 years ago

Hi, do you think this still works for new upcoming r/place? If yes I still don't understand on how to put pictures.

michaelshumshum commented 2 years ago

Howdy! throwing my hat (bot) into the ring if y'all are interested: https://github.com/smirea/reddit-place-bot

It's all written in typescript and supports:

  • login with multiple account (username / password)
  • has a UI to design and export
  • downloads the current images and does not write pixels it doesn't have to (thanks @dsf3449 for the API!)

Feel free to use / submit PRs

did you have any of the rate limiting issues/banning issues? if so, how did you avoid it? accounts that i make within minutes get banned instantly.

smirea commented 2 years ago

hmm i did not encounter any rate limiting issues yet, though i didn't do anything in particular to avoid it. just making sure to only send requests once the 5min cooldown has passed

smirea commented 2 years ago

@dsf3449 any chance to update your api for the new 4 image format

michaelshumshum commented 2 years ago

@dsf3449 any chance to update your api for the new 4 image format

^ your end point is so much cleaner than doing it with the websockets

MainGoldDragon commented 2 years ago

What I love about this one is that in the readme it tells you EXACTLY how to set this up (well almost exactly). Every single other one just assumes you already have all the tools and programs installed and already know how to do all this stuff...... too bad this one doesn't work

dsf3449 commented 2 years ago

@smirea @michaelshumshum Sorry, was afk for most of the day. The update is deploying now - give it 10 mins or so.

{
    "ok": true,
    "url": "https://hot-potato.reddit.com/media/canvas-images/1649023555283-0-f-zqwdpnN6.png",
    "canvas_left": "https://hot-potato.reddit.com/media/canvas-images/1649023555283-0-f-zqwdpnN6.png",
    "canvas_right": "https://hot-potato.reddit.com/media/canvas-images/1649023555132-1-f-tXHGLiDx.png",
    "quadrants": {
        "top_left": "https://hot-potato.reddit.com/media/canvas-images/1649023555283-0-f-zqwdpnN6.png",
        "top_right": "https://hot-potato.reddit.com/media/canvas-images/1649023555132-1-f-tXHGLiDx.png",
        "bottom_left": "https://hot-potato.reddit.com/media/canvas-images/1649023555514-2-f-bcJSoSFo.png",
        "bottom_right": "https://hot-potato.reddit.com/media/canvas-images/1649023555387-3-f-fO9iGlHq.png"
    },
    "ts": 1649023555
}

Again, previous url, canvas_left, and canvas_right are for backwards compatibility, the quadrants object should be used instead.

ghost commented 2 years ago

@dsf3449 what is the 4th part of the link (bcJSoSFo)?

ben221199 commented 2 years ago

@dsf3449 what is the 4th part of the link (bcJSoSFo)?

I'm also interested. The other parts are: