Elvas Tower: unable to resume valid save in X2120 - Elvas Tower

Jump to content

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

unable to resume valid save in X2120 Rate Topic: -----

#1 User is offline   Gary54 

  • Fireman
  • Group: Status: Inactive
  • Posts: 134
  • Joined: 08-May 13
  • Simulator:OR
  • Country:

Posted 25 March 2014 - 01:58 PM

I have been out of the loop for a few weeks and decided to see how far OR has progressed over that time. The gains have been outstanding. However, I decided to resume a valid save that I had generated using X2120. Unfortunately, I am unable to resume anything that I had saved. The following is the error statement that pops up:

System.ArgumentOutOfRangeException: fieldOfView takes a value between 0 and Pi (180 degrees) in radians.
Parameter name: fieldOfView

I should point out that I was able to resume valid saves using X2071 (an indication of how long I've been away from OR).

Thanks for any help on this. I can file a bug report if needed.

Gary

#2 User is offline   cjakeman 

  • Vice President
  • PipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 2,857
  • Joined: 03-May 11
  • Gender:Male
  • Location:Peterborough, UK
  • Simulator:Open Rails
  • Country:

Posted 25 March 2014 - 02:33 PM

Hi Gary,

View PostGary54, on 25 March 2014 - 01:58 PM, said:

I should point out that I was able to resume valid saves using X2071 (an indication of how long I've been away from OR).

I am puzzled by this.

When you upgrade to the next version, all saves should be marked as invalid, so how did you manage to resume one?

#3 User is offline   Gary54 

  • Fireman
  • Group: Status: Inactive
  • Posts: 134
  • Joined: 08-May 13
  • Simulator:OR
  • Country:

Posted 25 March 2014 - 02:55 PM

Hi Chris,

I generally keep the most recent versions that I have used available by simply renaming the "open rails" file name (z 2071, for example). Then I install the most recent version of OR (X2120). After failing to resume the saved games in X2120, I deactivated X2120 by renaming its OR file and reactivated X2071. Of course, I deleted the now invalid x2120 saves, started an activity in X2071, saved it, and was then able resume running it without problem. I know, it sounds a bit confusing but it works.

Gary

#4 User is offline   Gary54 

  • Fireman
  • Group: Status: Inactive
  • Posts: 134
  • Joined: 08-May 13
  • Simulator:OR
  • Country:

Posted 25 March 2014 - 03:17 PM

I just noticed that Reply #4 under the topic "ORX 2120 Crash" mentions a "System.ArgumentOutOfRangeException: fieldOfView" error that sounds much like the error that I have documented.

Gary

#5 User is offline   jpmackay 

  • Conductor
  • Group: Status: R.I.P. or just Retired
  • Posts: 408
  • Joined: 11-March 08
  • Gender:Male
  • Country:

Posted 25 March 2014 - 09:07 PM

That's what I did with mine to go back to previous download -- X2118 and it's working for me too.

John

#6 User is offline   Csantucci 

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

Posted 26 March 2014 - 12:44 AM

The bug is there, I have just tested it. If you start the game with rel.2120, fiddle a bit with FOV (mouse wheel) and changing cameras, save, and restart with same version, you get the bug. And someone has already posted a bug report in Launchpad.

#7 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,488
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 26 March 2014 - 01:00 AM

I'd guess the problem is something to do with the order of events when resuming, so the FieldOfView field is not initialised when the first ScreenChange() occurs. I probably won't have time until Friday to fix it, so if anyone else wants a go they're welcome. :search:

#8 User is offline   Csantucci 

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

Posted 26 March 2014 - 11:54 AM

That's what happens when you save as a float and try to read it as an int... ;)
Here's the patch:
Attached File  Cameras.cs.patch.zip (349bytes)
Number of downloads: 327
As I am not enabled to commit, I kindly ask someone enabled to do it.

James, I hope that as a reward you remove (or at least move to the top right of the screen and strongly reduce in size) the pop-up showing the FOV value...

#9 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,488
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 27 March 2014 - 03:15 AM

View PostCsantucci, on 26 March 2014 - 11:54 AM, said:

That's what happens when you save as a float and try to read it as an int... ;)


Oops, that'll teach me to change types without a thorough check. :unknw:

I should be able to commit this tonight if nobody beats me; I'll look at improving the popup too.

#10 User is offline   James Ross 

  • Open Rails Developer
  • Group: Status: Elite Member
  • Posts: 5,488
  • Joined: 30-June 10
  • Gender:Not Telling
  • Simulator:Open Rails
  • Country:

Posted 27 March 2014 - 10:04 AM

Should be fixed in X2123. I've also tampered with the notice window, so feedback on that's good too. :unknw:

  • 2 Pages +
  • 1
  • 2
  • 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