Pavement Drive Assist

by Arcitos

Introduces a driver assistance system that autonomously follows paved roads, while maintaining a preset cruise speed if desired.

Utilities
4 years ago
0.14 - 0.18
183

g Crush with AAI Programmable Vehicles.

6 years ago

Crushed when a vehicle that is driven by player is switched AI state to ON in "AAI Programmable Vehicles" MOD.

346.863 Error MainLoop.cpp:1035: Exception at tick 3684152: Error while running event aai-programmable-vehicles::on_tick (ID 0)
Error while running event PavementDriveAssist::on_player_driving_changed_state (ID 26)
PavementDriveAssist/pda.lua:90: attempt to index a nil value
stack traceback:
aai-programmable-vehicles/control.lua:1420: in function 'unit_update_mode'
aai-programmable-vehicles/control.lua:4696: in function 'unit_tick'
aai-programmable-vehicles/control.lua:4734: in function <aai-programmable-vehicles/control.lua:4704

6 years ago

per AAI author: https://mods.factorio.com/mod/aai-programmable-vehicles/discussion/5bac60f3a592bc000a93fbbb
"need to check that the entity reference is valid before interacting with it"

5 years ago

Confirm.

And this isn't just a script crash. It's a crash-to-the-desktop bug.

New response