Help:VE142

From TrainzOnline
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"
}

For details of the rules relating to the formatting of this tag value, see vehicle running numbers.

Personal tools