Electric Locomotives


Adds multiple tiers of electric locomotives

Content
2 days ago
2.0 - 2.1
713
Trains

b LuaEntity invalid (2.0.7)

7 days ago

Hey,
got a crash to report:

The mod Electric Locomotives (2.0.7) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event electric-locomotives::on_nth_tick(1)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__electric-locomotives
/scripts/locomotive.lua:162: in function 'callback'
electric-locomotives/framework/ticker.lua:105: in function 'process'
electric-locomotives/framework/ticker.lua:102: in function 'process'
electric-locomotives/scripts/locomotive.lua:206: in function 'tick'
electric-locomotives/control.lua:148: in function 'handler'
electric-locomotives/stdlib/event/event.lua:401: in function 'pcall'
electric-locomotives/stdlib/event/event.lua:421: in function 'dispatch_event'
electric-locomotives/stdlib/event/event.lua:497: in function <electric-locomotives/stdlib/event/event.lua:455>

Factorio version 2.1.14 (Build 87180 expansion)
Mod version: 2.0.7 (newest, by the time of reporting)

thanks,
CF.

6 days ago

Thanks for the report. I will take a look.

2 days ago

Were you, by any chance, deleting a power station when that happened? Maybe using the deconstruction planner?

2 days ago

This is fixed in 2.0.8.

2 days ago

Were you, by any chance, deleting a power station when that happened? Maybe using the deconstruction planner?

No, just playing and it randomly happened, nothing deleted, nothing destroyed. Maybe the "crash" was postponed by some time frame, because loading the last autosave made the game crash even when doing nothing again at about the same timeframe

thanks for fixing.

New response