Elvas Tower: OR NewYear MG - Elvas Tower

Jump to content

  • 204 Pages +
  • « First
  • 12
  • 13
  • 14
  • 15
  • 16
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

OR NewYear MG Rate Topic: ****- 4 Votes

#131 User is offline   Fablok 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 401
  • Joined: 24-June 14
  • Gender:Male
  • Location:Chrzanów (Małopolska)
  • Simulator:Open Rails
  • Country:

Posted 01 June 2019 - 09:59 AM

Works fine now :)

#132 User is offline   Csantucci 

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

Posted 01 June 2019 - 12:31 PM

Thanks for confirmation.

#133 User is offline   Csantucci 

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

Posted 06 June 2019 - 07:48 AM

View Postrailguy, on 13 February 2019 - 02:01 PM, said:

I've had the same problem with the more recent versions of Monogame. Here is the message that I get:

See the end of this message for details on invoking
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
SharpDX.SharpDXException: HRESULT: [0x887A0001], Module: [SharpDX.DXGI], ApiCode: [DXGI_ERROR_INVALID_CALL/InvalidCall], Message: Unknown
at SharpDX.Result.CheckError()
...
When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.


Pressing "continue" in this message box just brings up TrackViewer with a black box. I hope this info helps. Thanks--by the way, Monogame is pretty much great otherwise.

Hi railguy,
were you able to solve this problem?

#134 User is offline   avatrain1 

  • Apprentice
  • Group: Status: Dispatcher
  • Posts: 23
  • Joined: 17-August 14
  • Gender:Male
  • Simulator:MSTS and OR
  • Country:

Posted 07 June 2019 - 02:20 AM

Hi Carlo, I noticed that with the new signal script parser, a new error is reported in the log file when the sigsrc.dat file is read. The error detected is the following:
Warning: sigscr-file: Invalid operator token # in line number 42

This occurs when the following operators are read:
/# =
== #
!= #
<= #
>= #
< #
> #
# =
/ #
which should be:
/#=
==#
!=#
<=#
>=#
<#
>#
#=
/#

In practice, if a space is found before the # character, the error is reported, so i don't know if the parser then correctly translates the operator with the possible malfunctioning of the signaling or is able to correctly translate the operator.

In many routes I use, in the sigsrc.dat files there are operators written with the space before the # character.
It is possible to arrange the parser so that it translates the operator correctly.

I thank you for your interest and I am grateful for your the excellent work you are doing.

Greetings,
Sergio.


#135 User is offline   ebnertra000 

  • Superintendant
  • Group: Status: Elite Member
  • Posts: 1,234
  • Joined: 27-February 17
  • Gender:Male
  • Location:East-Central Minnesota
  • Simulator:OR/TSRE
  • Country:

Posted 07 June 2019 - 03:39 AM

I'm pretty sure that error is because there shouldn't be a space in an operator. That's a faulty script writing problem, not an OR problem

#136 User is offline   Csantucci 

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

Posted 07 June 2019 - 12:42 PM

Hi Sergio,
I already noticed those warnings and asked the code author, which told me that such lines are interpreted correctly, and the warnings point only out a syntax error in the signal script file.

#137 User is offline   roeter 

  • Vice President
  • Group: Status: Elite Member
  • Posts: 2,426
  • Joined: 25-October 11
  • Gender:Male
  • Country:

Posted 07 June 2019 - 01:38 PM

The old parser is more lenient when it comes to the use of white spaces. It processes the lines as if the white spaces were not there, so the code is processed correctly. It is kind of auto-correcting in that sense.
A very important question here (and in quite a few other cases): are such changes really to the benefit of the users?
Is the new code intended to improve OR, or to make more stringent tests on what the users are creating just to get fully perfect input?
If the more lenient old processing could lead to errors or other problems - OK, then there is a case for more stringent processing.
But in this case it does not matter and such script files have been working correctly for years. It may not be fully syntacticly correct, but does that matter? To suddenly start reporting this as errors is only frustrating users.

Regards,
Rob Roeterdink

#138 User is offline   Genma Saotome 

  • Owner Emeritus and Admin
  • PipPipPipPipPipPipPipPipPipPipPipPipPip
  • Group: ET Admin
  • Posts: 15,356
  • Joined: 11-January 04
  • Gender:Male
  • Location:United States
  • Simulator:Open Rails
  • Country:

Posted 07 June 2019 - 10:59 PM

Setting aside the specific for the signal script, I'll echo Rob's concern about tightening things up for the sake of tightening. I worked every day for a week to discover white space wasn't allowed before a unit of measure. It's been allowed everywhere else. I'm trying to get some .wags to Peter for his testing... I've wasted two weeks trying to figure out why the software doesn't recognize the presence of an emergency reservoir... to the point of substituting rows of data from a stock MSTS file to no avail. Something changed but I have no idea what it is. And then there is that stupid warning about a missing texture that was implemented by Voldemort when we already had a perfectly good message for finding a diffuse texture.

Please don't change things that don't need to be changed that will cause our files to be broken... or if you really want to, then you really should be obliged to code a utility that will update our files to conform to the new rule.

#139 User is offline   cjakeman 

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

Posted 08 June 2019 - 12:30 AM

View PostGenma Saotome, on 07 June 2019 - 10:59 PM, said:

Please don't change things that don't need to be changed that will cause our files to be broken... or if you really want to, then you really should be obliged to code a utility that will update our files to conform to the new rule.

Agree with this principle 100%.

#140 User is offline   Icik 

  • Conductor
  • Group: Status: Active Member
  • Posts: 308
  • Joined: 19-April 15
  • Simulator:Open Rails
  • Country:

Posted 08 June 2019 - 05:36 AM

Hi Carlo,
I downloaded your latest update OR MG, where the signal management algorithm was changed. Now, OR behaves absolutely strange. Every track is set free and it looks like the script for the signals is in conflict.

What has to be set in sigscr.dat to make it work properly again?

Attached File(s)



  • 204 Pages +
  • « First
  • 12
  • 13
  • 14
  • 15
  • 16
  • Last »
  • You cannot start a new topic
  • You cannot reply to this topic

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