The International Simutrans Forum

 

Author Topic: [Bug] Private cars ignore oneway road  (Read 508 times)

0 Members and 1 Guest are viewing this topic.

Offline Phystam

  • Devotee
  • *
  • Posts: 510
  • Pak256.Ex developer
    • Pak256 wiki page
  • Languages: JP, EN, EO
[Bug] Private cars ignore oneway road
« on: February 11, 2020, 08:01:50 AM »

Offline wlindley

  • Devotee
  • *
  • Posts: 1064
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Private cars with routes ignore one way restrictions
« Reply #1 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?


Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20774
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Private cars with routes ignore one way restrictions
« Reply #2 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.

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20774
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Private cars with routes ignore one way restrictions
« Reply #3 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.

Offline Phystam

  • Devotee
  • *
  • Posts: 510
  • Pak256.Ex developer
    • Pak256 wiki page
  • Languages: JP, EN, EO

Offline jamespetts

  • Simutrans-Extended project coordinator
  • Administrator
  • *
  • Posts: 20774
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [Bug] Private cars ignore oneway road
« Reply #5 on: March 04, 2020, 03:11:07 PM »

Offline wlindley

  • Devotee
  • *
  • Posts: 1064
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: [Bug] Private cars ignore oneway road
« Reply #6 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.