Gizmos Car Keys (improved)

by Pi-C

Tired of running to your vehicle? Then let it come to you! This mod is based on "Gizmos Car Keys" by aodgizmo. It works with most modded car and spider-vehicle prototypes -- not just vanilla cars.

Content
3 months ago
0.17 - 1.1
12.9K
Transportation

b [Fixed]Crash on entering unlocked car

3 months ago

Was playing around with the keys a bit, claimed a car, teleported it to me, locked and unlocked it a few times. My friend tried to enter the unlocked car then the game crashed. Was able to reproduce it. If you need any other information just tell me.

The mod Gizmos Car Keys (improved) (1.1.13) caused a non-recoverable error.
Please report this error to the mod author.

Error while running event GCKI::on_player_driving_changed_state (ID 28)
GCKI/scripts/messages.lua:23: attempt to call field 'distance_exceeds' (a nil value)
stack traceback:
GCKI/scripts/messages.lua:23: in function 'must_print_to_owner'
GCKI/scripts/messages.lua:391: in function 'info_tell_owner_occupant_entered'
GCKI/scripts/event_driving.lua:162: in function 'unlocked_had_occupants'
GCKI/scripts/event_driving.lua:252: in function 'no_or_other_owner'
GCKI/scripts/event_driving.lua:299: in function 'locked_or_owned_vehicle'
GCKI/scripts/event_handlers.lua:2635: in function <GCKI/scripts/event_handlers.lua:2424>

3 months ago

Thanks for the report! The crash was caused by a typo, function GCKI.distance_exceeds doesn't exist, I meant to call GCKI_calc.distance_exceeds instead. Should be fixed in version 1.1.14.

New response