-
Notifications
You must be signed in to change notification settings - Fork 78
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
r/place comeback. #46
Comments
It throws error 403 in my case |
Can we resurrect this repo? |
you tried it out? and how did you get 403? |
Happy to see I'm not the only person who immediately thought about this project again today. |
I suspect most of the BMP -> request mapping stuff could be repurposed, but the URLs etc. have been changed for this time. This is a Powershell request sniffed out from the browser which worked. Bearer token redacted for obvious reasons.
|
config has changed as well, https://www.reddit.com/api/place/board-bitmap <= this doesn't point to the board anymore |
Looks like https://hot-potato.reddit.com/embed/ might be the new place board. Not sure how we can get the bitmap from there yet. I've been looking at the authentication.js file to see if I can modify it for the new Auth Model. |
Is there a working fork or are we all patching the current repo? |
full bitmap is still loaded, but url seems to have some logic behind it. first part seems to be a unix timestamp, no idea for second part (0) or 4th part |
That's a parse error in your users.json |
you probably have a , on the second last line of your users.json |
Yeah, my bad. Now 403 for me also
|
I feel like we should bring this to discord, friend me AstroOrbis#9797 and I'll create a group chat, something about GitHub issues is weird in short term conversations |
I'm starting over from scratch at this repo, small PRs appreciated (which would move us closer to the end goal). https://github.com/CicadaCinema/place-bot Current state: places a single pixel at the specified coordinates |
all of this aside, anyone interested in an alliance? |
soooo has anyone made a working fork |
We're working on it |
Can't wait! |
I prefer working in the open - see https://github.com/CicadaCinema/place-bot/issues/1 for the current state of the attempt written in golang. |
This repo uses old API of reddit. I think porting the same tool to the new API wouldn't be hard |
@werdes where do you get this URL from? |
@gavjan check the network tab in dev tools |
So how is this coming? |
give people some time coding is hard |
https://github.com/michaelshumshum/r-placer here is my attempt. anybody who wants to help and knows python will be appreciated. current state: logging in successful, account creation successful, adding pixels FAIL. |
if you need help with things like request links i can probably help |
I don't know a lot about of coding but if I can help in anyway just let me know |
https://github.com/rdeepak2002/reddit-place-script-2022 The parameter This bot is simplistic, however. It only iterates through the image and does not go back to fix pixels, and it overrides existing pixels, because it does not get any image data from the API. Is there any API call that will return the existing r/place image, so that it can be manipulated in code? |
i used burb to get a new api path.... |
someone should try forking this ? |
If anyone here wants to help improve the bot linked above (https://github.com/rdeepak2002/reddit-place-script-2022), there's a fork of that bot that includes pixel checking that just needs to be reimplemented on an updated fork (the fork dev says he doesn't want to PR and it's based on a much older version of the repo). We could really use a good python dev to look over the fork (https://github.com/DeltaNeverUsed/reddit-place-script-2022-get-board), then reimplement pixel checking from that fork into a new fork of the main repo (https://github.com/rdeepak2002/reddit-place-script-2022) and then PR it back in. I'm planning on working on it tomorrow if it's not already done, but that's a long ways away in the world of r/place. edit: chrome did a weird and didn't update the url when I opened the fork. I updated the fork url with an actual url to the fork we need to implement back into the main repo |
@rsedxcftvgyhbujnkiqwe The expected response is:
Note: there is an optional This URL is a raw 1000x1000 pixel image generated by Reddit's api within the past 10 seconds. |
I'm getting Internal server error |
@MarsVard Oops, sorry, oversight on my end. Should be good now! |
Can someone make GUI version of this for noobs? I will pay 10$ i just want to have fun! |
If someone can make the APIs work, I can probably make a pretty good GUI in something like Godot quite quickly. Does anyone want to collaborate? Is there a Discord or something like that, where we can work? |
Hey @vesk4000 check this. Let me know if this can work for you to make GUI. |
Honestly idk if it's such a good idea to build a GUI. While I'd ideally love for things to be as accessible as possible, we are working against an organization who has said that they don't want bots to exist, and so the easier access is, the more likely it's going to balloon to a point where they change the api and break things and/or start banning bot users more frequently. Imo, the way the linked bot repo works is pretty simple for people with even a bit of CLI or python experience, and so it's available to anyone willing to put in the effort to figure things out without being so available that it balloons out of control to a point where Reddit takes more action against us. If others feel differently, then go ahead, but this is just my worry haha |
Understand your statement and i respect. Gonna spend some time setting this up so i can have fun.. |
Sorry if this is not the place but is there a working product? really want to save my flag. |
@dsf3449 can you make your endpoint redirect to the bitmap instead? Or with a flag? |
Actually I've made a version that works! it fetches the background successfully using pypeteer and it successfully places pixels. |
Update to my endpoint ( It will now return the following object:
Where
|
What's ur discord? |
how do we do this boss |
can someone look at my code / does someone wanna collaborate? It successfully placed pixels and fetched the map for me so that’s big progress. |
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:
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. |
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 |
@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 |
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 |
@smirea @michaelshumshum Sorry, was afk for most of the day. The update is deploying now - give it 10 mins or so.
Again, previous |
@dsf3449 what is the 4th part of the link (bcJSoSFo)? |
I'm also interested. The other parts are:
|
Hi, do you think this still works for new upcoming r/place? If yes I still don't understand on how to put pictures.
The text was updated successfully, but these errors were encountered: