#Serial Programs 0.49 (Newest Version) Scarlet and Violet Program Egg Autonomous Error

49 messages · Page 1 of 1 (latest)

trail oxide
#

Hello, I have a bug report for the Egg Autonomous program for Scarlet and Violet. When the picnic spawns, the boxes flash to check to see that the picnic actually appears, but it never begins. I have attached a video of the program running and the error code it shows. I have changed the time of the day so that it was sunny because I thought it being low-light could've effected the color perception.

The cut in the video is to cut down on file size, the same program was running.

Anything I can do?

marble dirge
#

your picnic takes an ungodly long time to load in

#

meaning the inputs to move forward already been pressed

trail oxide
#

Every part of the switch does

marble dirge
#

but since picnic still loading it didnt do those inputs and is just stuck at sandwich stage but because it cant sandwich it closes game

#

thats my idea in what i am seeing

trail oxide
#

Hmmmm

#

And there’s nothing in the program to change that

#

Change when the check happens

marble dirge
#

not that ik off no

#

idk why your switch is so laggy

#

did you fully turn your switch off at 1 point?

#

might want 2 to clear some stuff out

trail oxide
marble dirge
#

fully off

#

or sleep mode

trail oxide
#

Off

#

Figured also since all the videos and ss of everything could be slowing it

#

Loading data

marble dirge
#

yea if your switch is like very full its gonna be slow

trail oxide
#

I’ll fix that when I get home

marble dirge
#

alright that is atleast my hottake

#

idk if anyone has more insight or a solution

trail oxide
#

No one else has responded so kek_explosion

marble dirge
#

keep it up

#

so maybe someone will

hardy tendon
#

Can you post the logs? SerialPrograms.log

#

also, yes. Fully rebooting your switch would be a good idea. Turn it completely off (not sleep mode), then back on.

#

but my first impression is that ghostassassin is correct. It takes too long for the picnic to appear. The code only gives a delay of 1000 ticks, which isn't enough for your case.

trail oxide
marble dirge
#

Since its open source you can make changes yourself but i donno how well that would go kek_explosion kek_explosion kek_explosion

#

Wouldnt go well for me tbh

trail oxide
#

It’s just changing something to add another 0

#

Ezpz

marble dirge
#

Well i said idk how well it would go if you can manage it then do it

#

I donno how nor have tried so i cant help you there

trail oxide
hardy tendon
#

You could add a 0, but then that slows down the program for everybody else.

#

I think I do see an easy fix though. but I want to see the logs to be sure.

hoary marsh
#

The reason question is why it is so slow? Are you running digital off a really slow SD card? If so, try moving the game to the Switch's internal memory.

hardy tendon
#

One fix that I see is to walk forward as well as press the A button when the picnic is detected (and we're expecting to be in the recipe list).

hoary marsh
#

The problem is that if there's that much lag, you're gonna run into problems almost everywhere else. Even though a lot of our SV components can tolerate longer delays, there's still a LOT of timed things.

IOW, trying to make the programs work on a Switch that's 10x slower than normal will lead to cascade of timing failures that will require adding inference to fix if you want to avoid making button sequences 10x slower.

#

Our state-machine designs will tolerate single button drops almost everywhere. But they make the assumption that a button sequence will eventually succeed and move to the next state.

If a slow Switch causes a button sequence to always fail, it'll end up in an infinite retry loop which will probably time-out anyway after enough failures.

trail oxide
#

I deleted all useless clips and ss I have and transferred data to the internal drive and it seems to be working perfectly, thank you @marble dirge @hardy tendon @hoary marsh

#

And also @hoary marsh