Factorio and Conquer: Tiberian Dawn


Adds Tiberium ore that spreads - Harvest it, refine it, and convert it to power, weapons, and other ores. By Zillo7 (0.15), SAH4001 (0.16), Oktabyte (0.17), JamesFire and randomflyingtaco (0.17 update and 0.18+)

Content
25 days ago
0.17 - 2.0
26.5K
Combat Environment Mining Manufacturing Power

b OnTick error, I think due to a different mod update?

4 months ago
(updated 4 months ago)
The mod Factorio and Conquer: Tiberian Dawn (2.0.10) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event Factorio-Tiberium::on_nth_tick(20)
__Factorio-Tiberium__/control.lua:1272: attempt to index field 'tiberiumPoweredPlayers' (a nil value)
stack traceback:
    __Factorio-Tiberium__/control.lua:1272: in function <__Factorio-Tiberium__/control.lua:1249>

This is for a very early game save, I have not reached anything tiberium related yet.

4 months ago

It looks like the recent updates were from Mulana, PlanetsLib, and Lignumis, but I don't see an obvious cause from any of them. The error just looks like an uninitialized variable, so not sure what to make of this.

4 months ago

Your assessment is correct and I double-checked to confirm that the variable is initialized when the mod is added or upgraded. I haven't been able to replicate the issue, did you add the mod to an existing save or was it present from the start? If it was present from the start, what version were you playing prior to the crash and what did you change with the save immediately prior to the crash occurring?

4 months ago

I don't know for certain. I've done a bit of my own debugging and the game says the last version was 2.0.9, but clearly I got past the migration or otherwise had my save file data messed up somehow. I might just manually initialize it and move on, since I can't completely rule out the possibility of unzipped mods and associated local hotfixes being a factor, even though I haven't had to investigate Tiberium before seeing this error so I still don't get how it broke. Gotta love non-reproducible black magic bugs.

4 months ago

Weird because the migration was part of 2.0.9 and there have been no changes to control.lua in 2.0.10 https://github.com/James-Fire/Factorio-Tiberium/commits/factorio-2.0/control.lua
Also if you have local hotfixes for Tiberium and think they might be relevant for other players, I'd greatly appreciate a PR/issue on the github or opening a ticket on our discord. There are so many mods and I rely on the community to highlight and prioritize compatibility issues. Thanks!

New response