rdeepak2002 / reddit-place-script-2022

Script to draw an image onto r/place (https://www.reddit.com/r/place/)
909 stars 347 forks source link

[BUG]It's placing only 2-3 pixels if I set every worker to start at [0, 0] #412

Closed Maj-ew closed 2 years ago

Maj-ew commented 2 years ago

Bug Report Form

Checklist

Describe the bug

There are actually 2 bugs, actually one bug I am sure and second thing is just map is too big

To Reproduce

Steps to trigger the bug:

  1. Start cmd
  2. Run "start.bat"
  3. See that it placing only in 2-3 spots for some reason

Expected behavior

It should be placing on whole image

Additional context

So when I set all workers at [0, 0] they seems to be stuck at first 2-3 pixels literally. and then I make some simple changes: let's say I have 10 workers and first is 0,0 and I change 5 next to 1-2-3-4-5,0 and then change 5 to 0,1-2-3-4 and it kind of gets better but still it's not working pretty well, and I monitor this part where I place pixels and there are no activity from others. So I checked logs from console and it seems like it's placing pixels where there is already color that should be there, and there is no mistake from me since I have all white image and I can clearly see that the block stays the same whole time always, so I don't think that 20 times in a row some pixel got changed right before my screen refreshed and at the same time it was replaced by my bot; that's just not possible. And from what I noticed it's just about that program thinks there is most often red there or blue (but there isn't) but there is white all this time. So I guess that's the reason why my 10 bots were working only on first 2-3 pixels.

Here you have simple example with some of my notes https://pastebin.com/6iGDwHF3

Edit: Tried changing thread_delay from 2 to 8 and I think it's fixed? Also downloaded everything again