Elvas Tower: MG71 crash Index was out of range. Must be non-negative and less than the size of the collection - Elvas Tower

Jump to content

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

MG71 crash Index was out of range. Must be non-negative and less than the size of the collection Rate Topic: -----

#1 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,774
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 12 August 2020 - 11:26 PM

Hi Carlo,

First run of mg71 ( runs fine in mg70 )
Got this first:-

Warning: Error reading signal script - f:\ddrive\msts\train Simulator\ROUTES\marias31\sigscr.dat : System.NotImplementedException: Nested function call in parameter (BLOCK_STATE ()) not supported at line 64

Attached File(s)



#2 User is offline   perpetualKid 

  • Fireman
  • Group: Status: Active Member
  • Posts: 190
  • Joined: 10-June 18
  • Gender:Male
  • Simulator:OR
  • Country:

Posted 13 August 2020 - 12:14 AM

 engmod, on 12 August 2020 - 11:26 PM, said:

Hi Carlo,

First run of mg71 ( runs fine in mg70 )
Got this first:-

Warning: Error reading signal script - f:\ddrive\msts\train Simulator\ROUTES\marias31\sigscr.dat : System.NotImplementedException: Nested function call in parameter (BLOCK_STATE ()) not supported at line 64


I think the two events are unrelated, the first message will have been there before (unless the signalscript has been changed recently).
As the message indicates, function calls are not allowed as parameters, this is not implemented. The parser in MG versions outputs the above message, whereas in official OR this is just ignored...

#3 User is offline   Csantucci 

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

Posted 13 August 2020 - 07:02 AM

This crash occurs in the CheckDistance property, that has been recently modified. I sent a PM to the author of the modification.

As perpetualKid says, the warning in the signal script processing seems not to be related to the crash.

#4 User is offline   Serana 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 489
  • Joined: 21-February 13
  • Gender:Male
  • Location:St Cyr l'Ecole (France)
  • Simulator:Open Rails
  • Country:

Posted 13 August 2020 - 09:27 AM

Hi,

I'll take a look at it.
I just need to know where to download the route/activity/rolling stock.

From what I can see, it is indeed linked indirectly to CheckDistance, because it is the ScanRoute function that crashes.

#5 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,774
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 13 August 2020 - 02:47 PM

Marias3.1 and other items are available at trainsim.com

#6 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,774
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 13 August 2020 - 09:00 PM

Or alternatively, what American routes do you have?
I may have one.

#7 User is offline   Serana 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 489
  • Joined: 21-February 13
  • Gender:Male
  • Location:St Cyr l'Ecole (France)
  • Simulator:Open Rails
  • Country:

Posted 15 August 2020 - 07:10 PM

Basically, none because I usually only use French routes..

#8 User is offline   Csantucci 

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

Posted 16 August 2020 - 06:58 AM

Derek,
waiting for a cleaner solution by Serana, in OR NewYear MG rev. 72 I have introduced a temporary patch that could solve your crash.

#9 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,774
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 16 August 2020 - 06:45 PM

I will give it a try, thanks

#10 User is offline   engmod 

  • Open Rails Developer
  • PipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 1,774
  • Joined: 26-February 08
  • Gender:Male
  • Location:Eltham, Victoria, Australia
  • Simulator:ORNYMG
  • Country:

Posted 17 August 2020 - 03:57 AM

Works for me, thanks Carlos.

  • 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