Signals don't work correctly on the LGE route (X2993, LGE)

Bug #1441860 reported by Cédric GNIEWEK on 2015-04-08
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Open Rails
Undecided
Unassigned

Bug Description

The route can be downloaded here :
http://funtrain.net/fr/simulateur-de-train/microsoft-train-simulator/lignes/add-on-31/

There are problems on :
- The direction indicators (several variants : white lamps or L1/L4 indicator or L1/LGV indicator)
- Some speed indicators (some are locked to the switched on state, some are locked in the switched off state)
- Some signals stay at the green aspect after the passing of a train

I will try to find which signal configurations and scripts are concerned by these bugs.

Cédric GNIEWEK (sharpeserana) wrote :
Cédric GNIEWEK (sharpeserana) wrote :
Cédric GNIEWEK (sharpeserana) wrote :
r.roeterdink (r-roeterdink) wrote :

Can you please correct the errors in the sigscr.dat file as reported in the log file, and see if that helps?

The errors are :
STATE++ (line 181) : statement is not supported in OR, please replace by : STATE = STATE + 1

STATE = STATE = SIGASP_CLEAR_2 (line 3149) : double assignment, please remove the first "STATE ="

FLAG_IPCS = !(ROUTE_SET ()|| NEXT_INFO ==# SIGASP_STOP_AND_PROCEED|| NEXT_INFO ==# SIGASP_RESTRICTING (line 3707) : OR does not support boolean statements. You must use an IF statement to set the value for FLAG.

Another point is that there seems to be a serious mismatch between the worldfiles and the route's *.tdb file, as there is a large series of errors of track objects found in worldfiles but not in the tdb. What exactly is happening here, and how this will affect the signalling, is hard to tell but it could well mean there are other data errors as well which may lead to corruption of the signal database.

James Ross (twpol) on 2015-04-12
summary: - Signals don't work correctly on the LGE route
+ Signals don't work correctly on the LGE route (X2993, LGE)
Cédric GNIEWEK (sharpeserana) wrote :

Alright, I corrected the problems in the script and in the configuration but the problem still appears.

Cédric GNIEWEK (sharpeserana) wrote :
Cédric GNIEWEK (sharpeserana) wrote :
Cédric GNIEWEK (sharpeserana) wrote :

There is only one problem remaining since the correction of the scripts and configuration :
- Some signals stay at the green aspect after the passing of a train

Appears in the latest version. I will look at the corresponding script.

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers