#Item Printer RNG Heavy Ball Bug

33 messages · Page 1 of 1 (latest)

gloomy rampart
#

I'm using the Item Printer RNG using CC program v.50.3-beta, and whenever I set the desired item to Heavy Ball, it fails with this error, Failed to set the hour after 10 attempts.

I attempted other balls, and don't run into this error.

#

I've tried it 3 times, got the same error all three times.

Also I'm using the older switch, not the OLED.

thorn furnace
#

Can you go to the change date menu, set the date to what the program was trying to set it to and take a screenshot?

#

Looks like it's trying to set it to July 24, 2029 11:53::11. And it's unable to read the month.

snow flare
#

Thoughts on solutions for this? We can either get rid of the '/' -> 7 in the substitution table. Or we use read_number_waterfill for the date reader.

thorn furnace
#

7 -> / is probably one of the most common misreads. I need to see what the OCR is actually reading. I don't think it should be reading the slash to begin with.

snow flare
#

when I looked into it. the filtered binary image looked fine; it was just a 7. but depending on how slanted it is, it can misread as a '/'.

#

the '/' -> 7 is a relatively new addition to the substitution table. I think all the prints were working fine before that.

thorn furnace
#

It was added because it was breaking for someone. lul

#

The yellow boxes are the US ones. So it's not actually covering the /. OCR must be "making it up" (which it does quite often.)

#

What the fuck. Since when did they add this option? kek

#

So now you have 6 combinations:
White: Default
White: Invert
White: Greyscale
Black: Default
Black: Invert
Black: Greyscale

#

Invert for either white or black fails completely. Like it doesn't even detect that it's on the date change menu.

gloomy rampart
snow flare
#

@gloomy rampart Try switching to "Basic Black" under Themes. That should fix the issue for now.

#

for some reason, it doesn't misread in dark mode. (at least for me)

#

I just tested it out with read_number_waterfill, and it works in both light and dark mode. It no longer misreads the 7.

thorn furnace
gloomy rampart
#

it seems to work now when switched to Dark mode

snow flare
#

I can reproduce the bug on light mode.

#

It misreads the 7 as 7/->77.

thorn furnace
#

Switch it back to the non-working settings. I want the screenshots of the non-working ones so I can fix them.

#

oh you got it?

#

So OCR made up the /.

snow flare
#

yes.

thorn furnace
#

What the fuck tesseract? kek

snow flare
#

I think we should just use read_number_waterfill from now on. I find it to be more reliable.

#

and waterfill is performant enough that I don't notice much of a hit in performance.

thorn furnace
#

I think the date setting function predated read_number_waterfill.

I'll make this fix, since I'm also trying to make it work for the other color themes.

snow flare
#

the only annoying part will be that you have to specify the min and max RGB values, which will be different for each font color.

thorn furnace
#

I have a color scheme that works for all 6 settings on my cap-card.