Libre-TrainSim icon indicating copy to clipboard operation
Libre-TrainSim copied to clipboard

Signals prior to spawning point / jump to station / are not set properly

Open custodian opened this issue 2 years ago • 1 comments

Summary

Signals prior to spawning point are not set properly, i.e. remain green

How to reproduce

Steps to reproduce the behavior:

i.

  1. Launch any scenario with 3+ stations 2a. Jump to station. 2b. Find NPC train just spawned.
  2. Check signals state before the spawn point

ii.

  1. Launch any scenario and spawn at the middle of the track
  2. Check signals state before the spawn point.

Observed behavior

Signals are green: Spawn at the middle of the track: image

NPC train: image

Expected behavior

Signals are Yellow/Red image

Version

  • Game Version: master 3ffba0dc29d78ac237606524f0a782a3ef360ed3

Additional information

Linked to #315

custodian avatar Aug 20 '23 12:08 custodian

Yeah, unfortunately the block system is very basic right now. Right now, signals switch themselves (and the signal before them) the moment a train drives over the signal. The "jump to station" feature just ignores this.

I want to completely refactor the signal system, but that's only going to happen in 0.10 unfortunately

DasCapschen avatar Oct 24 '23 13:10 DasCapschen