Using TLR with Industry Link (a tip for making it work)

One thing I would suggest is to Split the Aviation Fuel and Diesel Fuel into their own queues as I have found it "appears" to work better that way.
Have you monitored the logs AND the industry itself to make sure it is trying to process something.

When you view the industry in a session, you should be able to see the individual cars being processed in the "Script Properties" and the log (Client Log) should show each car as it is loaded.
MI2-Logs.png
 
Last edited:
When running a session, you can see the script properties if you "Control and Right Click" on the industry and select View Details. Scroll down to see the Script Properties as shown on the right of the image I posted in the previous post.
To see the "Client Logs" you have to have the Enable Advanced Debug Tools option checked.
To do this, from the Launch Window, click Trainz Settings, click the Dev Tab and you will find the option there.
When you have this option checked, there will be a Developer window menu item available. Select the Show Client Logs item in this menu.
Trainz-Dev-Menu.png
 
I deleted Crude in and Fuel out.
replaced them and put in the basic details as per your 1st post...minus the process that you have running in your drop off industry.

And the only way that it will transfer Commodities, is if i open the details window of Crude Oil IN and click on enable editing and then move the Crude Oil bar to the right to achieve 100%. Even thou the Script Properties say that it is processing the tankers.
So far have done that twice and am waiting for the Fuel OUT to become 100% full and see if it then loads the empty Aviation Tankers.
 
Have had a look at the Trainz Logs and in it says that the tankers are waiting for enough space to unload.??
The unloading/loading space is 400 feet, which is twice the length of the 5 tankers.

Interface.Print> 'Crude Oil IN: Unloading 3DT BP 4'

Crude Oil IN: 3DT BP 4 is waiting for enough space to unload.
 
Although I have never seen that message before, I don't believe the "space" message is anything to do with the unloading length, it is more likely to be related to the size of the Crude Oil IN queue.
What is the size of your Crude Oil queue? In the previous images you show it with a size of 100 which is way to small.
Try increasing the queue size to something like 500,000.
 
So I just did a quick test and if the queue size is too small, both the logs and properties say the tankers are unloading/processing but nothing ever happens.
I increased the queue size to 1,000,000 and bingo, the same test worked fine this time.
 
Did some more testing and it looks like bulk commodities (e.g. Grain, Crude, Fuel etc.) need to have a minimum queue size of 1000 whereas a product that has a queue limit of 256 (e.g General Goods, pallet items etc.) may need to have a minimum queue size of 1.
@norfolksouthern37 may be able to give a little more advice on this as it may be a game restriction OR something that is coded into the JR Multi Industry II.
 
Now I have done a bit more testing and seen your screen shot, I am not so sure about the minimum limit as your tankers are initially transferring 500 at a time whereas mine are doing 1000 at a time.
One test I have done is as follows using four tankers with a capacity of 110000 each:
Set the Crude queue size to 1000
Set approximate unload time to be 18 seconds
Set consumption of Crude to 1000 every 6 seconds

Results:
10:01:41 Hrs. Tankers started unloading 1000 at a time from only one tanker at a time
10:16:53 Hrs. Tankers started unloading 500 at a time from two tankers (sometimes it was from the same tanker but two unloads)
11:02:56 Hrs. and the tankers are still unloading
The remaining amount of Crude in the tankers at this time is 64499, 64499, 62000 and 63000 (so a long time to go before finished unloading)
Test aborted (by me) early

The next test was done exactly the same but the Crude queue was set to 1,000,000

Results:
10:01:22 Hrs. Tankers started unloading 1000 at a time from each tanker one at a time
10:03:13 Hrs. All tankers have been unloaded

The final test I did was to remove the processing and use industry link to move the Crude to another industry with both Crude queues set to be 1,000,000

Results:
10:01:22 Hrs. Tankers started unloading 1000 at a time from each tanker one at a time
10:01:29 Hrs. Industry Link transferred 41000 to second industry with tankers still unloading
10:01:39 Hrs. Another 59000 transferred to second industry with tankers still unloading
10:01:49 Hrs. Another 10000 transferred to second industry with tankers still unloading
10:01:59 Hrs. Another 30000 transferred to second industry with tankers still unloading
10:02:09 Hrs. Another 59000 transferred to second industry with tankers still unloading
10:02:19 Hrs. Another 21000 transferred to second industry with tankers still unloading
10:02:29 Hrs. Another 17000 transferred to second industry with tankers still unloading
10:02:39 Hrs. Another 60000 transferred to second industry with tankers still unloading
10:02:49 Hrs. Another 33000 transferred to second industry with tankers still unloading
10:02:59 Hrs. Another 13000 transferred to second industry with tankers still unloading
10:03:09 Hrs. Another 59000 transferred to second industry with tankers still unloading
10:03:15 Hrs. Tankers finished unloading
10:03:19 Hrs. Another 38000 transferred to second industry

Not really sure what to make of all that other than there are ways to make the unload time take longer by fiddling with the queue sizes, and/or process and unload times
 
As this thread was initially about getting TLR to work with industry link, let me just reiterate that in order for TLR to see that a product is needed at an industry, that industry MUST have a consumption process even if it only produces one item every 24hrs.
 
The queue sizes of liquid loads and bulk loads are measured in liters. To unload a tanker requires a queue size larger than the tanker's queue (usually several thousand liters). For container type loads (like general goods) and passengers the queue sizes are defined in units, with a maximum allowed size of 255 (?).

Peter
 
To unload a tanker requires a queue size larger than the tanker's queue (usually several thousand liters).
This is not entirely accurate as shown by the above tests. The tankers have a capacity of 110,000 litres and the queue size was set to only 1000 litres with the result being that they still did unload.

I do agree though, that it is best to have the queue capacity set to equal or above the capacity of the load when dealing with bulk loads.
 
Back
Top