"Script error"... Industry track ?

chairman

New member
Hi all,

I`ve tried to use the following track:-

Multi Industry basic
Multi Ind str 1=10m EN
Multi Ind str 1=10m EN R
Multi Industry Short

every time I try to add a product I get a `script error" fault ? (and if I continue the product list is empty)

Does anybody know how to fix this problem ?

Thanks in advance for any help

chairman
 
Im sure that is an old version industry you are trying to use, try the BI and BI2 or MI new. (BI=basic industry)
 
Deano5..

Thank you for that quick reply,

but all these seem to have the `product` already scripted in.. I`m looking for track I can add my own product to (the route I`m building has none of these industries / product requirement).

chairman
 
Deano5..

Thank you for that quick reply,

but all these seem to have the `product` already scripted in.. I`m looking for track I can add my own product to (the route I`m building has none of these industries / product requirement).

chairman

Try 'Multiple Industry New', this should be built into '06 and above.

Mart.
 
What version are you trying to use them in and what does CMP say about them. I take it also that you have used the New MI too?
I use them on the same map of my own in both 06 and 2010 without an error. Let me know what happens the second before you get the error, it may be something else upsetting it.
 
Mart1001,

That`s one of the tracks I keep getting `script errors` with :(

Sorry...I didn't see the 'new' on your list...just 'basic','EN/R' and 'short'.

Shame cause this one worked a treat for me but then I'm using 2010EE....not sure if that's the difference maybe ?
 
Last edited:
Hi,

This is what the script error says for the above mentioned tracks...

ProductFilter.DoesAcceptProduct> null product

stack dump:
function $bool"AT"ProductFilter:: DoesAcceptProduct(Asset), line -1
function "string[]"AT"MultipleIndutryNew::GetPropertyElelmentList(string), line
1736

(replace "AT" with @)

Is this something I could repair in the config file ??

chairman
 
chairman,

I was having problems with these industries also but worked on them today and got the Multi Ind str 1=10m EN working just fine in a test track I just ran. I haven't check the others but I'm pretty sure that they will work also as the fixes I did were pretty much the same for all of them.

I used the Content Manager to find the item and then see what's wrong with it. If the item has exclamation point hilighted then it needs attention. If you know how to use the Content Manager then you can skip this but in case you don't, right click on the item and click on "View Errors & Warnings" to see what the program has found wrong. In my case, there was an error about an incorrect word in an area of the config. I opened the item for edit in Content Creator Plus by, again right clicking on the item, then cursuring over "Edit" and clicking on the "Edit in Content Creator Plus". After the editor opened, I look at what was wrong and decided to see what happened if I just deleted the hilighted item (a KIUD file number was the culprit in most of them) in the file (click on the X to delete it). I deleted the item, saved the file and then exited Content Creator Plus. That brings you back to the Content Manager where you must "Commit" the item to the data base. Again, right click on the item and click on "Commit". If there are no more errors in the item, exclamation point won't be hilighted but the "Modified" triangle will illuminate.

You can also look at the dependencies for the item in the same way by right clicking and clicking on "View Dependencies" and "View Dependent Assets". I had to download several additional commodities to get several of the industries to behave correctly.

If the "View Errors & Warnings" comes up with "Can't Load Mesh ...." or " Can't load texture.. " or some such then you're out of luck unless you can edit those parts. I've made an asset or two for my routes but I don't have the know how to do that to these things.

Like I said, I got most of my industries to not show any errors with very little effort. I'm using TR2009 but it will probably work in your version also.

Remember, if you screw it up badly enough, you can't delete it, download it, and try again. Or you can clone it if you wish. But, I believe, that will use up hard drive space when the alternative is to just fix the original.

Hope this helps,

Don
 
Back
Top