Help:VE142

From TrainzOnline
Revision as of 12:45, 10 September 2016 by Builderbob (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Invalid character text specified in running number list, only numbers, ',' and '-' are supported.

The 'running-numbers' tag within the 'vehicle-running-numbers' container of config.txt for a traincar asset must follow a specific format. In particular, the only characters that can appear in the tag value are digits 0 to 9, dash, or comma. Any other characters in the tag value will cause this error to be logged. For instance:

vehicle-running-numbers
{
  running-numbers                       "850_862"
}

will generate the error

- VE142: Invalid character '_' specified in running number list, only numbers, ',' and '-' are supported.

The fix is to adjust the tag value to the correct form, in this case

vehicle-running-numbers
{
  running-numbers                       "850-862"
}
Personal tools