Page 1 of 1

[Genhis][2.0.34] platform carries forward inactivity timer when manually triggering schedule

Posted: Thu Feb 06, 2025 9:35 pm
by Amarula
My platform was sitting in orbit processing until it had enough to unload, when I needed to go elsewhere. I manually hit the next stop in the schedule, which is intended to unload processed items. The inactivity condition immediately turned green, rather than waiting for any final processing to be completed and unloaded. I didn't catch the schedule with the inactivity condition showing green, but here is the schedule.
Platform with inactivity in schedule.png
Platform with inactivity in schedule.png (252.2 KiB) Viewed 740 times
As soon as the last item was unloaded, the platform immediately departed.

I expected that as each item was unloaded, the inactivity condition would reset. It has worked as expected up to now when the previous schedule conditions were met and the platform moved to the unloading stop automatically rather than manually.
factorio-current.log
(12.82 KiB) Downloaded 16 times

Re: [2.0.34] platform carries forward inactivity timer when manually triggering schedule

Posted: Thu Feb 06, 2025 11:58 pm
by Muche
Indeed.
It seems the inactivity timer is zeroed upon arrival to an orbit or cargo incoming/outgoing. It does not get cleared when two subsequent stations in the schedule are on the same orbit.

So technically this is correct, albeit unintuitive that in one tick the platform changes station, evaluates that all conditions are true, immediately advances to the next station, and leaves the orbit without giving the loading/unloading a chance.

While playing with it, I found out that the "N s passed" condition also doesn't get cleared upon manually selecting another station on the same orbit; only on orbit arrival, or automatic schedule advancement.

So while your inactivity issue can be solved in the case of automatic schedule by adding a "1 s passed" condition, it might not work in the manual case.

Re: [2.0.34] platform carries forward inactivity timer when manually triggering schedule

Posted: Fri Feb 07, 2025 9:34 am
by Genhis
Thanks for the report. Please attach your save file with reproduction steps.

Re: [2.0.34] platform carries forward inactivity timer when manually triggering schedule

Posted: Fri Feb 07, 2025 2:34 pm
by Amarula
I was able to reproduce the issue with a much smaller old save file.
To reproduce:
1. Open hub for the Falcon.
It is in Nauvis orbit, not unloading, waiting for a condition to be met.
2. Tell the Falcon to move to the second unloading stop for Nauvis which includes 60 seconds of inactivity.

The Falcon immediately leaves for Vulcanus.
Amarula SA pre Vulcanus.zip
(7.8 MiB) Downloaded 9 times

Re: [Genhis][2.0.34] platform carries forward inactivity timer when manually triggering schedule

Posted: Mon Feb 10, 2025 1:44 pm
by Genhis
Thanks, it's fixed for 2.0.35.