Cargo Crates


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

Content
a month ago
2.0
10.2K
Transportation Logistics Logistic network Manufacturing Storage

b [fixed]Loading error.

2 months 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)

2 months ago

working on it currently. Give me like 10 minutes

2 months ago

try in 1.3 and let me know if everything works fine

2 months ago

Works great. Thanks.

2 months 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

2 months ago

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

2 months ago

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

2 months 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

2 months ago
(updated 2 months ago)

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

2 months 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.

2 months ago

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

2 months ago

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

2 months 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.

2 months ago
(updated 2 months 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

2 months ago
(updated 2 months 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.

2 months 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

2 months 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!

2 months ago
(updated 2 months 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

2 months ago

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

2 months 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"

2 months ago

Isnt recycling from reverse 'factory mod'?

2 months ago

Isnt recycling from reverse 'factory mod'?

Recycling is vanilla thing

2 months ago
(updated 2 months 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

[deleted message]
This thread has been locked.