Elvas Tower: X2534 no signal of departure of the train. - Elvas Tower

Jump to content

Page 1 of 1
  • You cannot start a new topic
  • You cannot reply to this topic

X2534 no signal of departure of the train. Rate Topic: -----

#1 User is offline   avatrain1 

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

Posted 29 September 2014 - 01:23 PM

From version x2534 and higher can no longer hear the signal of departure of the train.

Regards,
Sergio.


#2 User is offline   Csantucci 

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

Posted 30 September 2014 - 05:45 AM

View Postavatrain1, on 29 September 2014 - 01:23 PM, said:

From version x2534 and higher can no longer hear the signal of departure of the train.

Regards,
Sergio.


Provisionally fixed in x2541. Changing WorldLocation from class to structure has consequences also within files where WorldLocation was compared to null, like Sound.cs.
Peter, pls. check if the patch is OK.

#3 User is offline   dennisat 

  • Conductor
  • Group: Status: Contributing Member
  • Posts: 474
  • Joined: 16-February 13
  • Gender:Male
  • Simulator:Open Rails & MSTS
  • Country:

Posted 30 September 2014 - 06:02 AM

View Postavatrain1, on 29 September 2014 - 01:23 PM, said:

From version x2534 and higher can no longer hear the signal of departure of the train.



I've noticed this as well. I think it's due to the definition "WorldLocation WorldLocation;" in sound.cs. I have renamed this to "WorldLocation World_Location;" and the ready to start noises are now audible again. However, although it all seems to be working, I've not done enough testing to check whether something else has now gone wrong as a result of my change.

Dennis

Behind the curve I see!! I renamed it so that there wasn't so much confusion as well as changing null to WorldLocation.None.

#4 User is online   James Ross 

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

Posted 30 September 2014 - 06:27 AM

View PostCsantucci, on 30 September 2014 - 05:45 AM, said:

Provisionally fixed in x2541. Changing WorldLocation from class to structure has consequences also within files where WorldLocation was compared to null, like Sound.cs.
Peter, pls. check if the patch is OK.


Sorry about that, and the Track Viewer breakage; the compiler spotted lots of nulls used for WorldLocation but apparently isn't so sensitive on null comparisons with value types. I'll see if I can find any other comparisons with null this evening.

#5 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,144
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 30 September 2014 - 11:45 AM

Could those changes have also caused this http://www.elvastowe...nd-of-activity/

#6 User is online   James Ross 

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

Posted 30 September 2014 - 02:20 PM

View PostJames Ross, on 30 September 2014 - 06:27 AM, said:

Sorry about that, and the Track Viewer breakage; the compiler spotted lots of nulls used for WorldLocation but apparently isn't so sensitive on null comparisons with value types. I'll see if I can find any other comparisons with null this evening.


It took a few hours, and I only found two issues (in Cameras.cs), but I think that's all the WorldLocation stuff done.

#7 User is online   James Ross 

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

Posted 30 September 2014 - 02:21 PM

View Postcopperpen, on 30 September 2014 - 11:45 AM, said:

Could those changes have also caused this http://www.elvastowe...nd-of-activity/


I don't think so, but please try out other versions to figure out when it broke.

#8 User is offline   copperpen 

  • Executive Vice President
  • Group: Status: Elite Member
  • Posts: 3,144
  • Joined: 08-August 05
  • Gender:Male
  • Simulator:MSTS & OR
  • Country:

Posted 01 October 2014 - 03:15 AM

Well, X2533 gives the normal platform activity finished, you may depart. X2534 gives the same message immediately followed by Activity Complete. The Eugene stop is the only passenger stop and is followed in the activity file by the activity complete code that includes the world location.

Page 1 of 1
  • 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