The International Simutrans Forum

 

Author Topic: [SOLVED BUG] Intercity/City road definitions were wrong in simuconf.tab  (Read 2326 times)

0 Members and 1 Guest are viewing this topic.

Offline Zeno

  • ENASSA Designer
  • Devotee
  • *
  • Posts: 1997
    • Zeno's Simutrans Creations
  • Languages: ES, EN, CAT
Guys, just let you know that I have fixed the intercity_road and city_road list definition in simuconf.tab file (prototype folder).
Silverhorse reported this wasn't working properly, and I reviewed it and found the road names were in lowercase in the file, while internal object names start all with uppercase 'R'.

Offline gauthier

  • Moderator
  • *
  • Posts: 3626
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: [SOLVED BUG] Intercity/City road definitions were wrong in simuconf.tab
« Reply #1 on: September 28, 2014, 03:44:52 PM »
What was the problem exactly ? Starting games in 1930, I have 50 km/h cityroad as cityroad and 70 km/h road as intercity road.

Offline Zeno

  • ENASSA Designer
  • Devotee
  • *
  • Posts: 1997
    • Zeno's Simutrans Creations
  • Languages: ES, EN, CAT
Re: [SOLVED BUG] Intercity/City road definitions were wrong in simuconf.tab
« Reply #2 on: September 28, 2014, 04:06:28 PM »
If you create a game starting after 1965 you will get all intercity roads with 50km/h city roads instead of 90km/h , because the game doesn't find the roads defined (with lowercase) within the road object list (internal names are with uppercase 'R').

I'm not sure though why it does work with 70km/h road before 1965.

Offline gauthier

  • Moderator
  • *
  • Posts: 3626
    • SNFOS'website (in both FR and EN)
  • Languages: FR, EN, JP
Re: [SOLVED BUG] Intercity/City road definitions were wrong in simuconf.tab
« Reply #3 on: September 28, 2014, 08:05:25 PM »
I see. Thanks for having fixed that  :)