Author Topic: [develnew 96ae1e2] Strange train behavior  (Read 674 times)

0 Members and 1 Guest are viewing this topic.

Offline Ves

[develnew 96ae1e2] Strange train behavior
« on: December 10, 2015, 09:22:50 PM »
Well, here is another bugreport :)
The train (39) L&BR Small Tank 2-4-0T in the savegame has a very strange behavior:
It has a schedule A-B-C-D with mirror schedule turned on.
But somehow, it get strange and will only travel B-C-D without stopping at C.

The schedule are these four stations:
A - Dartport Gladstone Park Railway Station
B - Dartport Street Railway Station
C - Dartport Black Park Railway Station
D - Dartport Longhill Street Railway Station

Savegame:
https://www.dropbox.com/s/pmsf573uq2itruu/Strange%20train%20schedule%20bug.sve?dl=0

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 14762
  • Total likes: 307
  • Helpful: 143
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [develnew 96ae1e2] Strange train behavior
« Reply #1 on: December 13, 2015, 04:57:35 PM »
This appears to be related to the one train staff working method, which has a number of issues. Sadly, I do not have time to fix this issue this week-end, but, in the meantime, you may try to see whether not using the one train staff cabinets will prevent this trouble from occurring.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Ves

Re: [develnew 96ae1e2] Strange train behavior
« Reply #2 on: December 15, 2015, 06:04:19 PM »
If I just remove the one train staff cabinett, the behaviour will not change. Even if I use the "block resolver tool" (the tool that shows which tiles a train has reserved) and resolve the current block of the train, the error persist. If I manually takes it to the "A-station" (Dartport Gladstone Park Railway Station) the trian may go there, but will reserve very strangely.

It is like the train is still in possesion of the train staff, and therefore thinks it can travel everywhere.

But putting a new staff cabinett on the left side of the track in train direction, will eventually let the train hand over the staff and is afterward operating completely as expected.

So yes, it definitely appears that its an issue with the one train staff!

A side note to the one train staff:
If you remove the cabinet with the staff currently handed over to a train, the train will (apperently) in infinity think it can drive everywhere.
Maybe the staff could be removed from the train if the cabinet is removed?

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 14762
  • Total likes: 307
  • Helpful: 143
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [develnew 96ae1e2] Strange train behavior
« Reply #3 on: February 18, 2017, 12:50:48 AM »
I am currently reviewing old bug reports and I notice that this one appears to have no reported resolution. May I ask whether this can still be reproduced?
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Ves

Re: [develnew 96ae1e2] Strange train behavior
« Reply #4 on: February 21, 2017, 10:03:08 PM »
When loading this save up in commit "aedaa70", it appears to still be an issue like described.

Offline jamespetts

  • Simitrans-Extended project coordinator
  • Moderator
  • *
  • Posts: 14762
  • Total likes: 307
  • Helpful: 143
  • Cake baker
    • Bridgewater-Brunel
  • Languages: EN
Re: [develnew 96ae1e2] Strange train behavior
« Reply #5 on: March 08, 2017, 11:49:50 PM »
I am having trouble downloading your saved game: DropBox seems to have disabled downloads from your account because your links are generating excess traffic.
Download Simutrans-Extended.

Want to help with development? See here for things to do for coding, and here for information on how to make graphics/objects.

Follow Simutrans-Extended on Facebook.

Offline Ves

Re: [develnew 96ae1e2] Strange train behavior
« Reply #6 on: March 09, 2017, 12:06:09 AM »
Oh, I'm sorry about that. I will have to reupload the save game when I get back home the next few days.