The International Simutrans Forum

 

Author Topic: Timeline consistency: trains  (Read 493 times)

0 Members and 1 Guest are viewing this topic.

Offline wlindley us

  • Devotee
  • *
  • Posts: 979
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Timeline consistency: trains
« on: February 22, 2019, 06:25:56 PM »
Having recently updated my pak tool to properly display capacities of vehicles with multiple classes, I ran the following command:

Code: [Select]
show_objects.pl -t text/en.tab trains/*.dat boats/holds/railway-mail-locker.dat
to find the timeline of introduction and retirement of railway vehicles.  (Note that mail compartments are in various 'holds' in the boats directory for technical reasons.) Among the numerous inconsistencies are these at the very beginning of the timeline:


Timeline consistency check
  • In 1835/10, vehicles(LMR-Rocket) retire... rendering LMR-Rocket-Tender unbuildable until 1840/10 when it retires.
  • In 1843/01, vehicles(LMR-4Wheel-Mail, LMR-4Wheel-Mail-Guard-front) retire... rendering railway-mail-locker unbuildable until 1855/04 when it retires.
  • In 1843/01, vehicles(LMR-4Wheel-Mail-Guard-rear) retire... rendering railway-mail-locker-rear unbuildable until 1855/04 when it retires.
  • In 1848/08, vehicles(vulcan) retire... rendering LMR-Planet-Tender unbuildable until 1850/08 when it retires.
  • In 1843/05,  stephenson-long-boiler-goods is introduced, is unbuildable because none of its constraints are available until 1843/08, when stephenson-long-boiler-goods-tender becomes available.
  • In 1847/03,  gnr-early-tender is introduced, is unbuildable because none of its constraints are available until 1847/08, when gnr-wilson-single becomes available.
  • In 1852/05,  LBSCR-standard-goods-tender is introduced, is unbuildable because none of its constraints are available until 1855/02, when LBSCR-long-boiler-mixed becomes available.
  • In 1852/05,  LBSCR-craven-tender is introduced, is unbuildable because none of its constraints are available until 1854/11, when LBSCR-croydon becomes available.
  • In 1861/06, vehicles(LBSCR-long-boiler-passenger) retire... rendering LBSCR-craven-tender unbuildable until 1862/02, when LBSCR-standard-passenger becomes available, making LBSCR-craven-tender buildable again.
  • In 1856/04,  MR-1 is introduced, is unbuildable because none of its constraints are available until 1859/04, when MR-1-tender becomes available.
  • In 1858/08,  LNWR-DXgoods-Tender is introduced, is unbuildable because none of its constraints are available until 1858/09, when LNWR-DXgoods becomes available.
  • In 1860/01,  gnr-sturrock-tender is introduced, is unbuildable because none of its constraints are available until 1860/04, when gnr-sturrock-single becomes available.
  • In 1871/07, vehicles(LBSCR-craven-tender) retire... rendering LBSCR-victoria unbuildable until 1872/09 when it retires.
  • In 1875/00, vehicles(LBSCR-C) retire... rendering LBSCR-C-tender unbuildable until 1876/11 when it retires.
  • ** LBSCR-B1-Gladstone-Tender has prev of LBSCR-Richmond, but LBSCR-Richmond does not have next of LBSCR-B1-Gladstone-Tender.
  • ** LBSCR-B1-Gladstone-Tender has prev of LBSCR-G, but LBSCR-G does not have next of LBSCR-B1-Gladstone-Tender.
  • ** LBSCR-B1-Gladstone-Tender has prev of LBSCR-Belgravia, but LBSCR-Belgravia does not have next of LBSCR-B1-Gladstone-Tender.
  • ** LBSCR-B1-Gladstone-Tender has prev of LBSCR-D2, but LBSCR-D2 does not have next of LBSCR-B1-Gladstone-Tender.


Certainly some of these are innocuous, but some of them do cause problems: attempting to building the the Stephenson Long Boiler Goods in June 1843, and the Midland MR-1 in May 1856, indeed both show their tenders with a blue "obsolete" (although actually "not yet available") flag bar when built in the depot.

This is a very large and complicated pakset, to be sure, but do we need better automated pakset authoring tools?

Offline wlindley us

  • Devotee
  • *
  • Posts: 979
    • Hacking for fun and profit since 1977
  • Languages: EN, DE
Re: Timeline consistency: trains
« Reply #1 on: February 22, 2019, 06:29:46 PM »
p.s., For what it's worth, the complete train timeline is here.

There may be useless warnings because the remainder of the 'mail holds' are not loaded.   Also the tool is a work-in-progress.

Offline jamespetts gb

  • Simutrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 18753
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: Timeline consistency: trains
« Reply #2 on: February 23, 2019, 01:10:13 AM »
Thank you - I believe that I have fixed these.

That is a very interesting tool - I should be interested to know more about the workflow for this and whether it works on both Linux and Windows.