Bob's Logistics mod


Adds logistic related things.

Content
9 months ago
0.13 - 1.1
293K
Logistics

b mini loader and bobs logistics

5 years ago

The mod Miniloader caused a non-recoverable error.
Please report this error to the mod author.

Error while running event miniloader::on_configuration_changed
Error when running interface function boblogistics.blacklist_inserter: boblogistics/control.lua:409: attempt to index field 'bobmods' (a nil value)
stack traceback:
boblogistics/control.lua:409: in function <boblogistics/control.lua:408>
stack traceback:
miniloader/control.lua:51: in function 'register_bobs_blacklist'
miniloader/control.lua:75: in function <miniloader/control.lua:70>
stack traceback:
[C]: in function 'call'
miniloader/control.lua:51: in function 'register_bobs_blacklist'
miniloader/control.lua:75: in function <miniloader/control.lua:7

5 years ago

thought you should see

5 years ago

boblogistics sets up that variable in on_init and on_configuration_changed so in theory, it should always exist.

However, the variable is not checked for existance upon calling the blacklist function. If Miniloaders is somehow calling that function before logistics can run it's on_init script (Which it shouldn't because it's miniloader not Miniloader, and b in boblogistics comes before m in miniloader) that could cause the error. I'm not sure why it is erroring in it's current state.

In the next version, logistics should check existance of the blacklist table (The full table tree, including bobmods, the variable it's failing on) so this shouldn't happen in future.

5 years ago

cool thank you keep up the great work

New response