The Ruins Mod 2.0


This mod is based on 1.1.6 (abondoned mod?) and contains many fixes for Factorio 2.0. The Ruins Mod adds randomly spawns ruins in the world. These ruins are destroyed fragments of bases, forts, small oases, and more. Explore them for loot, adventure, or entertainment, but beware, some still have running defenses from the last player that landed on the planet, with more successful colonies having better defenses.

Content
3 days ago
2.0
1.75K
Environment

g Had been a long working day

19 days ago

It was a long working day, today. So I'm no longer much focused, sorry for the many releases this evening.

19 days ago

I appreciate the updates, friend, but the latest hotfix is still breaking something for me.
Maybe roll it back for now and get some rest? Sorry if this one's my fault from another one of my mods.

AbandonedRuins20/lua/ruins/medium/init.lua:3: bad argument #1 of 33 to 'pairs' (table expected, got string)
stack traceback:
[C]: in function 'pairs'
AbandonedRuins20/lua/ruins/medium/init.lua:3: in main chunk
[C]: in function 'require'
AbandonedRuins20/lua/ruins/base_ruin_set.lua:4: in main chunk
[C]: in function 'require'
AbandonedRuins20/control.lua:5: in main chunk

19 days ago

AbandonedRuins20/lua/ruins/base_ruin_set.lua:4: AbandonedRuins20/lua/ruins/small/init.lua:106: 'do' expected near 'return'
stack traceback:
[C]: in function 'require'
AbandonedRuins20/lua/ruins/base_ruin_set.lua:4: in main chunk
[C]: in function 'require'
AbandonedRuins20/control.lua:5: in main chunk

19 days ago

@Arrevax Thank you for understanding. I have hopefully now fixed all in 1.2.4. :-)

19 days ago

Next time, I upload only when the release isn't crashing at least. That was to much many small releases ...

19 days ago
 161.988 Error AppManagerStates.cpp:1649: The mod The Ruins Mod 2.0 (1.2.4) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event AbandonedRuins20::on_configuration_changed
value for required parameter 1 (other) is missing
stack traceback:
        [C]: in function 'set_cease_fire'
        __AbandonedRuins20__/lua/utilities.lua:85: in function 'set_enemy_force_cease_fire'
        __AbandonedRuins20__/control.lua:25: in function <__AbandonedRuins20__/control.lua:24>

No idea why this is happening now. :-(

19 days ago

Thank you for your work on the mod! I'm still having trouble, though. Wouldn't be anything to do with using the Silly Pack, would it?

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

Error while running event AbandonedRuins20::on_configuration_changed
value for required parameter 1 (other) is missing
stack traceback:
[C]: in function 'set_cease_fire'
AbandonedRuins20/lua/utilities.lua:85: in function 'set_enemy_force_cease_fire'
AbandonedRuins20/control.lua:25: in function <AbandonedRuins20/control.lua:24>

19 days ago

In case it helps, changing the "hostile ruin defenses" setting doesn't affect the error.

19 days ago

```
local function setup_enemy_force()
local enemy_force = game.forces["AbandonedRuins:enemy"] or game.create_force("AbandonedRuins:enemy")

util.set_enemy_force_diplomacy(enemy_force, false)

storage.enemy_force = enemy_force
return enemy_force
end

util.get_enemy_force = function()
if (storage.enemy_force and storage.enemy_force.valid) then
return storage.enemy_force
end
return setup_enemy_force()
end
```

I haven't change every wrong occurrence of game.forces.enemy which are the biters, not an other fake "player".

19 days ago

The latest patch worked! Thanks again!

This thread has been locked.