Error: The tag 'consists' is not permitted within this container

gremlin1812

New member
G’Day All, I have some scenarios which have the following error in TRS06:-
Error: The tag 'consists' is not permitted within this container. (Container type 'activity')

asset-filename "Clear_Lake_Revival"
scriptlibrary "Clear_Lake_Revival"
scriptclass "MyClear_Lake_Revival"
trainz-build 2.4
kuid <kuid2:94112:1001004:4>
obsolete-table {
0 <kuid:94112:1001004>
}
consists {
ws_shay {
0 {
vehicle <kuid:86661:12>
facing 1
}
1 {
vehicle <kuid:86661:15112>
facing 1
}
}Can anyone give some guidance with this error please.
Regards
Barrie
 
It looks to me that you are missing a curly bracket:

consists {
ws_shay {
0 {
vehicle <kuid:86661:12>
facing 1
}
1 {
vehicle <kuid:86661:15112>
facing 1
}
}
} <------ this one

Bill
 
G'Day Bill thanks for the reply, silly me I only put a part of the config in, the whole thing is:-:o


asset-filename "Clear_Lake_Revival"
scriptlibrary "Clear_Lake_Revival"
scriptclass "MyClear_Lake_Revival"
trainz-build 2.4
kuid <kuid2:94112:1001004:4>
obsolete-table {
0 <kuid:94112:1001004>
}
consists {
ws_shay {
0 {
vehicle <kuid:86661:12>
facing 1
}
1 {
vehicle <kuid:86661:15112>
facing 1
}
}
cl_shay {
0 {
vehicle <kuid:43955:2>
facing 1
}
}
cl_donkey {
0 {
vehicle <kuid:44700:15021>
facing 1
}
1 {
vehicle <kuid:86661:15003>
facing 1
}
}
cl_skels {
0 {
vehicle <kuid:44700:15020>
facing 1
}
1 {
vehicle <kuid:44700:15020>
facing 1
}
2 {
vehicle <kuid:44700:15020>
facing 1
}
3 {
vehicle <kuid:44700:15020>
facing 1
}
}
cl_flatcab {
0 {
vehicle <kuid:86661:15037>
facing 0
}
1 {
vehicle <kuid:86661:15013>
facing 0
}
}
cl_speedy {
0 {
vehicle <kuid:86661:10>
facing 1
}
1 {
vehicle <kuid:44700:15027>
facing 1
}
2 {
vehicle <kuid:67261:15008>
facing 1
}
3 {
vehicle <kuid:86661:15037>
facing 1
}
}
cl_mixed {
0 {
vehicle <kuid:86661:15003>
facing 1
}
1 {
vehicle <kuid:86661:15002>
facing 1
}
2 {
vehicle <kuid:86661:15001>
facing 1
}
3 {
vehicle <kuid:44700:15025>
facing 1
}
4 {
vehicle <kuid:44700:15018>
facing 0
}
}
_lilshay2 {
0 {
vehicle <kuid:44700:15053>
facing 1
}
1 {
vehicle <kuid:44700:15015>
facing 1
}
2 {
vehicle <kuid:44700:15072>
facing 1
}
3 {
vehicle <kuid:44700:15070>
facing 1
}
4 {
vehicle <kuid:86661:15010>
facing 1
}
5 {
vehicle <kuid:43955:2>
facing 1
}
6 {
vehicle <kuid:86661:15037>
facing 0
}
}
_skels {
0 {
vehicle <kuid:44700:15020>
facing 1
}
1 {
vehicle <kuid:44700:15020>
facing 1
}
2 {
vehicle <kuid:44700:15020>
facing 1
}
3 {
vehicle <kuid:44700:15020>
facing 1
}
}
_flatcar {
0 {
vehicle <kuid:86661:15013>
facing 1
}
}
_tanker {
0 {
vehicle <kuid:86661:15003>
facing 1
}
}
lilshay2 {
0 {
vehicle <kuid:44700:15053>
facing 1
}
1 {
vehicle <kuid:44700:15015>
facing 1
}
2 {
vehicle <kuid:44700:15071>
facing 1
}
3 {
vehicle <kuid:44700:15072>
facing 1
}
4 {
vehicle <kuid:86661:15010>
facing 1
}
5 {
vehicle <kuid:43955:2>
facing 1
}
6 {
vehicle <kuid:86661:15037>
facing 0
}
}
speeder2 {
0 {
vehicle <kuid:86661:10>
facing 1
}
1 {
vehicle <kuid:86661:15010>
facing 1
}
2 {
vehicle <kuid:67261:15008>
facing 1
}
3 {
vehicle <kuid:86661:15037>
facing 0
}
}
flattruck {
0 {
vehicle <kuid:86661:15023>
facing 1
}
}
logsdump {
0 {
vehicle <kuid:86661:15010>
facing 0
}
1 {
vehicle <kuid:44700:15072>
facing 0
}
2 {
vehicle <kuid:44700:15071>
facing 0
}
3 {
vehicle <kuid:44700:15015>
facing 0
}
4 {
vehicle <kuid:44700:15053>
facing 0
}
}
shortyscrummie {
0 {
vehicle <kuid:86661:15037>
facing 1
}
}
lilshay {
0 {
vehicle <kuid:43955:2>
facing 1
}
}
speeder3 {
0 {
vehicle <kuid:86661:10>
facing 1
}
1 {
vehicle <kuid:67261:15008>
facing 1
}
2 {
vehicle <kuid:86661:15037>
facing 1
}
}
}
description "Clear Lake... Revival
An evening run up the mountain from Clear Lake with supplies and surprises.

Many, many, many thanks to Wild Rob who resurrected this scenario after it was broken by the TRS SP2 update process. It's only by his generous efforts that I'm able to re-release this.

After playing through the original Clear Lake scenario back in 2003, I fell in love with this little logging route and scenarios in general.

I hope you enjoy the drive up the mountain. And I'd especially like to say thanks to Rich Blake for Clear Lake... Hurry up with Clear Lake II"

Cut here due to space.

There are quite a few others with the same error.
Regards
Barrie
 
I don't see anything wrong with the declaration, Barrie. Sometimes, when that type of error pops up, I do an "edit with CCP" and see if it can find any errors.

Bill
 
G’Day All, I have some scenarios which have the following error in TRS06:-
Error: The tag 'consists' is not permitted within this container. (Container type 'activity')

asset-filename "Clear_Lake_Revival"
scriptlibrary "Clear_Lake_Revival"
scriptclass "MyClear_Lake_Revival"
trainz-build 2.4
kuid <kuid2:94112:1001004:4>
obsolete-table {
0 <kuid:94112:1001004>
}
consists {
ws_shay {
0 {
vehicle <kuid:86661:12>
facing 1
}
1 {
vehicle <kuid:86661:15112>
facing 1
}
}Can anyone give some guidance with this error please.
Regards
Barrie

Seems to me it is objecting to the line consists {

Just delete that line and leave everything else. Be sure to save and commit.

cheers, tomurban
 
If you do that, remember to delete the very last curly bracket also. It is the pair to the top bracket following the word "consists".

Bill
 
Back
Top