Autodrive

by Pi-C

Car equipment for train avoidance, logistic network integration, circuit network connectivity, fuel refill, ammo reload, vehicle repair, radio control, enemy targeting, and gate control.

Content
5 months ago
0.17 - 2.0
3.62K
Transportation Combat Logistic network Circuit network

b [Pending] Crash on repair

3 months ago

Error while running event autodrive::on_entity_damaged (ID 118)
autodrive/scripts/vehicles.lua:3144: attempt to call a string value "nil"
stack traceback:
autodrive/scripts/vehicles.lua:3144: in function 'repair'
autodrive/scripts/sensors/repair.lua:60: in function 'check_repair'
autodrive/scripts/event_handlers.lua:2398: in function <autodrive/scripts/event_handlers.lua:2344>

a month ago

Sorry it took me so long! This seems to be caused by a simple typo. Please replace line 3144 in file scripts/vehicles.lua with the following:

    AD.entered_function(AD.EMPTY_TAB, "leave", AD.argprint(vehicle).." has full health")

I've added this fix for the next version, already. Thanks for finding the bug! :-)

New response