Railway Motor Car

by S3bulon

Adds a railway motor car as an equipment to ride the railway without placing a locomotive manually.

Content
29 days ago
1.0 - 2.0
12.1K
Trains

b Game crash on train crash

2 years ago

A train crashed into me while using the motor car, resulting in an instant game crash with the following backtrace. I had some train/motorcar crashes in this game before and this didn't cause a game crash. It might have something to do with the fact that the crash happened on a 2-tile wide landfilled train track with water all around it - maybe motor car had trouble placing the player (just a wild guess)?

51679.499 Error MainLoop.cpp:1284: Exception at tick 18300499: The mod Railway Motor Car (0.3.3) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event railway-motor-car::railway-motor-car-rotate (ID 298)
LuaEntity API call when LuaEntity was invalid.
stack traceback:
[C]: in function 'index'
__railway-motor-car
/scripts/use_equipment.lua:170: in function <railway-motor-car/scripts/use_equipment.lua:165>
51679.500 Error ServerMultiplayerManager.cpp:91: MultiplayerManager failed: "The mod Railway Motor Car (0.3.3) caused a non-recoverable error.
Please report this error to the mod author.

2 years ago

Thanks for the report. The crash occurs when you press <Rotate> shortly after the motor car is destroyed.
Fixed with 0.3.4

New response