The International Simutrans Forum

 

Author Topic: Parsing error for new city stops  (Read 3240 times)

0 Members and 1 Guest are viewing this topic.

Offline Fraoch

  • *
  • Posts: 81
  • Languages: EN, FR
Parsing error for new city stops
« on: January 04, 2013, 11:11:40 PM »
I love the new 112.1 and the new city stop naming scheme (using streets) is cool but I'm having parsing errors on new stop names.  For example:

"%¢1s Picnic Street %¢2s"
"%¢1s Winterbourne Street %¢2s"
"%¢1s Monk's Lane %¢2s"

Simutrans 112.1 r6212M, pak128 2.2.0 on Ubuntu Linux 12.10 64-bit.

Thank you!

Offline Zeno

  • ENASSA Designer
  • Devotee
  • *
  • Posts: 1997
    • Zeno's Simutrans Creations
  • Languages: ES, EN, CAT
Re: Parsing error for new city stops
« Reply #1 on: January 04, 2013, 11:44:45 PM »
It's a pak128 2.2.0 bug, not a "game bug". There's a file ( text/streetlist_en.txt ) that generates new street names, and probably it's not working properly. Maybe deleting it reverts to old way of naming stops, but I'm not sure.

You may learn more about it here: http://forum.simutrans.com/index.php?topic=11136.msg108524#msg108524
or search "streetlist" in the forum.

Offline Fraoch

  • *
  • Posts: 81
  • Languages: EN, FR
Re: Parsing error for new city stops
« Reply #2 on: January 05, 2013, 12:24:31 AM »
Whoops, sorry, I didn't realize that.

Thank you.

Offline VS

  • Senior Plumber (Devotee)
  • Moderator
  • *
  • Posts: 4855
  • Vladimír Slávik
    • VS's Simutrans site
  • Languages: CS,EN
Re: Parsing error for new city stops
« Reply #3 on: January 05, 2013, 08:29:20 AM »
Yes, the file is damaged, just delete it to get normal names.

Alternatively, you can replace in this file every %$1s with %s (ditto for 2). Yes, that's all there is to this bug :(