The Ruins Mod 2.0 deprecated


This mod is now deprecated and merged with `AbandonedRuins_updated_fork`.

Content
a month ago
2.0
3.15K
Environment

b [fixed] crash

6 months ago

The mod The Ruins Mod 2.0 (1.1.8) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AbandonedRuins20::on_tick (ID 0)
AbandonedRuins20/lua/spawning.lua:38: attempt to index global 'data' (a nil value)
stack traceback:
AbandonedRuins20/lua/spawning.lua:38: in function 'spawn_entity'
AbandonedRuins20/lua/spawning.lua:94: in function 'spawn_entities'
AbandonedRuins20/lua/spawning.lua:172: in function 'spawn_ruin'
AbandonedRuins20/lua/spawning.lua:184: in function 'spawn_random_ruin'
AbandonedRuins20/control.lua:58: in function <AbandonedRuins20/control.lua:53>

6 months ago

Got this different one too

The mod The Ruins Mod 2.0 (1.1.8) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AbandonedRuins20::on_tick (ID 0)
LuaGameScript doesn't contain key get_filtered_entity_prototypes.
stack traceback:
[C]: in function 'index'
__AbandonedRuins20
/lua/expression_parsing.lua:48: in function '?'
AbandonedRuins20/lua/expression_parsing.lua:76: in function 'entity'
AbandonedRuins20/lua/spawning.lua:134: in function 'parse_variables'
AbandonedRuins20/lua/spawning.lua:171: in function 'spawn_ruin'
AbandonedRuins20/lua/spawning.lua:184: in function 'spawn_random_ruin'
AbandonedRuins20/control.lua:58: in function <AbandonedRuins20/control.lua:53>

6 months ago

first crash seem to use wrong way to access recipes data: data.raw.recipe[foo] seem to be the way.

6 months ago

The second is only documented as added (see changelog.txt, search for get_filtered_entity_prototypes). No idea where this went to?

6 months ago

Uploaded 1.1.9 which addresses first one, 2nd I'm not sure if fixed?

6 months ago

https://github.com/Bilka2/AbandonedRuins/issues/44

I tried to update homepage link to this mod page.

6 months ago

Thanks

This thread has been locked.