Planet Virentis [Beta2]


A planet focused on agriculturing, alien grooming, and trading.

Content
8 days ago
2.0
2.62K
Factorio: Space Age Icon Space Age Mod
Planets Combat Enemies Environment Mining Fluids Manufacturing

g [Fixed] fail to load game after upate to 0.2.0

20 days ago
(updated 20 days ago)

after latest update to 0.2.0 I'm getting this error:

Failed to load mods: __virentis__/prototypes/enemies/pentapod.lua:95: attempt to index field '?' (a nil value)
stack traceback:
    __virentis__/prototypes/enemies/pentapod.lua:95: in main chunk
    [C]: in function 'require'
    __virentis__/data.lua:73: in main chunk

Mods to be disabled:
• virentis (0.2.0)
20 days ago
(updated 20 days ago)

I did some investigation and found out that actually not a single version of this mod currently works for me. I was playing non stop more than 2 days since Friday evening and this mod was in my setup (not sure which version). Today however after whole day playing, I recklessly pressed update for all mods that had update and found myself in this situation.

I started to downgrade mod version and found out that will 0.1.4 error is the same. below it, since 0.1.3 the error differs

Failed to load mods: Reached id limit for collision-layer. The game can't contain more than 55 instances of this prototype due to hardcoded limits of the engine. See the log file for more detail.
20 days ago
(updated 20 days ago)

Same here.
It all started after last update of Vanilla

Now I am stuck with this above you also experienced, or this:
"Failed to load mods: Error while running setup for entity prototype "muluna-cycling-steam-turbine" (fusion-generator): next_upgrade target (fusion-generator-mk2) must have the same bounding box." But i don t think is related to Virentis

20 days ago
(updated 20 days ago)

So I removed whole mods folder and run game and load last save and now the error is

Failed to load mods: 
• omnia
    • Dependency omnilib = 4.2.2 is not satisfied (active: omnilib 4.2.11)
• virentis
    • Missing required dependency quality-seeds
    • Missing required dependency virentis-graphics
    • Missing required dependency fishing-dock

Mods to be disabled:
• omnia (1.0.4)
• virentis (0.2.0)

please heeeelp

20 days ago

I don't think error cause by my mod.
For the missing required dependency error, you just need to manage mod and download the missing ones.
And please aware that v0.2 has many recipe tweak, meaning most of your old factory may not work like before, if you don't want that, don't update.

20 days ago

yes last error was obvious after reading it. I changed version of omnilib to 4.2.2 and installed all the missing for virentis. but then I'm getting same error

Failed to load mods: __virentis__/prototypes/enemies/pentapod.lua:95: attempt to index field '?' (a nil value)
stack traceback:
    __virentis__/prototypes/enemies/pentapod.lua:95: in main chunk
    [C]: in function 'require'
    __virentis__/data.lua:73: in main chunk

Mods to be disabled:
• virentis (0.2.1)

downgrading to 0.1.9 does not help
I have Virentis as dependency from this https://mods.factorio.com/mod/kry-all-planet-mods and in my playthrough I don't event start playing Virentis content so I don't care about recipe mismatches. The only thing I care is that the game for almost 300 hours should continue. The error is happening your mod, I have nowhere to go - please help debug it. Do you have any clues/hints?

20 days ago

that because it didn't cause by this mod, so downgrade won't help. I think other mod delete the behemoth-wriggler-pentapod-premature prototype.
I will help you find which one cause this

20 days ago

for the "The game can't contain more than 55 instances of this prototype due to hardcoded limits of the engine", it cause by quality-seed, it create collision layer for each plant, it might be a problem when there're many plant.
I will find a solution to this

20 days ago

but i will fix them tomorrow, i really need to sleep now

20 days ago

I uploaded my save file here - very appreciate any help
https://limewire.com/?referrer=pq7i8xx7p2

20 days ago

I commented few lines

    data.raw["spider-unit"][k .. "-strafer-pentapod"].icon = "__virentis-graphics__/icons/enemies/" ..
    k .. "-strafer.png"
    data.raw["spider-unit"][k .. "-stomper-pentapod"].icon = "__virentis-graphics__/icons/enemies/" ..
    k .. "-stomper.png"
    data.raw["simple-entity"][k .. "-stomper-shell"].icon = "__virentis-graphics__/icons/enemies/" .. k .. "-stomper.png"
    -- data.raw["unit"][k .. "-wriggler-pentapod-premature"].icon = "__virentis-graphics__/icons/enemies/" ..
    --    k .. "-wriggler.png"
    -- data.raw["unit"][k .. "-wriggler-pentapod"].icon = "__virentis-graphics__/icons/enemies/" .. k .. "-wriggler.png"
    data.raw["corpse"][k .. "-wriggler-pentapod-corpse"].icon = "__virentis-graphics__/icons/enemies/" ..
        k .. "-wriggler-corpse.png"
    data.raw["corpse"][k .. "-stomper-corpse"].icon = "__virentis-graphics__/icons/enemies/" .. k .. "-stomper.png"
    data.raw["corpse"][k .. "-strafer-corpse"].icon = "__virentis-graphics__/icons/enemies/" .. k .. "-strafer.png"
    data.raw["spider-leg"][k .. "-stomper-pentapod-leg"].icon = "__virentis-graphics__/icons/enemies/" .. k ..
        "-stomper.png"
    data.raw["spider-leg"][k .. "-strafer-pentapod-leg"].icon = "__virentis-graphics__/icons/enemies/" .. k ..
        "-strafer.png"
  end

