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

Invalid Colors for Red and Orange #4

Closed N8BMAN closed 7 years ago

N8BMAN commented 7 years ago

I've triple checked the exact color values but still get an invalid color error whenever it hits red or orange. There may be other colors it has issues with but these are the two I've run into.

daphee commented 7 years ago

Could you provide a sample bmp? No issues here with Red.

Lenni commented 7 years ago

No issues from here either. Can you provide you target bmp, so we can check?

RobinFlikkema commented 7 years ago

You need to use 229, 0, 0 for red

Zequez commented 7 years ago

Use the eyedropper tool on the board.example.bmp file.

N8BMAN commented 7 years ago

I've tried every way to grab the color, including using the eyedropper tool. Here is what I've been using just to try and get it to work. I had to convert it to png to upload it here. target1

Zequez commented 7 years ago

What software are you using for editing the image?

N8BMAN commented 7 years ago

I've tried both paint.net and ms paint.

Zequez commented 7 years ago

Could you zip the file and upload it here?

N8BMAN commented 7 years ago

I figured it out. Both the programs were set to auto detect bit depth, which was setting it to 8-bit rather than 24-bit. Setting it to 24-bit manually has fixed it. Thanks for the help!

Zequez commented 7 years ago

Well, anyway, now the app support any kind of file (like compressed png), color matching (you can use any color and will find the closest) and starting position (you can use small targets). So this won't happen again. d5933e7 4d6961d 7f9fcd0