Far Reach

by Fexx

Build, interact and mine on the entire screen. Distances are customizable. Substitute for non-maintained mods like Long Reach.

Utilities
7 months ago
0.16 - 1.1
158K

b v1.1.3 Crashing Auto-Drive mod

7 months ago

The recent update to Far Reach 1.1.3 is causing 'Autodrive' v1.1.5 to crash when loading a save.


37.242 Error AppManagerStates.cpp:1662: The mod Autodrive (1.1.5) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event autodrive::on_configuration_changed
autodrive/vehicle_lists.lua:938: attempt to index field '?' (a nil value)
stack traceback:
autodrive/vehicle_lists.lua:938: in function 'check_vehicle_ammo_slots'
autodrive/scripts/event_handlers.lua:656: in function 'on_init'
autodrive/scripts/event_handlers.lua:721: in function 'on_configuration_changed'
autodrive/control.lua:272: in function <autodrive/control.lua:270>


This error does not happen in version Far Reach v1.1.2

7 months ago

Hi, thanks, will look into it immediately.

7 months ago

This appears to be an error in the autodrive mod, please report it to it's maintainer.

I don't see how this is related to far reach and it's latest update.

The autodrive line

ammo_types = guns[slot].attack_parameters.ammo_categories

seems to cause this issue. Apparently guns or guns[slot] can be nil.

7 months ago

As mentioned, this doesn't happen if I revert to 1.1.2 of Far Reach.
And each time I update to 1.1.3 , it happens again.

I downgraded, tested, and updated 3 times with consistent results.

7 months ago

Yes I believe you, but still the error is in the code of the autodrive mod.
It may be that the error only shows now that I changed far reach, but anyway it is not something I can fix.

Also I cannot reproduce your problem. Maybe it's some specific kind of vehicle from another mod that causes problems with autodrive?
For me saving/loading a game with autodrive+farreach works just fine.

New response