Can't see Murchison 2 ore barges in TS12

JjohnJjohnson

New member
Hi!

I hope somebody can help me.
I just bought Muchison 2 and installed to my TS12. The ore barges didn't want to load, so I downloaded the updates, now I can't even see the barges.

The Content Manager gives me the next list of Warnings & Errors:

Warning: This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.7 are no longer supported.
Warning: Required container 'thumbnails' is missing.
Error: hopper.gs(116) : variable productRestrictionFilter not declared, line 116.
Error: hopper.gs(117) : function TransferProductFrom not declared in class ProductQueue or derivative, line 117.
Error: hopper.gs(116) : cannot cast from to int, line 116.
Error: .. while compiling 'hopper.gs'

Help please :'( :'( :'(
 
Thank you for the quick reply William!

I reinstalled both the TS12 and Murchison 2, then I installed the update for Murchison 2. Now I can see the barges again, but I can't load them.

Any other idea?

PS: I installed Murchison as a stand-alone and the barges work in that. It was fun hauling that much load in only 2 "wagons" :D
 
I'll have to check them in TS12. I know there were some changes to the way scripts work in TS12 versus earlier versions. This may be the issue.

William
 
Hi Guys, yes Auran made some changes that upset the loading script for the models. This was a script originally developed for me by Auran. :)

Open the script file hopper.gs for the models, find line 116:

int newAmountLoaded = m_slowLoadQueue.TransferProductFrom(report.srcQueue, productRestrictionFilter, amountPerHalfSec, true);

change the productRestrictionFilter to null so it looks like this:

int newAmountLoaded = m_slowLoadQueue.TransferProductFrom(report.srcQueue, null, amountPerHalfSec, true);

NOTE: in the above there is no space in the word Queue, the space has been put in by the forum word wrap, and I cannot seem to remove it!

Save the file and commit. I think that might help.

I have uploaded to the DLS, versions of the loaded and unloaded barges that work in TS12, hopefully approved soon.

Ian
 
Last edited:
The barges aren't visible to me whenever am continuing a saved game. Starting from the begining of scenario there was no problem.

But also to me, the barges aren't loading, nor unloading. I'll wait the TS12's version be aproved, it's simpler. :p
 
Moin,

...
I have uploaded to the DLS, versions of the loaded and unloaded barges that work in TS12, hopefully approved soon.
...

Very good to read Ian, thank you very much in advance.
So we can use them for multiplayer sessions too because the updates available on DLS.
 
Thanks Ian that worked and no more error :wave: (just the usual warnings "This asset uses an obsolete trainz-build number. Trainz-build numbers below 2.7 are no longer supported.Warning: Required container 'thumbnails' is missing".)

Cheers

Ron
 
Hi Ron,

Those have been fixed in the update, now build 2.7. Edmund Fitzgerald and Iron Duke ore carriers also uploaded.

The barges are designed to work with the small Ore Dock Loader, and the ore carriers with the large version.

Ian
 
Last edited:
Hi Ron,

Those have been fixed in the update, now build 2.7. Edmund Fitzgerald and Iron Duke ore carriers also uploaded.

Ian
Thanks Ian and look forward to downloading when they appear on the DLS:Y: and thanks for all the other great content you have provided to the community :clap:

Cheers

Ron
 
Open the script file hopper.gs for the models, find line 116:

int newAmountLoaded = m_slowLoadQueue.TransferProductFrom(report.srcQueue, productRestrictionFilter, amountPerHalfSec, true);

change the productRestrictionFilter to null so it looks like this:

int newAmountLoaded = m_slowLoadQueue.TransferProductFrom(report.srcQueue, null, amountPerHalfSec, true);

NOTE: in the above there is no space in the word Queue, the space has been put in by the forum word wrap, and I cannot seem to remove it!

Save the file and commit.

Thank you, Ian! This works :Y:

John
 
Back
Top