Logistic Cargo Wagon


Cargo wagons which can directly request items from, and provide items to, the logistic network. Configure items to request and provide at each station for each logistic cargo wagon, allowing flexibility in unloading on curves, changing train length easily without building infrastructure, and further boost loading and unloading rate through robot speed research.

Content
3 years ago
0.16 - 1.1
13.0K
Logistic network

b Error while running event logistic-cargo-wagon::on_nth_tick(15)

5 years ago

I got this error the moment the cargo wagon arrived in the request station.
I'm using it in combo with LTN

De modificatie Logistic Cargo Wagon heeft een niet-herstelbare fout veroorzaakt.
Rapporteer deze a.u.b. bij de auteur van de modificatie.

Error while running event logistic-cargo-wagon::on_nth_tick(15)
LuaItemStack API call when LuaItemStack was invalid.
stack traceback:
logistic-cargo-wagon/control.lua:103: in function 'sync_proxy_inventory'
logistic-cargo-wagon/control.lua:301: in function <logistic-cargo-wagon/control.lua:296>
stack traceback:
[C]: in function 'newindex'
__logistic-cargo-wagon
/control.lua:103: in function 'sync_proxy_inventory'
logistic-cargo-wagon/control.lua:301: in function <logistic-cargo-wagon/control.lua:296>

5 years ago

I'm not sure how that stack could be invalid there.. I'm not able to get this to happen myself :( Would you mind uploading an example save having this issue so that I can sync to your mod set?

5 years ago
(updated 5 years ago)

Got the same error, without LTN:

The mod Logistic Cargo Wagon caused a non-recoverable error.
Please report this error to the mod author.

Error while running event logistic-cargo-wagon::on_nth_tick(15)
LuaItemStack API call when LuaItemStack was invalid for read.
stack traceback:
logistic-cargo-wagon/control.lua:103: in function 'sync_proxy_inventory'
logistic-cargo-wagon/control.lua:301: in function <logistic-cargo-wagon/control.lua:296>
stack traceback:
[C]: in function 'newindex'
__logistic-cargo-wagon
/control.lua:103: in function 'sync_proxy_inventory'
logistic-cargo-wagon/control.lua:301: in function <logistic-cargo-wagon/control.lua:296>

With 2 identical cargo wagons in 1 train i've got the error, everything's fine with only one.

New response