Cargo Crates


Pack large quantities of goods into single-use crates for easier bulk logistics.

Content
3 days ago
2.0
3.33K
Transportation Logistics Logistic network Manufacturing Storage

b Loading error.

14 days ago

I'm getting a crash on load after installing this as a prerequisite when updating Pelagos.

cargo_crates/weight.lua:103: attempt to index local 'subgroup' (a nil value)

14 days ago

working on it currently. Give me like 10 minutes

14 days ago

try in 1.3 and let me know if everything works fine

14 days ago

Works great. Thanks.

14 days ago

I'm having an error also, something to do with loaders

Failed to load mods: cargo_crates/maps.lua:88: attempt to index field '?' (a nil value)
stack traceback:
cargo_crates/maps.lua:88: in function 'loader'
cargo_crates/maps.lua:100: in function 'call_loaders'
cargo_crates/weight.lua:15: in function 'calc'
cargo_crates/data-final-fixes.lua:3: in main chunk

14 days ago

I would need to know which mod causes it to fix that one

14 days ago

The only loaders I have are from "AAI Loaders", modified by "AAI Loaders, a sane rebalance" and "Space Exploration".

13 days ago

The only loaders I have are from "AAI Loaders", modified by "AAI Loaders, a sane rebalance" and "Space Exploration".

loader is function name XF
i need name of mod that causes crash

i just booted game up with SE and it works fine

13 days ago
(updated 13 days ago)

The report doesn't give the name of any other mod. That's the point.

13 days ago

The report doesn't give the name of any other mod. That's the point.

yeah but that does not gives me any usefull information as well.
disable mods on your list untill you find the one that is failing.

12 days ago

I had the exact same issue. It's the Exotic Space Industries: Remembrance mod causing the issue.

12 days ago

I don't have that mod so the issue is something systemic

11 days ago

So I have been getting the same error as posted above. In my case the error is caused by outer rim being active. I'm guessing the person from earlier who removed exotic industries probably also removed redrawn space connections as that is a dependency.

10 days ago
(updated 10 days ago)

Saying that something does not work is not helpfull

Provide combination of failing mods if you to help me fix it

I tested outer rim with crates yesterday so that is not it

10 days ago
(updated 10 days ago)

When I tested it was only the Exotic Space Industries: Remembrance causing the issue. I tested by enabling that, including all its dependencies, at which point I got the error. Then I disabled that mod, and left all the dependencies enabled, and I no longer got the error. Just tried that again and got the same behavior in fact.

I'm going to try deleting all my mods and redownloading them to see if that helps.

Edit: I was able to reproduce this by installing the Exotic Space Industries: Remembrance mod, and all its dependencies, and the cargo crate mod on a fresh mod folder with nothing else. In this case again disabling the Exotic Space Industries: Remembrance mod, and only that mod, fixed the issue. I'd be happy to help with more info, but I do not see anything else about the specific cause.

10 days ago

When I tested it was only the Exotic Space Industries: Remembrance causing the issue. I tested by enabling that, including all its dependencies, at which point I got the error. Then I disabled that mod, and left all the dependencies enabled, and I no longer got the error. Just tried that again and got the same behavior in fact.

I'm going to try deleting all my mods and redownloading them to see if that helps.

Edit: I was able to reproduce this by installing the Exotic Space Industries: Remembrance mod, and all its dependencies, and the cargo crate mod on a fresh mod folder with nothing else. In this case again disabling the Exotic Space Industries: Remembrance mod, and only that mod, fixed the issue. I'd be happy to help with more info, but I do not see anything else about the specific cause.

Thanks
I think pointing out that rememberance causes code to explode is enough for me to debug

10 days ago

My bad I should have been clearer the only mods that were enabled for me were outer rim it's dependencies and cargo crates. I just downloaded 0.5.1 and things seem to be working thanks for the help and the mod!

10 days ago
(updated 10 days ago)

Np
A lot of issues come from load order

I can't make crates do stuff later than in final fixes but some mods declare stuff for first time there as well. Marking them as hidden dependancies is probably only thing I can do.

Adding extra safeguard for null will make crates calculate weighs in wrong way, so I generally prefer to know which mods clashes and add it as dep, then make mod work wrong

9 days ago

Hi, I am having the same load order error when I have Mooncrete and Lunar Asphalt (https://mods.factorio.com/mod/mooncrete) enabled.

6 days ago

im also having a loader calc issue but i ripped the log open to see why

26.837 Loading mod cargo_crates 0.5.1 (data-final-fixes.lua)
26.850 Error ModManager.cpp:1764: Failed to load mod "cargo_crates": cargo_crates/maps.lua:88: attempt to index field '?' (a nil value)
stack traceback:
cargo_crates/maps.lua:88: in function 'loader'
cargo_crates/maps.lua:100: in function 'call_loaders'
cargo_crates/weight.lua:15: in function 'calc'
cargo_crates/data-final-fixes.lua:3: in main chunk
26.880 Loading mod core 0.0.0 (data.lua)
28.268 Checksum for core: 3810281447
28.330 Error ModManager.cpp:1764: Error in assignID: recipe-category with name 'recycling' does not exist.

i dont have any other info on this specific problem in the log other than it says "its loading things"

5 days ago

Isnt recycling from reverse 'factory mod'?

5 days ago

Isnt recycling from reverse 'factory mod'?

Recycling is vanilla thing

5 days ago

So
some of items that are defined to late will just not be put in crates, but they should not crash on startup
Rememberance should also work

let me know if there are still issues with mod combination that causes them

New response