Bio Industries


Provides useful buildings and items, like the Bio Farm for growing trees. Solar Farm and Large Accumulator to make your electric setup easier. Bio Fuel section to produce organic plastic and batteries. Lots of New Wood Products, like the big electric pole, wooden pipes, dart turret. Plant trees using seedlings. Change terrain from deserts to grasslands using Fertilizer - helps trees grow better. And a lot more… Please visit the homepage on the forums for more information and feedback.

Content
9 months ago
0.14 - 1.1
54.4K
Manufacturing

b [Fixed?] Crash with StdLib

1 year, 5 months ago

working on a multiplayer server, got this message:

145.569 Error ServerMultiplayerManager.cpp:92: MultiplayerManager failed: "The mod Bio Industries (1.1.15) caused a non-recoverable error.
Please report this error to the mod author.
Error while running event Bio_Industries::on_configuration_changed
Bio_Industries/settings_changed.lua:34: attempt to index field '?' (a nil value)
stack traceback:
Bio_Industries/settings_changed.lua:34: in function 'musk_floor'
Bio_Industries/control.lua:272: in function 'handler'
stdlib/stdlib/event/event.lua:342: in function 'pcall'
stdlib/stdlib/event/event.lua:362: in function 'dispatch_event'
stdlib/stdlib/event/event.lua:438: in function 'dispatch'
stdlib/stdlib/event/event.lua:85: in function <stdlib/stdlib/event/event.lua:83>"

Confirmed this happens with only bio industries and stdlib active

1 year, 5 months ago

Sorry to hear about this issue you're having,
Any way you could send me a save?

1 year, 5 months ago

Do you have "_debug_1.1.0.zip" installed?
If so, try to remove that.

Pi-C
1 year, 5 months ago

Do you have "_debug_1.1.0.zip" installed?

That's a local dummy mod I use to enable hard logging, so it shouldn't be installed. I'm looking into the crash!

Pi-C
1 year, 5 months ago
(updated 1 year, 5 months ago)

@ThorvaldSpear:

working on a multiplayer server, got this message:

The game crashed on the second line of this:

  elseif not game.is_multiplayer() then
    force = game.players[1].force.name

The only reason why that could happen is that game.players[1] didn't exist, and the only reason I can think of why such a thing would happen in on_configuration_changed, is this: You had a multiplayer game where game.players[1] had been removed at some point, and tried to load it in singleplayer mode. Is that assumption correct?

Please try BI 1.1.17! If that doesn't fix the crash, please upload the saved game so I can try to reproduce what's really going on there. :-)

New response