🌐Planet Rubia


Discover the wind planet Rubia. Belts and inserters work differently on Rubia, leading to unique building challenges not seen on any other planet. Your whole factory must go with the wind as a never-ending barrage of waste is hurled at your base.

Content
a day ago
2.0
19.4K
Factorio: Space Age Icon Space Age Mod
Planets Logistics Trains Environment Mining Manufacturing Power

b [Resolved] Global Tick Time Scale Incompatibility

15 days ago
(updated 15 days ago)

I get this error when I land on Rubia at the end of the landing cutscene:

The mod ā—‹šŸŒPlanet Rubia (0.69.120) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event rubia::on_nth_tick(1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__rubia
/script/landing-cutscene.lua:433: in function '?'
rubia/lib/timing-manager.lua:37: in function 'invoke'
rubia/lib/timing-manager.lua:96: in function 'handler'
rubia/lib/event-lib.lua:155: in function <rubia/lib/event-lib.lua:153>

Note: I am using the Global Tick Time Scale mod, as my save is too powerful to run at 60 UPS, so I have it set to 30 UPS. Could this be the problem, or is this related to the other mods that cause desyncs?

15 days ago
(updated 15 days ago)

I think I know how to fix this based on the report. But given that this code executes at the start of every Rubia playthrough, I am very suspicious that this is the first time that it is reported.

The report indicates that something destroyed the cargo pod before it finished landing. Given how everything is timed for this cutscene, Global Tick Time Scale is very likely the cause. Specifically, it is likely causing the cargo pod to be destroyed sooner than my code that works on it because my code works off game ticks. GTTS fundamentally changes how time works in factorio, and tries to cover it up by faking some of the behaviors. This does not work for mods with actually strict timing like Rubia.

I can issue a fix for this issue later, but I suspect that this 30 UPS mod may cause a different sort of crash later as well. My expectation is that this mod will also make Rubia substantially easier OR harder, depending on exactly how it influences trashsteroid timing (which is all tick based). If this happens, please report back, and I will mark that mod as an incompatibility.

Other mods causing desyncs are not relevant to this crash.

———
EDIT: I gave it more thought. I’m going to apply some fixes/adjustments. But there is a very high likelihood that I will mark Global Tick Time Scale as an incompatibility.

13 days ago

Darn, was hoping to complete every planet. Even my Ryzen 4700 server can't keep up at 60UPS

13 days ago

I may be out of line here, but my recommendation is to use conventional means to optimize your base, rather than trying to change the fundamental rules of game time.

13 days ago

Fixed in v0.69.122. I still expect it to crash later. Let me know if you still struggle.

New response