Help:VE139

From TrainzOnline
(Difference between revisions)
Jump to: navigation, search
(created from error message)
 

Latest revision as of 13:12, 10 September 2016

Invalid running number range specified at character index position, (tagvalue).

The 'running-numbers' tag within the 'vehicle-running-numbers' container of config.txt for a traincar asset must follow a specific format. In particular, if the 'number-number' form is used then the second number must be greater than the first. For instance:

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

will generate the error

- VE139: Invalid running number range specified at character index 4, (850-662).

The fix is to adjust the numbers in the tag, in this case

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

The index is the (zero-based) position in the tag value at which the out-of-sequence error was detected. This is useful if there are multiple sets of sequences.

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