Heavy Trucks: Autopilot


Autopilot for the trucks of Heavy Trucks (Vanilla+): they drive themselves between truck stops following a schedule, like trains.

Content
2 days ago
2.0
1.53K
Transportation Logistics Circuit network

b uprising m'lord

2 days ago

Hey, I don't know what happened, but it looks like the trucks have staged an uprising over the lack of pay and days off.

Error while running event heavy-trucks-autopilot::on_tick (ID 0)
heavy-trucks-autopilot/scripts/drive.lua:624: attempt to index field 'path' (a nil value)
stack traceback:
heavy-trucks-autopilot/scripts/drive.lua:624: in function 'crossing_speed'
heavy-trucks-autopilot/scripts/drive.lua:1328: in function 'follow'
heavy-trucks-autopilot/scripts/drive.lua:1619: in function 'update'
heavy-trucks-autopilot/control.lua:47: in function <heavy-trucks-autopilot/control.lua:42>

2 days ago

Haha, sorry about the uprising! It's a crash in the new railway crossing code: a truck crossing a rail can lose its route at the wrong moment. I'm fixing it in the next update.

a day ago

Thank you, Your Honor!

New response