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
a month ago
0.17 - 2.0
3.43K
Transportation Combat Logistic network Circuit network

b Crash when installing the sensor in quality vehicle

5 days ago

Most likely, I suspect that quality vehicle is not very well supported (an unusual tank, along with an unusual weapon in it). There are also open damage studies.

What I did was just have a tank with some modules inside, I inserted a sensor into it and got a crash.

Error while running event autodrive::on_tick (ID 0)
__autodrive__/scripts/vehicles.lua:4394: attempt to index field 'shooting_speed_modifiers' (a nil value)
stack traceback:
    __autodrive__/scripts/vehicles.lua:4394: in function 'get_gun_data'
    __autodrive__/scripts/vehicles.lua:4566: in function 'has_loaded_gun'
    __autodrive__/scripts/driving.lua:358: in function 'check_crons'
    __autodrive__/scripts/driving.lua:1007: in function 'tick_vehicle'
    __autodrive__/scripts/event_handlers.lua:1446: in function <__autodrive__/scripts/event_handlers.lua:1400>

New response