scedules and locations in modplan

Bug #377505 reported by jmfischer
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rocrail
Fix Released
Medium
Rocrail

Bug Description

1. if there are locations defined in the single module files of a modplan this locations will be appended(!) after server stop in rt.xml so this file is growing and growing.

2. if you define a new scedule in a modplan this scedule will as well end up in rt.xml but a new attempt to start the server will lead to a seg fault. If you delete the sclist in rt.xml the server comes up but you have (of course) no scedules.

Revision history for this message
Rocrail (r.j.versluis) wrote :

Locations and schedules are no longer saved in the rt.xml; routes only.
Rev. 430

Changed in rocrail:
assignee: nobody → Rocrail (r.j.versluis)
status: New → Fix Committed
Rocrail (r.j.versluis)
Changed in rocrail:
status: Fix Committed → Fix Released
Revision history for this message
jmfischer (jmfischer) wrote :

So where should the scedules be saved? They have to be saved in the rt.xml or another masterplan file, because there might be scedules between different modules.

Rocrail (r.j.versluis)
Changed in rocrail:
status: Fix Released → Fix Committed
Revision history for this message
Rocrail (r.j.versluis) wrote :

I need more time to think about and fix this.

Revision history for this message
Rocrail (r.j.versluis) wrote :

In rev. 434 the sigseg is fix when the route file contains schedules.

So the idea is that locations are module bounded, and schedules belong to arrangements.

Revision history for this message
jmfischer (jmfischer) wrote :

yep this is the same idea I had. The sigseg is fixed. But the scedules are not working (yet). It says: no destionation found for XXX. (Just for the files).

Revision history for this message
jmfischer (jmfischer) wrote :

yep this is the same idea I had. The sigseg is fixed. But the scedules are not working (yet). It says: no destination found for XXX. (Just for the files).

Revision history for this message
Rocrail (r.j.versluis) wrote :

Why commenting twice the same? ;-)

The schedules are working and are independent from modular or single layout plan.
Just check the functionality with a single layout.

Revision history for this message
jmfischer (jmfischer) wrote :

> Why commenting twice the same? ;-)

:-)

> The schedules are working and are independent from modular or single layout plan.
Just check the functionality with a single layout.

Yeah, then somehow the whole schedule thing is mixed up.

Actually what I want is:

- to tell a train to go up to the end station and stop there if this train has no "control cab coach" (free from leo ;) [Steuerwagen] and I want no specific track for the destination I just want the train to go idle in Zernez.

- if the train is a commuter train and it has a "control cab coach" this train can do what it wants, drive around the layout as it wants.

you know what I mean?

Revision history for this message
Rocrail (r.j.versluis) wrote :

The schedules are tested very well and are not mixed up.
If you are missing some features you are welcome to add it to the wish list.
This bug report concerns about saving schedules & locations in module mode.

Rocrail (r.j.versluis)
Changed in rocrail:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.