Simutrans Chat Room
Where cool people of Simutrans can meet up.

[BUG] navigation system instructions take precedence over traffic regulations

Started by Sirius, April 14, 2020, 08:35:25 PM

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.


What happened?
When a road with routing instructions gets changed, those instructions will take precedence over the actual connections of that road.
That means, if one changes the overtaking mode from Two way to One way, cars will enter that road in opposite direction.
When one removes a connection in between two roads but remains the roads itself (unconnected to each other) cars will simply drive over the pavement or gras in between those roads.

How to Reproduce?
1. Load any save with calculated routes
2a. use the "set overtaking mode" tool to change the overtaking mode of a road
3a. enjoy wrong-way drivers
2b. use the "remove roads" tool on two adjacent tiles of a connected road
3b. enjoy cars simply pasing the grass

Possible solution:
Whenever the ribis of a road change, all routing instructions to removed directions need to get invalidated.


Thank you for the report. I believe that I have now managed to fix this. I should be grateful if you could re-test in the next nightly build.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.