Inserter in endless loop with temporary train stop

Bugs that are actually features.
User avatar
planetmaker
Fast Inserter
Fast Inserter
Posts: 188
Joined: Mon Jan 21, 2019 9:30 am
Contact:

Inserter in endless loop with temporary train stop

Post by planetmaker »

Sometimes the ore trains get stuck in the refuel station with an inserter glitch as the cause (the left one for refueling).

You can reach the attached savegame state from the savegame attached in this issue by simply deleting the temporary stop of the oil train from its order list and having the game run for ~5 minutes until this train (id27) arrives here again (or the 2nd time?). In the attached video (sorry for the bad quality), you see the inserter hopping between two positions but not inserting anything.

Mind also that the refuel order of the train is not ideal without a proper wait condition. Maybe that contributes.
Attachments
2024-11-04_08-03-26.mp4
(1.2 MiB) Downloaded 27 times
SpaceAgeOne-3.zip
(27.7 MiB) Downloaded 18 times
Zanthra
Fast Inserter
Fast Inserter
Posts: 232
Joined: Fri Mar 25, 2016 8:18 am
Contact:

Re: Inserter in endless loop with temporary train stop

Post by Zanthra »

That train is immediately trying to leave the station. Each time it determines that it needs fuel, so goes to the refuel station, since it is already there it arrives instantly, then once again immediately tries to leave. It never waits at the station long enough for the inserter to give it fuel.
User avatar
planetmaker
Fast Inserter
Fast Inserter
Posts: 188
Joined: Mon Jan 21, 2019 9:30 am
Contact:

Re: Inserter in endless loop with temporary train stop

Post by planetmaker »

Yeah, that sounds about right. Though if it decides to go from this station to the very same station: shouldn't that behave like remaining there if it covers no track? I agree, it's a very tricky corner case, and phrased like this, I'm not sure it needs a solution. It's been confusion for me though (even when the missing wait conditions is the real culprit which causes this)
Post Reply

Return to “Not a bug”