Electric Trains


Adds electric trains.

Content
a month ago
0.16 - 1.1
37.1K
Trains

b Random error message

2 years ago

Got this error while playing on my server, wasn't even interacting with ElectricTrains at the time

Please report this error to the mod author.

Error while running event ElectricTrains::on_nth_tick(23)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__ElectricTrains
/control.lua:182: in function <ElectricTrains/control.lua:173>
5400.630 Error ServerMultiplayerManager.cpp:91: MultiplayerManager failed: "The mod Electric Trains (1.3.2) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event ElectricTrains::on_nth_tick(23)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__ElectricTrains
/control.lua:182: in function <ElectricTrains/control.lua:173>"

2 years ago

Update: After some extra testing I've discovered that it's due to one of my electric trains taking damage. Originally it was because a stray spitter was shooting it, but I've replicated the issue with a grenade as well.

https://imgur.com/a/pxlC4D7

2 years ago

I've uploaded a new version that should take care of this issue.

2 years ago

Sweet, I'll go give it a try, thank you!

New response