The International Simutrans Forum

Simutrans Extended => Simutrans-Extended development => Simutrans-Extended bug reports => Topic started by: Phystam on February 11, 2020, 08:01:50 AM

Title: [Bug] Private cars ignore oneway road
Post by: Phystam on February 11, 2020, 08:01:50 AM
Even after updating the road from bi-directional to one-directional, private cars ignore it. See this video:
https://cdn.discordapp.com/attachments/665986412641779712/676698727985053706/Simutrans_120.2.1_Extended_Nightly_development_build_14.9_c97845b_2020-02-11_16-57-39.mp4 (https://cdn.discordapp.com/attachments/665986412641779712/676698727985053706/Simutrans_120.2.1_Extended_Nightly_development_build_14.9_c97845b_2020-02-11_16-57-39.mp4)
Title: Private cars with routes ignore one way restrictions
Post by: wlindley on March 04, 2020, 02:47:09 PM
With the latest of either 'master' or 'private-car-routing-lightweight' branches, citycars still cheerfully drive the wrong direction on one-way roads, straight past one-way signs and do-not-enter signs, causing nightmare traffic jams. Is there a solution pending?

(http://i.imgur.com/UjMU9E8.png)
Title: Re: Private cars with routes ignore one way restrictions
Post by: jamespetts on March 04, 2020, 02:52:49 PM
I was not aware of this issue (and I have split it into its own topic). I will have to investigate this in detail after completing work on the issue related to memory usage.
Title: Re: Private cars with routes ignore one way restrictions
Post by: jamespetts on March 04, 2020, 03:06:04 PM
Incidentally, it will reduce the amount of work that I need to do to look into this issue if you can test in the meantime whether ignoring one way roads occurs on roads that are built as one way from the outset, or only occurs on roads that are built as two way and have the one way status added after private car routes have had a chance to be found on them.
Title: Re: Private cars with routes ignore one way restrictions
Post by: Phystam on March 04, 2020, 03:06:32 PM
See also: https://forum.simutrans.com/index.php/topic,19597.0.html (https://forum.simutrans.com/index.php/topic,19597.0.html)
Title: Re: [Bug] Private cars ignore oneway road
Post by: jamespetts on March 04, 2020, 03:11:07 PM
Quote from: Phystam on March 04, 2020, 03:06:32 PM
See also: https://forum.simutrans.com/index.php/topic,19597.0.html (https://forum.simutrans.com/index.php/topic,19597.0.html)

Topics merged - thank you for noting the duplication.
Title: Re: [Bug] Private cars ignore oneway road
Post by: wlindley on March 05, 2020, 04:05:08 PM
Removing the road where this occurs, and rebuilding it just one tile away, does clear the situation.  My guess is the cars ignore changes in the road status or signs after they have plotted a course.