Planetorio


Warptorio2 but the planets thing is a standalone library that can be used by anyone to make and work with planets, surface templates, and simple automation and management of surface-specific events (e.g. only raised if an entity is built on that planets surface) and chunk generation.

Internal
1 year, 6 months ago
0.17 - 1.1
36.5K
Environment

b Error while running event planetorio::on_configuration_changed

2 years ago

Whole text:
Error while running event planetorio::on_configuration_changed
Value can't be NaN. in property tree at ROOT.coverage
stack traceback:
[C]: in function 'index'
__planetorio
/control_planets_modifiers.lua:133: in function 'BuildCache'
planetorio/control_planets.lua:43: in function 'init_globals'
planetorio/control_planets.lua:65: in function 'v'
planetorio/lib.lua:272: in function <planetorio/lib.lua:272>

I've tried to open last save on other computer and find this

2 years ago

I got the same issue and for me it helped to uncomment the lines 133 and 136.
The line 133 is for the pt=game.decorative_prototypes so it is not essential in my opition.
But the line 136 is for pt=game.entity_prototypes local ct=planets.cache.ents. Meaning entities. I believe that would be bots and other stuff like that. In my play I havent noticed any issues yet, I also noticed if I replace v.autoplace_specification with anything else, it works as well.

1 year, 10 months ago

Apparently this was a bug with base factorio.

This thread has been locked.