SMS error message

The SMS sound system in MSTS 1 has been quite well understood for some time, but there are still new things being learned as well as a wealth of information about what's already known that you can learn here.

Moderator: Moderators

Locked
User avatar
seern1
Been on the forums for a while
Posts: 165
Joined: Fri May 07, 2004 12:49 am
Location: Virginia, USA

SMS error message

Post by seern1 »

I have not posted here on the sound forum before, but it sounds like the right place to find an answer to the error message I am getting.

"SMS error: In reading all streams--too many streams"

The message then goes on to define the specific sms file and the message ends with "line 100". I know from the pesky error with correct number of '(' that this should point to the location of the error but I am lost.

Thanks for any help that may be forth coming.
Activities are what makes MSTS run

Sharon Evans
Glen Allen, Virginia
BobLatimer
Very Active Forum Member
Posts: 2765
Joined: Mon Jan 07, 2002 12:00 am
Location: Auckland, New Zealand

Post by BobLatimer »

Hi Sharon.

What sound set is it? I've run into this but I can't remember which sound set. The problem was a couple of missing ')' in the .sms file which were not easy to track down. I used UltraEdit to match brackets and eventually figured out which ones were missing - at least I got the error message to go away.

Regards,

Bob.
User avatar
jbilton
Very Active Forum Member
Posts: 19267
Joined: Fri Oct 10, 2003 12:08 pm
Location: At home ..waiting to go to Work.
Contact:

Post by jbilton »

Hi Sharon
Its long winded... but if its line 100 it will be there.
Count from the top....including space(empty) lines.
100 is not too bad ....550 odd is a real pain....but sometimes I've had too.
Cheers
Jon

PS
It might be as easy as checking how many streams are specified agaisnt how many are actually listed....they should match of course.
------------------------Supporting whats good in the British community------------------------
Image
User avatar
ianmacmillan
Very Active Forum Member
Posts: 9588
Joined: Fri Feb 28, 2003 12:39 pm
Location: N. Lanarkshire Scotland

Post by ianmacmillan »

Context does line numbers and brackets and can be tailored to suit MSTS.

http://steam4me.railpage.org.au/trainsi ... ntext.html


The line number quoted is not always the one with the fault.
If it is a missing braket it will be the line that confuses MSTS. Often beyond the end of the file and into the next one.
[album 80489 WWCo.jpg]
If it's got buffers it's Chain.
User avatar
seern1
Been on the forums for a while
Posts: 165
Joined: Fri May 07, 2004 12:49 am
Location: Virginia, USA

Post by seern1 »

Ian,

Thanks, this looks like just what I need.

Sharon
Activities are what makes MSTS run

Sharon Evans
Glen Allen, Virginia
purenation628
Getting the hang of things now
Posts: 56
Joined: Wed Dec 01, 2004 12:18 am
Location: Merseyside

Post by purenation628 »

Open it with notepad, turn off word wrap then go to view > status bar and it shows the line number at the bottom.

The too many streams error means that there are more streams in the sms file than the number specified.

You can increase the number of streams in the problem file by going near the top of the problem sms file and changing the number next to 'Streams'.

ScalabiltyGroup( 1
Activation ( ExternalCam () PassengerCam () Distance (1000) )
Deactivation ( CabCam () Distance (1000) )
Volume(1.0)
Streams ( 10
User avatar
seern1
Been on the forums for a while
Posts: 165
Joined: Fri May 07, 2004 12:49 am
Location: Virginia, USA

Post by seern1 »

That is exactly what it turned out to be. the total number of streams was listed as 3, but there were 6. Quick change of the number solved the problem.

Thanks to all who helped me solve this problem.
Activities are what makes MSTS run

Sharon Evans
Glen Allen, Virginia
Locked

Return to “[MSTS1] Sounds”