Open Rails - crash when passing thru level crossing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • juk123
    New Member
    • May 2013
    • 5

    #1

    Open Rails - crash when passing thru level crossing

    I need urgent help

    When i play a route called Bukowiecka Kolej Dojazdowa http://www.bkd.trainsim.pl/index1.html and go through a level crossing the game crashes with the following error



    It seems to be sound related, i reinstalled sound pack required by the route, but with no result
    Here is the log part related to the incident (i could not enclose the txt file as it was too big)


    Error: System.ArgumentOutOfRangeException: Indeks jest spoza zakresu. Musi mieć wartość nieujemną i mniejszą niż rozmiar kolekcji.
    Nazwa parametru: index
    w System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n(ExceptionArgument argument, ExceptionResource resource)
    w System.ThrowHelper.ThrowArgumentOutOfRangeExceptio n()
    w System.Collections.Generic.List`1.get_Item(Int32 index)
    w Orts.Viewer3D.TrackSoundSource.UpdateTType() w e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound .cs:wiersz 275
    w Orts.Viewer3D.TrackSoundSource.Update() w e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Sound .cs:wiersz 302
    w Orts.Viewer3D.Processes.SoundProcess.Sound() w e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\SoundProcess.cs:wiersz 132
    w Orts.Viewer3D.Processes.SoundProcess.DoSound() w e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\SoundProcess.cs:wiersz 116
    w Orts.Viewer3D.Processes.SoundProcess.SoundThread() w e:\Documents\Coding\Jenkins\jobs\Open Rails Stable\workspace\Source\RunActivity\Viewer3D\Proce sses\SoundProcess.cs:wiersz 100
    w System.Threading.ThreadHelper.ThreadStart_Context( Object state)
    w System.Threading.ExecutionContext.Run(ExecutionCon text executionContext, ContextCallback callback, Object state)
    w System.Threading.ThreadHelper.ThreadStart()


    Information: Game.PopState()
  • csantucci
    Senior Member
    • Nov 1999
    • 856
    • Torino, Italy.

    #2
    This occurs when there is an error in route files related to sound:
    - either a .ws file or the .tdb route file refer to a track sound number that is not present in ttype.dat
    - or a .ws file refers to a track item that is not present in the .tdb file of the route.
    Actual experimental versions are protected against the second error. Try running the route again with the actual experimental version.
    sigpic

    Comment

    • juk123
      New Member
      • May 2013
      • 5

      #3
      I tried to run it with X3845 downloaded from OR site and nothing, still the same error. Strange, becausem i am not the first to run this route under OR and it worked for other people

      Comment

      • csantucci
        Senior Member
        • Nov 1999
        • 856
        • Torino, Italy.

        #4
        Have you modified ttype.dat for this route?
        sigpic

        Comment

        Working...