AI Train created at incorrect time - collides with player
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Open Rails |
Fix Released
|
Low
|
r.roeterdink |
Bug Description
OR Version: X1847 (also Version 0.9)
Route: Mactier
Activity: Generated by Skyline Activity Generator; simple pickup and setout.
Symptom: AI train is created at the wrong clock time, meets player train head on. Also- some ambiguity between Auto and Manual in signals presented.
The activity starts at 09:30 AM with the player train on a section of double track, between the two "Bolton" switches. It must move south to the single track main line through the Bolton South switch to reach the Gerdau Ameristeel Metals siding to pick up some cars. An AI train is started by the activity at 9:29:50 AM or 31190 in the traffic file (Note - before the player start time). It is moving north from the Elder North switch towards the player train's location on the single track portion of the main line.
In MSTS, the activity starts with a red signal facing the player at the Bolton South switch; the player train must wait until the AI train has passed by on the adjacent track before proceeding on to the main line. (Clicking TAB produces "Permission Denied".) The AI train appears as expected, and the activity proceeds normally.
In ORTS, in Auto Signal Mode, a green signal is shown at startup. The HUD shows that the AI train has not yet been created, although the simulation time has already started at 09:30 AM. If the player train is driven on to the main line, it encounters green signals. But at approximately 09:36 AM the AI train is suddenly created on the single track main line and the player train encounters it head on in a collision. (In Release 0.9, the AI train appears at about 09:37:50 AM)
In ORTS, in Manual Mode, a red signal is shown at startup (09:30 AM), even though the AI train has not yet been created. The HUD shows that the AI train is created at approximately 09:30:20 AM in Auto mode. Switching back to Auto Signal before the AI train is created shows green, but afterwards continues to show red signals as expected. (Incidentally, switching back and forth between Manual and Auto during the first minute delays the actual time at which the AI train is created.)
Changed in or: | |
status: | In Progress → Fix Committed |
Changed in or: | |
milestone: | none → 1.0 |
Changed in or: | |
status: | Fix Committed → Fix Released |
Hello,
can you please also provide the related service and path files?
Cannot test this without those files.
Thanks.