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.
 
Back
Top