Open Rails loading error Error: System.ArgumentException:
#11 Inactive_helping son_*
Posted 25 May 2012 - 02:16 AM
Loading the default routes in OR works! (Even with the trains from the Czech route) In MSTS I can't even try - the error is in the first loading during startup.
#12
Posted 04 June 2012 - 01:49 PM
If you have access to the newest version of the ORTS, you should see this messsage (or similar). Before rev. 1004 this message doesn't appear (I will report the issue soon, James :D )
Error: System.IO.InvalidDataException: {TileX:-5483 TileZ:14794 X:584,074 Y:0 Z:-649,124} failed to initialize Traveller at track node 1. at ORTS.Traveller..ctor(TSectionDatFile tSectionDat, TrackNode[] trackNodes, TrackNode startTrackNode, Int32 tileX, Int32 tileZ, Single x, Single z) at ORTS.Traveller..ctor(TSectionDatFile tSectionDat, TrackNode[] trackNodes, TrackNode startTrackNode, Int32 tileX, Int32 tileZ, Single x, Single z, TravellerDirection direction) at ORTS.Signals.AddSignal(Int32 trackNode, Int32 nodeIndx, SignalItem sigItem, Int32 prevSignal, TrItem[] TrItems, TrackNode[] trackNodes, Int32 TDBRef, TSectionDatFile tsectiondat, TDBFile tdbfile) at ORTS.Signals.ScanSection(TrItem[] TrItems, TrackNode[] trackNodes, Int32 index, TSectionDatFile tsectiondat, TDBFile tdbfile) at ORTS.Signals.BuildSignalList(TrItem[] TrItems, TrackNode[] trackNodes, TSectionDatFile tsectiondat, TDBFile tdbfile) at ORTS.Signals..ctor(Simulator simulator, SIGCFGFile sigcfg) at ORTS.Simulator.Start() at ORTS.Program.<>c__DisplayClass8.<Start>b__7() at ORTS.Program.Start(UserSettings settings, String[] args) at ORTS.ORTraceListener.TraceEventInternal(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args) at ORTS.ORTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args) at System.Diagnostics.TraceInternal.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args) at System.Diagnostics.Trace.TraceError(String format, Object[] args) at ORTS.ORTraceListener.WriteLine(Object o) at System.Diagnostics.TraceInternal.WriteLine(Object value) at System.Diagnostics.Trace.WriteLine(Object value) at ORTS.Program.Start(UserSettings settings, String[] args) at ORTS.Program.Main(String[] args)
#13
Posted 05 June 2012 - 01:27 AM
Matej, you may be able to get the route to load by increasing 'const float InitErrorMargin' in the Traveller a bit, though if it needs increasing too much we might need a different strategy.
#14
Posted 05 June 2012 - 11:41 AM
#15
Posted 05 June 2012 - 11:44 AM
#16
Posted 05 June 2012 - 01:08 PM
longiron, on 05 June 2012 - 11:44 AM, said:
It's the distance from the track section that the code allows X/Y/Z positions to be and still accept them (when matching X/Y/Z information to locations on the track database) - this includes being before the beginning and after the end, as well as being off to the sides. I'm a bit unhappy with 1.0f, that seems quite large considering the points should be on the track sections; does 0.1f work? Higher values can also mean it can get connected to the wrong section of track if two are close together. It really shouldn't be configurable IMHO.
#17
Posted 18 July 2012 - 12:23 PM
Any suggestions?
Thanks,
Matej
Error: System.IO.InvalidDataException: {TileX:-5483 TileZ:14794 X:584,074 Y:0 Z:-649,124} failed to initialize Traveller at track node 1. at ORTS.Traveller..ctor(TSectionDatFile tSectionDat, TrackNode[] trackNodes, TrackNode startTrackNode, Int32 tileX, Int32 tileZ, Single x, Single z) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Simulator\Traveller.cs:line 212 at ORTS.Traveller..ctor(TSectionDatFile tSectionDat, TrackNode[] trackNodes, TrackNode startTrackNode, Int32 tileX, Int32 tileZ, Single x, Single z, TravellerDirection direction) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Simulator\Traveller.cs:line 226 at ORTS.Signals.AddSignal(Int32 trackNode, Int32 nodeIndx, SignalItem sigItem, Int32 prevSignal, TrItem[] TrItems, TrackNode[] trackNodes, Int32 TDBRef, TSectionDatFile tsectiondat, TDBFile tdbfile) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Signals\Signals.cs:line 633 at ORTS.Signals.ScanSection(TrItem[] TrItems, TrackNode[] trackNodes, Int32 index, TSectionDatFile tsectiondat, TDBFile tdbfile) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Signals\Signals.cs:line 583 at ORTS.Signals.BuildSignalList(TrItem[] TrItems, TrackNode[] trackNodes, TSectionDatFile tsectiondat, TDBFile tdbfile) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Signals\Signals.cs:line 366 at ORTS.Signals..ctor(Simulator simulator, SIGCFGFile sigcfg) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Signals\Signals.cs:line 74 at ORTS.Simulator.Start() in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Simulator\Simulator.cs:line 182 at ORTS.Program.<>c__DisplayClass8.<Start>b__7() in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\_Main.cs:line 132 at ORTS.Program.Start(UserSettings settings, String[] args) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\_Main.cs:line 168 at ORTS.ORTraceListener.TraceEventInternal(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Common\ErrorLogger.cs:line 145 at ORTS.ORTraceListener.TraceEvent(TraceEventCache eventCache, String source, TraceEventType eventType, Int32 id, String format, Object[] args) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Common\ErrorLogger.cs:line 105 at System.Diagnostics.TraceInternal.TraceEvent(TraceEventType eventType, Int32 id, String format, Object[] args) at System.Diagnostics.Trace.TraceError(String format, Object[] args) at ORTS.ORTraceListener.WriteLine(Object o) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\Common\ErrorLogger.cs:line 175 at System.Diagnostics.TraceInternal.WriteLine(Object value) at System.Diagnostics.Trace.WriteLine(Object value) at ORTS.Program.Start(UserSettings settings, String[] args) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\_Main.cs:line 172 at ORTS.Program.Main(String[] args) in c:\Users\pacha\Práce\Projekty\Simulator\ORTS\trunk\Source\RunActivity\_Main.cs:line 98
#18
Posted 18 July 2012 - 12:30 PM
Matej Pacha, on 18 July 2012 - 12:23 PM, said:
Any suggestions?
0.5 is quite a lot of error (0.5 meters) to be dealing with, but if it's enough to fix all of the routes you have I'm not totally against it. It would be nice to actually see one of these in the debugger, of course, but that seems impractical for now.
You can commit a change of up to 1.0f, as necessary, with my blessing for the release.
#19
Posted 18 July 2012 - 01:42 PM
Matej
#20
Posted 26 September 2012 - 01:23 AM