[boskid][0.18.0] train pathfinding error with stacker stations

This subforum contains all the issues which we already resolved.
Post Reply
Blacky007
Fast Inserter
Fast Inserter
Posts: 177
Joined: Fri Dec 29, 2017 8:05 pm
Contact:

[boskid][0.18.0] train pathfinding error with stacker stations

Post by Blacky007 »

the new pathfinding system is a bit broken.
I have 5 stacker stations that gives a signal to the trains - after reaching the stacker station they went out do 2 rounds on track and the go back through stacker on stack with no station???
pathfinding error_018.PNG
pathfinding error_018.PNG (175.5 KiB) Viewed 4967 times
this never happend in 0.17.79 - its the first time they do this shit

this is how the stacker is build - after that only chainsignals to the final station
pathfinding error_018-.PNG
pathfinding error_018-.PNG (3.03 MiB) Viewed 4967 times
Last edited by Blacky007 on Tue Jan 21, 2020 7:40 pm, edited 1 time in total.
My color birthday was May 2nd 2020 - Thank you Enchroma


User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.0] train pathfinding error with stacker stations

Post by boskid »

Well, looking at your image, this is behavior i was worried a little after all my pathfinder penalty system fixes :)

Train quits and goes around only to avoid going through 1 train stop. Path going straight through train stop has higher cost and so train properly chooses path with lower cost.
FactorioBot wrote:
Tue Jan 21, 2020 1:43 pm
Bugfixes
  • Fixed that train pathfinder was counting penalty of whole starting segment instead of only part in front of locomotive. (79951)
Technically previously this stacker was working fine because train was all inside segment with train stop and so going both direction gave same penalty of train stop and train choosed exit as you expected. If you would place rail chain signals in between this behavior would change even in 0.17.79 because one train end would not see this train stop penalty. This is why i will be marking this as Not a bug.

-- edit:

Reproduction in 0.17.79 with rail signals in between of locomotives:
80268-issue.zip
(359.83 KiB) Downloaded 97 times
80268-diff-because-of-starting-segment-split.png
80268-diff-because-of-starting-segment-split.png (311.59 KiB) Viewed 4959 times

Blacky007
Fast Inserter
Fast Inserter
Posts: 177
Joined: Fri Dec 29, 2017 8:05 pm
Contact:

Re: [0.18.0] train pathfinding error with stacker stations

Post by Blacky007 »

the train was going to its stacker station - fine - then after it get its signal it was going to next station getting its cargo - why is the station a penalty in this case when the train is in the station????

this is the save - some days old but in that area was no redesign

https://www.dropbox.com/s/f7w76f4ubb0dq ... 5.zip?dl=0
My color birthday was May 2nd 2020 - Thank you Enchroma

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [0.18.0] train pathfinding error with stacker stations

Post by boskid »

I will consider fixing this since intention for train stop penalty is to avoid blocking train stops for other trains but since this train stop is already occupied, adding this penalty makes little sense

User avatar
boskid
Factorio Staff
Factorio Staff
Posts: 2227
Joined: Thu Dec 14, 2017 6:56 pm
Contact:

Re: [boskid][0.18.0] train pathfinding error with stacker stations

Post by boskid »

This behavior will be changed in 0.18.1.
Changes:
- Train stop at train's starting segment exit is no longer counted into penalty. (80268)
Thanks for report.

Post Reply

Return to “Resolved Problems and Bugs”