Amator Phasma's Nuclear (forked)

by ldinc

fork of orginal mod by Amator Phasma

Content
2 days ago
1.1 - 2.1
1.92K
Power

b [angelsrefilning] problem with 2.1.x port

a month ago

Hi ldinc, me again: I tried adding the recently updated apm_nuclear_ldinc to my 2.1 mod collection and noticed that loading hangs in the data-updates stage. There are no warning messages in the log/console, so I'm not sure where to start debugging. Any ideas?

To reproduce: Activate base game + apm_nuclear_ldinc + angelsbioprocessing (+ dependencies for each of those)

btw do you prefer reports here or on github?

a month ago

Hi, i'm still working on updates for nuclear mod (

Reports on mods factorio is ok for me. I see infinite loop maybe ... I will try to debug it

a month ago

But the strange behavior:

   2.231 Loading mod angelspetrochem 2.1.2 (data-updates.lua)
   2.271 Loading mod apm_lib_ldinc 0.32.12 (data-updates.lua)
   2.282 Loading mod angelssmelting 2.1.1 (data-updates.lua)
   2.341 Loading mod apm_nuclear_ldinc 0.32.4 (data-updates.lua)
   2.362 Loading mod angelsbioprocessing 2.1.1 (data-updates.lua)
   2.363 Verbose PipelineStateObject.cpp:100: Time to load shaders in background: 0.775674 seconds.

It seems loaded data stage and do smth else

a month ago

nope, it stucked at bioprocessing, the shader routine is going be async...

   2.563 Loading mod apm_nuclear_ldinc 0.32.4 (data-updates.lua)
   2.570 Verbose PipelineStateObject.cpp:100: Time to load shaders in background: 0.848810 seconds.
   2.588 Loading mod angelsbioprocessing 2.1.1 (data-updates.lua)
a month ago
(updated a month ago)

smth in Script @__angelsbioprocessing__/data-updates.lua:3: prototypes.bio-processing-override stuck

a month ago

closer at 2.484 Script @__angelsbioprocessing__/prototypes/bio-processing-override.lua:12: prototypes.overrides.bio-processing-override-angel

a month ago

stuck at :

OV.add_recipe_category({
  "angels-bio-yield-module",
  "angels-bio-yield-module-2",
  "angels-bio-yield-module-3",
  "angels-bio-yield-module-4",
  "angels-bio-yield-module-5",
}, "electronics")
a month ago

the error is at typeof fn:

  if type(recipe) == "table" then

seems should be

  if type(recipe_name) == "table" then

in ov_functions.add_recipe_category at prototypes\override-functions.lua

a month ago

seems to be related tot angelsrefilning mod

a month ago
(updated a month ago)

https://github.com/Arch666Angel/mods/commit/df171d977217304f0842dd70e81a67056e5b72c4

I don't know proper way to communicate with Angel's mods developers (maybe better to make bug report on ds server)

a month ago

Great you found it! I also started debugging a bit, but my lua knowledge is only rudimentary. I think a PR on github is fine for the devs over there although they seem to also communicate via discord sometimes. But I had the impression they're quite busy with other stuff so they don't always react quickly like you :)

I'll apply your fix to my local copy anyways, so thanks a lot!

New response