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
2 months ago
0.17 - 2.0
3.48K
Transportation Combat Logistic network Circuit network

b Crash when installing the sensor in quality vehicle

a month 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>
a month ago

Error while running event autodrive::on_tick (ID 0)
Pi-C_lib/libs/assertions.lua:431: Wrong argument! nil is not a valid entity!
stack traceback:
[C]: in function 'error'
Pi-C_lib/libs/assertions.lua:431: in function 'arg_err'
Pi-C_lib/libs/assertions.lua:514: in function 'assert'
autodrive/common.lua:389: in function 'loc_name'
autodrive/scripts/sensors/fuel.lua:791: in function 'refuel_equipment'
autodrive/scripts/sensors/fuel.lua:953: in function 'check_fuel'
autodrive/scripts/driving.lua:333: 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