Page 1 of 1

[kovarex] [0.16.25] Trains creep forward even if no path.

Posted: Thu Feb 22, 2018 11:50 pm
by GuiltyBystander
Very minor and specific bug, but perhaps there's larger implications for what's causing this that I don't understand.

How to recreate:
  1. Create a rail loop with 2 stations A, B immediately adjacent to each other.
  2. Add a train with both stations in its list with "Wait until 0 seconds pass" so it just goes back and forth between them.
  3. After it makes a lap or 2, mine out a piece of track so "No path" starts to appear over the train.
Image of setup:
Image

If you zoom in and stand next to the train, you'll see it creeps forward about a pixel every 1-2 seconds. It doesn't respect red signals and will ram other trains in front of it. If you turn on "show-rail-paths," it doesn't look like it's trying to reuse the old path or anything. If you put a straight section of track, it will take that instead of the curve.
If you put the train in manual mode and back to automatic, it stops creeping. If stations A/B aren't right next to each other, it doesn't happen.


I'm sure you can count on one hand how many people are suffering from this but still thought I should bring it up since it might reveal something else deeper.

Re: [kovarex] [0.16.25] Trains creep forward even if no path.

Posted: Fri Mar 16, 2018 11:37 pm
by Bilka
Fixed by 58738

Re: [kovarex] [0.16.25] Trains creep forward even if no path.

Posted: Sat Mar 17, 2018 12:57 pm
by kitcat
Bilka wrote:Fixed by 58738
How do you know? 0.16.31 with the fix isn’t out yet. Have you verified it in some kind of pre-release version or are you just guessing?

Re: [kovarex] [0.16.25] Trains creep forward even if no path.

Posted: Sat Mar 17, 2018 1:04 pm
by Zavian
Bilka is working for Wube, and has source access, so it's quite possible he has tested it with the an work in progress build of 0.16.31.

Re: [kovarex] [0.16.25] Trains creep forward even if no path.

Posted: Sat Mar 17, 2018 1:06 pm
by Bilka
kitcat wrote:
Bilka wrote:Fixed by 58738
How do you know? 0.16.31 with the fix isn’t out yet. Have you verified it in some kind of pre-release version or are you just guessing?
You should read last weeks fff
Bilka wrote:and alongside access to the game's source code, it is possible for me to update the wiki to a new version within a few minutes.
So yes, I tested it.

Re: [kovarex] [0.16.25] Trains creep forward even if no path.

Posted: Sun Apr 29, 2018 11:24 pm
by Zanostra
version [ 16.38 ]

I just came across this bug, and searched the forum if it was known, but I found it in resolved bugs.
Just made a video where it is visible.
The trains creep forward and are still using fuel.

https://www.youtube.com/watch?v=qSZ3egwU-ng

I tested it a little bit extra, and they don't creep ( nor use fuel ) when you put them in manual mode and then in automatic mode again.
They do creep if you place the rail segment so they can go to destination and delete it again to create a 'no path', BUT only if they had enough time to start moving.
By creating and deleting the rail segment to fast, they will not creep.
It doesn't matter if you build/delete the rails by hand, construction bots or bullets.