Electric Train


Adds electric locomotives to the game.

Content
3 years ago
0.14 - 1.1
69.1K
Trains

b Electric Train and New Game+

4 years ago

Electric train appears not to play well with New Game+. Upon trying to place a E-locomotive 3 the following error happens right upon placement:

Error while running event ElectricTrain::on_nth_tick(2)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
ElectricTrain/control.lua:153: in function 'CreateProvider'
ElectricTrain/control.lua:177: in function <ElectricTrain/control.lua:172>
stack traceback:
[C]: in function 'index'
__ElectricTrain
/control.lua:153: in function 'CreateProvider'
ElectricTrain/control.lua:177: in function <ElectricTrain/control.lua:172>

Unsure if this is user error or something in the mod, if anyone knows a fix please advise.

1 year, 8 months ago

Can confirm this is still a problem, throwing up control.lua 144/168/163 errors

"The mod Electric Train (1.1.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ElectricTrain::on_nth_tick(2)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__ElectricTrain
/control.lua:144: in function 'CreateProvider'
ElectricTrain/control.lua:168: in function <ElectricTrain/control.lua:163>"

New response