Elvas Tower: Trying to fix starting friction myself - Elvas Tower

Jump to content

  • 6 Pages +
  • « First
  • 4
  • 5
  • 6
  • You cannot start a new topic
  • You cannot reply to this topic

Trying to fix starting friction myself Any advice is appreciated here

#51 User is offline   NickonWheels 

  • Fireman
  • Group: Status: Active Member
  • Posts: 115
  • Joined: 05-December 19
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 10 February 2020 - 08:06 AM

Thanks

Testing version from January 31, but I can´t find the OpenRailsLog.txt file, only one for my other stable version. Do you think I have to delete all other ORTS installments due to overlapping?

#52 User is online   scottb613 

  • Superintendant
  • Group: Status: First Class
  • Posts: 1,866
  • Joined: 06-July 09
  • Gender:Male
  • Location:"Upstate" New York
  • Simulator:ORTS
  • Country:

Posted 10 February 2020 - 09:57 AM

Hi Nick,

I don't think so - but there is a setting to generate log files - I believe it should just dump to you desktop - are you sure it's on in the testing version ?

Regards,
Scott

#53 User is offline   NickonWheels 

  • Fireman
  • Group: Status: Active Member
  • Posts: 115
  • Joined: 05-December 19
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 10 February 2020 - 11:04 AM

Figured out how ORTS needs to be configured to use the log file. Here comes the crashy version...
Attached File  OpenRailsLog.txt (13.74K)
Number of downloads: 9

#54 User is offline   Csantucci 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 4,861
  • Joined: 31-December 11
  • Gender:Male
  • Country:

Posted 10 February 2020 - 01:29 PM

You are still building in release mode and not in debug mode, so the code line that crashes can't be seen.

#55 User is offline   NickonWheels 

  • Fireman
  • Group: Status: Active Member
  • Posts: 115
  • Joined: 05-December 19
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 11 February 2020 - 09:18 AM

View PostCsantucci, on 10 February 2020 - 01:29 PM, said:

You are still building in release mode and not in debug mode, so the code line that crashes can't be seen.


Thanks for your advise, I tried again in debug mode. The point it crashed was at line 445 of terrain.cs (second line from those below) where VS says System.Runtime.InteropServices.SEHException: "External component has thrown an exception."
averageElevation = totalElevation / vertexData.Count;
var patchVertexBuffer = new VertexBuffer(Viewer.GraphicsDevice, typeof(VertexPositionNormalTexture), vertexData.Count, BufferUsage.WriteOnly);
patchVertexBuffer.SetData(vertexData.ToArray());
return patchVertexBuffer;

Hope it´s anything helpful. As told it´s just the downloadable code without ANY changes, so other users may have the same issue as I have.

#56 User is offline   NickonWheels 

  • Fireman
  • Group: Status: Active Member
  • Posts: 115
  • Joined: 05-December 19
  • Gender:Male
  • Simulator:ORTS
  • Country:

Posted 13 February 2020 - 09:15 AM

Does a compiled edition of the downloadable code always have different behavior about what hardware is used or what does this error... I mean I can travel the same route on testing and unstable versions (also XNA) without such things to happen. Can someone maybe check this out personally or is there any other advise as I like to advance with the friction stuff. For now I´m unable to do extended test runs...

  • 6 Pages +
  • « First
  • 4
  • 5
  • 6
  • 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