[1.1.5] Unintended consequence of waypoints and train limits

Bugs that are actually features.
Locked
barbary
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Wed Feb 27, 2019 10:31 am
Contact:

[1.1.5] Unintended consequence of waypoints and train limits

Post by barbary »

Plan a train back to a station that has the new train limits through a waypoint.
The train travels to the waypoint then because of the train limits stops saying "Destination Full".
I expected the train to look past the waypoint and only leave the first real station if the next real station (with limits) has space.

1) Have several trains load at a real station
2) Have the next stop be a waypoint
3) Have the last stop be a real station with a train limit of 1

Always happens.

There are a couple of problems to do with using stations as waypoints in this way. I believe it also cause the line to have the distance penalty added. Really needs a real waypoint rather than a repurposed station. Or more logic when a station is used as a waypoint.
factorio-current.log
(5.35 KiB) Downloaded 84 times

User avatar
NotRexButCaesar
Smart Inserter
Smart Inserter
Posts: 1120
Joined: Sun Feb 16, 2020 12:47 am
Contact:

Re: [1.1.5] Unintended consequence of waypoints and train limits

Post by NotRexButCaesar »

Do you really need waypoints anymore? The train limits make them unnecessary.
—Crevez, chiens, si vous n'étes pas contents!

Rseding91
Factorio Staff
Factorio Staff
Posts: 13201
Joined: Wed Jun 11, 2014 5:23 am
Contact:

Re: [1.1.5] Unintended consequence of waypoints and train limits

Post by Rseding91 »

Thanks for the report however that's working fully as intended.
If you want to get ahold of me I'm almost always on Discord.

wobbycarly
Fast Inserter
Fast Inserter
Posts: 241
Joined: Tue Jan 29, 2019 4:00 am
Contact:

Re: [1.1.5] Unintended consequence of waypoints and train limits

Post by wobbycarly »

AmericanPatriot wrote:
Wed Dec 09, 2020 2:30 am
Do you really need waypoints anymore? The train limits make them unnecessary.
If you have more trains than destination stations available (eg, deliberate product backlog) then having them go to a waypoint station in a holding yard/train stacker prevents them blocking a loading station or the main line. I believe they'll stop at the waypoint. (I just wish that "Destination full" trains would repath instead of holding the same station reservation...)

barbary
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Wed Feb 27, 2019 10:31 am
Contact:

Re: [1.1.5] Unintended consequence of waypoints and train limits

Post by barbary »

AmericanPatriot wrote:
Wed Dec 09, 2020 2:30 am
Do you really need waypoints anymore? The train limits make them unnecessary.
Absolutely one has to do with how many trains are running the other has to do with the route they take. They have almost nothing to do with each other.

barbary
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Wed Feb 27, 2019 10:31 am
Contact:

Re: [1.1.5] Unintended consequence of waypoints and train limits

Post by barbary »

wobbycarly wrote:
Wed Dec 09, 2020 7:32 am
AmericanPatriot wrote:
Wed Dec 09, 2020 2:30 am
Do you really need waypoints anymore? The train limits make them unnecessary.
If you have more trains than destination stations available (eg, deliberate product backlog) then having them go to a waypoint station in a holding yard/train stacker prevents them blocking a loading station or the main line. I believe they'll stop at the waypoint. (I just wish that "Destination full" trains would repath instead of holding the same station reservation...)
In my testing they will re-path if there are no other trains available to send. What you need to do in this case is use a different stop one that can be reached to drive them into the stacker and then have the next stop be the final destination. That way re pathing isn't needed at all.

barbary
Long Handed Inserter
Long Handed Inserter
Posts: 54
Joined: Wed Feb 27, 2019 10:31 am
Contact:

Re: [1.1.5] Unintended consequence of waypoints and train limits

Post by barbary »

Rseding91 wrote:
Wed Dec 09, 2020 5:44 am
Thanks for the report however that's working fully as intended.
If I may just added a few points. It looks like we have 2 ideas on what a waypoint is for.

1)A station that has no limits and can be used to direct a train into a stacker.
2)A re route to force trains to take a particular route into or out of a base. Maybe a more Northern Route because even though it's longer as a human I know thats going to be more efficient. (I'd argue that this is a more traditional waypoint use.)

Current behaviour is good for scenario 1 and totally unhelpful for scenario 2.

I have to admit I would kind of like to have both uses but scenario 1 I can make work without using a waypoint.

SoShootMe
Filter Inserter
Filter Inserter
Posts: 475
Joined: Mon Aug 03, 2020 4:16 pm
Contact:

Re: [1.1.5] Unintended consequence of waypoints and train limits

Post by SoShootMe »

barbary wrote:
Wed Dec 09, 2020 1:55 pm
If I may just added a few points. It looks like we have 2 ideas on what a waypoint is for.

1)A station that has no limits and can be used to direct a train into a stacker.
2)A re route to force trains to take a particular route into or out of a base. Maybe a more Northern Route because even though it's longer as a human I know thats going to be more efficient. (I'd argue that this is a more traditional waypoint use.)

Current behaviour is good for scenario 1 and totally unhelpful for scenario 2.

I have to admit I would kind of like to have both uses but scenario 1 I can make work without using a waypoint.
As I understand it train pathfinding never looks beyond the next schedule entry. To support scenario 2, I think you'd need waypoints (that is, entries with no conditions) to cause the pathfinder to plan a route through them and reserve the destination (that is, the next entry with any conditions) if needed, or for the train to stay put if it can't.

In this case it wouldn't make sense for the waypoint stops to have a limit set, but if they did, it seems like they would have to be reserved too. This means trains would need to be able to hold multiple reservations. I haven't thought through other possible implications but seems like this is more of an Ideas and Suggestions thing.

Locked

Return to “Not a bug”