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
6 months ago
0.14 - 1.1
53.3K
Manufacturing

b [Fixed?] [Factoro: 1.0.0, BioIndustries: 0.18.29] Crash when prototype artillery is removed

3 years ago

During the singleplayer/multiplayer after mining/deconstructing/destroying prototype artillery the game crashes with the following error:

14938.166 Error ServerMultiplayerManager.cpp:90: MultiplayerManager failed: "The mod Bio Industries (0.18.29) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Bio_Industries::on_tick (ID 0)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
    __Bio_Industries__/control_bio_cannon.lua:126: in function 'handler'
    __stdlib__/stdlib/event/event.lua:335: in function 'pcall'
    __stdlib__/stdlib/event/event.lua:355: in function 'dispatch_event'
    __stdlib__/stdlib/event/event.lua:438: in function <__stdlib__/stdlib/event/event.lua:389>
stack traceback:
    [C]: in function '__index'
    __Bio_Industries__/control_bio_cannon.lua:126: in function 'handler'
    __stdlib__/stdlib/event/event.lua:335: in function 'pcall'
    __stdlib__/stdlib/event/event.lua:355: in function 'dispatch_event'
    __stdlib__/stdlib/event/event.lua:438: in function <__stdlib__/stdlib/event/event.lua:389>"

I was also able to reproduce the bug by starting new freeplay game with only base, stdlib and Bio Industries mods, adding the artillery to inventory using cheats, building and then mining it which results in the same crash.

Pi-C
3 years ago

Thanks for the report! It's another bug in a debugging command. The game should proceed normally if you just remove line 126 of control_bio_cannon.lua. Fixed for the next release! :-)

Pi-C
3 years ago

Please update to 0.18.30/1.1.0!

New response