Hello,
Only recently have I upgraded to SP3 (build 111951). Immediately I experienced problems with scripts (my own) that work well under SP2. For my railcars, I have scripts for both the railcar itself and for the cabin (controls).
As for the cabin script: it seems that the routine "UserSetControl" is called repeatedly and continuously, without even touching a control. Touching a control works as it should, but the repetition goes on and on. I can see it since the script outputs lines to the display. It seems that there is a continuous polling of the controls of type button and type switch, which I conclude from the print output of the GetName() routine of the control class. In SP2, the routine is only called once or a few times, depending on the specific control that is touched.
In some of my railcars, distorted sounds start when I enter the cab (cab camera). When I get out of the cab, the howling stops. This also seems to be related to the repetitive running of the aforementioned routine: an endless (i.e. the maximum) number of sound threads is apparently started when the routine starts running in cab view. The routine contains lines that start a sound; removing those lines removed the sound. These sounds should only start when a specific "start" button is pushed. It works like a charm in SP2.
Anyone else having this phenomenon or a suggestion about the cause?
Regards,
Paul
Only recently have I upgraded to SP3 (build 111951). Immediately I experienced problems with scripts (my own) that work well under SP2. For my railcars, I have scripts for both the railcar itself and for the cabin (controls).
As for the cabin script: it seems that the routine "UserSetControl" is called repeatedly and continuously, without even touching a control. Touching a control works as it should, but the repetition goes on and on. I can see it since the script outputs lines to the display. It seems that there is a continuous polling of the controls of type button and type switch, which I conclude from the print output of the GetName() routine of the control class. In SP2, the routine is only called once or a few times, depending on the specific control that is touched.
In some of my railcars, distorted sounds start when I enter the cab (cab camera). When I get out of the cab, the howling stops. This also seems to be related to the repetitive running of the aforementioned routine: an endless (i.e. the maximum) number of sound threads is apparently started when the routine starts running in cab view. The routine contains lines that start a sound; removing those lines removed the sound. These sounds should only start when a specific "start" button is pushed. It works like a charm in SP2.
Anyone else having this phenomenon or a suggestion about the cause?
Regards,
Paul