Pyanodons Alien Life


Adds farming, ranching, and pharmaceutics into Factorio. It's extremely unethical but also extremely profitable. WARNING! This mod will greatly enhance and extend the rest of the pY mods. Expect a 1000+ hour long game!

Overhaul
26 days ago
1.0 - 2.0
58.3K
Transportation Logistics Mining Fluids Logistic network Manufacturing Power

b Crash on startup

2 years ago

I just downloaded the whole pyanodon suite and some other mods, but the game crashes on startup with the AlienLife mod. When I disable this mod (and its dependencies) it seems to work.

Relevant log message:

1.847 Error ModManager.cpp:1560: Failed to load mod "pyalienlife": pyalienlife/prototypes/recipes/sap/recipes-sap.lua:27: attempt to index field 'minable' (a nil value)
stack traceback:
pyalienlife/prototypes/recipes/sap/recipes-sap.lua:27: in main chunk
[C]: in function 'require'
pyalienlife/data.lua:659: in main chunk
1.848 Loading mod core 0.0.0 (data.lua)
1.963 Checksum for core: 3744854889
2.010 Error ModManager.cpp:1560: Error in assignID: recipe-category with name 'crafting' does not exist.

Source: default (utility-sprites).
2.155 Initial atlas bitmap size is 16384
2.155 Created atlas bitmap 2048x640 [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
2.167 Texture processor created (2048). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
2.248 Parallel Sprite Loader initialized (threads: 0)
2.532 Sprites loaded
2.554 Generated mipmaps (5) for atlas [0] of size 2048x640
2.554 Custom mipmaps uploaded.
2.557 Factorio initialised
2.561 Mods to disable:Failed to load mods: pyalienlife/prototypes/recipes/sap/recipes-sap.lua:27: attempt to index field 'minable' (a nil value)
stack traceback:
pyalienlife/prototypes/recipes/sap/recipes-sap.lua:27: in main chunk
[C]: in function 'require'
pyalienlife/data.lua:659: in main chunk

Mods to be disabled:
• pyalienlife (2.0.6)
48.114 Quitting: user-quit.
48.226 Steam API shutdown.
48.229 Goodbye

Complete log:
https://pastebin.com/nPazgDVR

Mod list:
https://pastebin.com/NhNdJm43

2 years ago

I fixed it by my own (for now) by replacing lines 27-29 in prototypes\recipes\sap\recipes-sap.lua by

27 if tree.minable ~= nil and tree.minable.results ~= nil and tree.minable.results[1].amount >= 1 then -- no sap from dead trees
28 table.insert(tree.minable.results, mine_results_1)
29 elseif tree.minable ~= nil and tree.minable.results ~= nil then

1 year, 10 months ago

I am also having this error. is this a conflict with other mods? is there a mod I can just disable to fix this one?

New response