in .factorio/mods/virentis_0.2.1.zip/virentis_0.2.1/prototypes/enemies/pentapod.lua

and now I'm back to error from earlier mod versions:

Failed to load mods: Reached id limit for collision-layer. The game can't contain more than 55 instances of this prototype due to hardcoded limits of the engine. See the log file for more detail

I don't have much knowledge to debug this but here is the log from factorio-current.log possibly confirming that quality-seeds is causing an issue:

  35.420 Checksum of kry-all-planet-mods: 1673922675
  38.992 Info PrototypeList.cpp:85: collision-layer counts:
  38.992 Info PrototypeList.cpp:87:  Arcanyx: 2
  38.992 Info PrototypeList.cpp:87:  Cerys-Moon-of-Fulgora: 2
  38.992 Info PrototypeList.cpp:87:  CombatRobotsOverhaul: 1
  38.992 Info PrototypeList.cpp:87:  SpidertronEnhancements: 1
  38.992 Info PrototypeList.cpp:87:  base: 24
  38.992 Info PrototypeList.cpp:87:  cargo-ships: 2
  38.992 Info PrototypeList.cpp:87:  dea-dia-system: 3
  38.992 Info PrototypeList.cpp:87:  gleba-water-cane: 1
  38.992 Info PrototypeList.cpp:87:  janus-reshifted: 1
  38.992 Info PrototypeList.cpp:87:  linox: 2
  38.992 Info PrototypeList.cpp:87:  maraxsis: 6
  38.992 Info PrototypeList.cpp:87:  omnia: 2
  38.992 Info PrototypeList.cpp:87:  pelagos: 2
  38.992 Info PrototypeList.cpp:87:  planet-rabbasca: 1
  38.992 Info PrototypeList.cpp:87:  planetaris-arig: 1
  38.992 Info PrototypeList.cpp:87:  quality-seeds: 36
  38.992 Info PrototypeList.cpp:87:  rubia: 1
  39.006 Error ModManager.cpp:1767: Reached id limit for collision-layer. The game can't contain more than 55 instances of this prototype due to hardcoded limits of the engine. See the log file for more detail.
  40.625 Info PlayerData.cpp:66: Local player-data.json unavailable
  40.625 Info PlayerData.cpp:69: Cloud player-data.json available, timestamp 1769376600
  40.723 Post-data load graphics options: [Light occlusion: YES]
  41.074 Initial atlas bitmap size is 16384
  41.076 Created an atlas bitmap (size 8192x2720) [icon, not-compressed, mipmap, linear-minification, linear-magnification, linear-mip-level]
  41.076 Loading 3D bitmaps.
  41.090 Texture processor created (4096). GPU accelerated compression Supported: yes, Enabled: yes/yes. Test passed. YCoCgDXT PSNR: 35.83, BC3 PSNR: 33.82
  41.092 Parallel sprite loader initialized (threads: 15, bitmaps: 185)
  41.301 Sprites loaded
  41.302 Generated mipmaps (5) for atlas [0] of size 8192x2720   
  41.303 Custom mipmaps uploaded (117)
  41.532 Video memory usage: 113.22 MB (Atlases: 113.22 MB, Textures: 0.00 MB)
  41.593 Custom inputs active: 64
  41.595 Factorio initialised
20 days ago
(updated 20 days ago)

ok, I was manage to bypass quality-seeds collider error
then error was in line

data.raw["unit"][k .. "-wriggler-pentapod-premature"].icon = "__virentis-graphics__/icons/enemies/" ..
        k .. "-wriggler.png"

so I commented it. but now error is not even comming from lua

Failed to load mods: Error in assignID: entity with name 'behemoth-wriggler-pentapod-premature' does not exist. Source: virentis-behemoth-stomper-shell (simple-entity).

all is around this behemoth-wriggler-pentapod-premature

is this Virentis specific unit or who is supposed to create it?

20 days ago

ok, I was able to fix it. my solution was to install https://mods.factorio.com/mod/behemoth-enemies which is marked as optional dependency here in virentis.
there is a condition inside enemies/pentapod.lua just for case when behemoth-enemies is not installed and this is where something done wrong I guess

if mods["behemoth-enemies"] == nil then
20 days ago

it should be work even without behemoth-enemies install, i can play smoothly with only virentis installed, it defenitely cause by other mod, i will look in to it

20 days ago

Your save file link is not working, but i tried with kry's all mod, it working now

New response