Elvas Tower: PROBLEM WHEN LOADING SKODA_380 - Elvas Tower

Jump to content

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

PROBLEM WHEN LOADING SKODA_380 Rate Topic: -----

#11 User is offline   alexmorph3us 

  • Hostler
  • Group: Status: Active Member
  • Posts: 62
  • Joined: 01-February 14
  • Simulator:MSTS
  • Country:

Posted 11 April 2018 - 04:59 AM

That's the one. But I wonder what is causing the error?

#12 User is offline   alexmorph3us 

  • Hostler
  • Group: Status: Active Member
  • Posts: 62
  • Joined: 01-February 14
  • Simulator:MSTS
  • Country:

Posted 11 April 2018 - 05:01 AM

I've tried different routes and also lowering my settings, but still getting the crash. I'm hoping the log file I've provided might help cause I have no idea...


Could this be an issue with XNA Framework?

#13 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 11 April 2018 - 05:13 AM

No, the error is in the brakes part. Have you changed something in the .eng file?

#14 User is offline   alexmorph3us 

  • Hostler
  • Group: Status: Active Member
  • Posts: 62
  • Joined: 01-February 14
  • Simulator:MSTS
  • Country:

Posted 11 April 2018 - 05:24 AM

The only change I've made was that I've added : ORTSDynamicBlendingForceMatch ( 1 ), BrakesEngineControllers( "Independent, Train, Dynamic, Blended" ) and Combined_Control( 0 1 0.5 0.5 throttle train ) because these locomotives share the same traction and braking together with dynamic on the same controller ( throttle ).

Other than that, everything else was kept the same. No further changes were made. As I recall I did some extensive testing back then ( couple of years ago ) and it was fine untill now with the latest builds...

#15 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 11 April 2018 - 05:40 AM

Try to use the original .eng file. If nothing changes, if you want, attach here the .eng file you are using. Also checking since what OR release you get the crash is useful. You have a list of OR releases here https://james-ross.c...jects/or/builds .

#16 User is offline   alexmorph3us 

  • Hostler
  • Group: Status: Active Member
  • Posts: 62
  • Joined: 01-February 14
  • Simulator:MSTS
  • Country:

Posted 11 April 2018 - 05:45 AM

 Csantucci, on 11 April 2018 - 05:40 AM, said:

Try to use the original .eng file. If nothing changes, if you want, attach here the .eng file you are using. Also checking since what OR release you get the crash is useful. You have a list of OR releases here https://james-ross.c...jects/or/builds .


I will try to send you the exact thing I'm using right now

#17 User is offline   alexmorph3us 

  • Hostler
  • Group: Status: Active Member
  • Posts: 62
  • Joined: 01-February 14
  • Simulator:MSTS
  • Country:

Posted 11 April 2018 - 05:47 AM

There you go:

My link


Back then. when I originally made the changes was in 2015-2016 so I'm guessing with X3400 builds was working fine. But that was a long time ago. Something must have been changed in OpenRails behaviour since then.

#18 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 11 April 2018 - 06:13 AM

OK, I get the crash with this one. I'll check now.

#19 User is offline   alexmorph3us 

  • Hostler
  • Group: Status: Active Member
  • Posts: 62
  • Joined: 01-February 14
  • Simulator:MSTS
  • Country:

Posted 11 April 2018 - 06:15 AM

Ok.Thank you so much. Maybe you can look into it :)

#20 User is offline   Csantucci 

  • Member, Board of Directors
  • Group: Status: Elite Member
  • Posts: 7,000
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 11 April 2018 - 07:09 AM

OR does not like this
                Brake_Train ( 0 1 0.05 0
			NumNotches ( 0
		        )
		)


At least one notch should be present for Brake_Train to avoid the crash.
The crash occurs also with stable release 1.2. It does not occur with stable release 1.1. In the meantime this line has been added in the code
                                if (lead.TrainBrakeController.TrainBrakeControllerState != ControllerState.Lap)

which leads to crash if there are no train brake controller states. The check has been introduced to manage leaks, that are considered to occur in every train brake controller state, except state Lap.
In my Trains folder I have found only another family of trainsets that have such problem.
Is it acceptable to you to add a dummy state, like
                Brake_Train ( 0 1 0.05 0
		NumNotches ( 1
				Notch ( 0 1 Dummy )
		        )
		)

?
Maybe I'll consider inserting a simple protection in the code, to avoid the crash; I wonder however if it makes sense to protect the code from such a particular case.

  • 3 Pages +
  • 1
  • 2
  • 3
  • You cannot start a new topic
  • You cannot reply to this topic

1 User(s) are reading this topic
0 members, 1 guests, 0 anonymous users