Dirty Power


Less refined fuels pollute more. Electric furnaces consume 50% more power.

Content
3 years ago
0.16 - 1.1
701
Power

b Crash if Bio Industries is loaded

5 years ago
(updated 5 years ago)

I just installed your mod and it crashed on loading the game. After turning off all mods and activating them again one by one, I found that the crash only occurs if Bio Industries is loaded. Here is the relevant part of the log:


1.011 Loading mod dirty_power 0.2.2 (data-updates.lua)
1.018 Error ModManager.cpp:1294: Failed to load mod "dirty_power": dirty_power/data-updates.lua:99: attempt to perform arithmetic on field 'emissions' (a nil value)
stack traceback:
dirty_power/data-updates.lua:99: in main chunk
1.019 soading mod core 0.0.0 (data.lua)
1.086 Checksum for core: 3121239362
1.452 Error ModManager.cpp:1294: Error in assignID, recipe-category with name 'crafting' does not exist.

Source: enemy-base (noise-layer).
1.455 Verbose ModManager.cpp:463: Time to load mods: 1.05271
1.503 Initial atlas bitmap size is 16384
1.503 Created atlas bitmap 16384x108 [not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level, no-crop, no-scale]
1.514 Verbose TextureProcessor.cpp:849: GPU accelerated compression test: Time 10.899 ms; YCoCg_DXT PSNR: 35.83, BC3 PSNR: 33.82
1.515 Texture processor created. GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
1.523 Parallel Sprite Loader initialized (threads: 3)
1.552 Sprites loaded
1.577 Generated mipmaps for atlas of size 16384x108
1.577 Verbose AtlasSystem.cpp:807: Atlas memory size: 6.75MB; 0.00MB (virtual)
1.577 Verbose AtlasSystem.cpp:808: Size of sprites outside of atlas: 0.00MB
1.581 Custom inputs active: 0
1.589 Factorio initialised
1.589 Mods to disable:Failed to load mods: dirty_power/data-updates.lua:99: attempt to perform arithmetic on field 'emissions' (a nil value)
stack traceback:
dirty_power/data-updates.lua:99: in main chunk

Mods to be disabled:
• dirty_power


BTW, the Factorio version is 0.17.14. If you want to, I can send you a complete log file on the forum -- >60kB just felt too much for a full quote here. :-)

5 years ago

Thanks! Fixed.

5 years ago

Great, thanks a lot! :-)

New response