JR Muiltiple Industry New Update

This latest release is throwing an error (sometimes) on my route
- <kuid2:45324:400001:10> : File multipleindustrynew.gs, Line 382, ER_DivideByZero
; <kuid2:45324:400001:10> : Script class: MultipleIndustryNew
; <kuid2:45324:400001:10> : MeshObject: <kuid2:45324:400001:10> "JR Multi Industry II"
; <kuid2:45324:400001:10> : Script callstack
; <kuid2:45324:400001:10> : function $bool@MultipleIndustryNew::UnloadMIN(Vehicle,ProductQueue,IndustryProductInfoTracks), line 323
; <kuid2:45324:400001:10> : function $void@MultipleIndustryNew::PerformMovingLoad(Vehicle,string), line 607
; <kuid2:45324:400001:10> : function $void@BaseIndustry::PerformInnerEnterMoving(Vehicle,string), line 632

Any idea what I may have set up incorrectly that is causing it?

Cheers,
Colin
 
It looks like it wasn't moving or returned a speed value that was 0.

back to the code I guess. I need to have that possibility handled.
 
Great asset, I use it a few places on my route. On is the airport where it unloads white FedEx boxes and loads gray ones. The main engine brings in the loaded flats, disconnects and picks up the other loaded ones. In the meantime, the other ones are being unloaded and reloaded. A switcher then moves them to another track after the task is finished.
 
How do you know when the task is finished. Do you just keep an eye on it, or do you just have long wait time between dropping of and then triggering the switcher?
I use a stopwatch to check how long it takes, then add a command to the switcher to wait that time.
 
@norfolksouthern37 ,

Have found an issue in MI2 (only aesthetic I think) where if you only have one process that produces one product, the following appears in the industry log:
"05-JUL-2025 11:19:12, , "MI2 Intermodal 40ft started producing Aus 46.6ft Pacific National Reefer", "MI2 Intermodal 40ft""
BUT
if the process produces multiple products, the following appears in the industry log:
05-JUL-2025 11:19:12, , "MI2 Intermodal 40ft started producing $(OUTPUT_PRODUCT)", "MI2 Intermodal 40ft"

I haven't done a significant amount of testing on this yet to see if there is anything else impacted by this strange output.
 
@norfolksouthern37 ,

Have found an issue in MI2 (only aesthetic I think) where if you only have one process that produces one product, the following appears in the industry log:
"05-JUL-2025 11:19:12, , "MI2 Intermodal 40ft started producing Aus 46.6ft Pacific National Reefer", "MI2 Intermodal 40ft""
BUT
if the process produces multiple products, the following appears in the industry log:
05-JUL-2025 11:19:12, , "MI2 Intermodal 40ft started producing $(OUTPUT_PRODUCT)", "MI2 Intermodal 40ft"

I haven't done a significant amount of testing on this yet to see if there is anything else impacted by this strange output.
Thank you. I will investigate.
 
I don't think it is possible to put multiple products in the same queue at the same time. You must use one of the other queues to do that. What is possible is filling the same queue with different products but never at the same time.
 
I don't think it is possible to put multiple products in the same queue at the same time. You must use one of the other queues to do that. What is possible is filling the same queue with different products but never at the same time.
Yeah, I meant filling the same queue with different products. When I do that, only some of the products in the same queue will fill. Others don't.
 
I have run into a problem with the second menu option "Tracks," there is no option for a selection from the "Queue." Is there a max limit on the number of products installed?

John
 
@norfolksouthern37 are you required to set the loads up for a specific railcar? Whenever I dispatch a train to an industry using your asset the rolling stock never loads even though whatever products I have selected are compatible with those specific freight cars.
 
@norfolksouthern37 are you required to set the loads up for a specific railcar? Whenever I dispatch a train to an industry using your asset the rolling stock never loads even though whatever products I have selected are compatible with those specific freight cars.
I don’t think so. I’ve had good luck with mine, and when they work they work on any cars with a matching load. They are more reliable for me than the MINs.

Did you use the logs to find out if the cars are being “evaluated”? That’s the first step.

However, like the MIN, the MI2 seems to occasionally bug out, unpredictably. I have 40+ on the Wallace Branch, and at any time 3-4 and mysteriously not working. Re saving the route or deleting and replacing the MI2 can sometimes help. All have worked initially, and then stop working over time.

I’m curious if others have this issue and if there’s any explanation or solution.
 
I don’t think so. I’ve had good luck with mine, and when they work they work on any cars with a matching load. They are more reliable for me than the MINs.

Did you use the logs to find out if the cars are being “evaluated”? That’s the first step.

However, like the MIN, the MI2 seems to occasionally bug out, unpredictably. I have 40+ on the Wallace Branch, and at any time 3-4 and mysteriously not working. Re saving the route or deleting and replacing the MI2 can sometimes help. All have worked initially, and then stop working over time.

I’m curious if others have this issue and if there’s any explanation or solution.
I'll show you a video. Upon further review, it was the multi-industry new that's causing problems, so I went ahead and replaced it with JR's version.
 
Last edited:
Back
Top