GDIW - Gah! DarnItWater! Updated deprecated

by Olezero

Just updated for factorio 1.1, no code changes has been made from the original. Allows switching liquid recipe inputs and outputs.

Utilities
3 years ago
1.1
81

b Crash with Space Exploration

3 years ago

I'm running 1.1.6 with Space exploration (with only it's required pre-reqs) plus alien biomes & informatron (I'm trying to get MSI II working), and the game crashes with the following. It's definitely the combination of these mods (if you remove SE, AB or Inf then it's ok)

8.232 Loading mod GDIW-updated 0.18.0 (data-final-fixes.lua)
8.241 Error ModManager.cpp:1555: Failed to load mod "GDIW-updated": GDIW-updated/data-final-fixes.lua:83: attempt to concatenate field 'type' (a nil value)
stack traceback:
GDIW-updated/data-final-fixes.lua:83: in function 'GDIWdoprototype'
GDIW-updated/data-final-fixes.lua:506: in main chunk
8.242 Loading mod core 0.0.0 (data.lua)
8.446 Checksum for core: 2816500475
8.513 Error ModManager.cpp:1555: Error in assignID: recipe-category with name 'crafting' does not exist.
Source: default (utility-sprites).
8.598 Initial atlas bitmap size is 8192

Any ideas ?

3 years ago

So, I think I fixed it, but difficult to prove as I just found a bug in MSI as well.

The fix for GDIW is to change data-final-fixes.lua, line 82:
from:
if vro.results[1] and vro.results[1].name then
to:
if vro.results[1] and vro.results[1].name and vro.results[1].type then

Looks like there's a condition where type is null, and so it should fallback to the else clause, I think.. Wont know until I can test it, but it definitely loads now if you put this fix in.

New response