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
14.8K
Transportation

b [Fixed] Crashes when trying to enter a train

1 year, 1 month ago
(updated 1 year, 1 month ago)

Whenever i try to enter a train the mod forces the game to exit that map and reload an earlier save.
Main mods are krastorio 2.
No problem when entering a car though
Shows the following error:
The mod Gizmos Car Keys (improved) (1.1.8) 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/libs/assertions.lua:188: Wrong argument! table is not a valid vehicle specification!
stack traceback:
[C]: in function 'error'
GCKI/libs/assertions.lua:188: in function 'arg_err'
GCKI/scripts/vehicle_functions.lua:1730: in function 'get_occupants'
GCKI/scripts/event_handlers.lua:2376: in function <GCKI/scripts/event_handlers.lua:2272>

1 year, 1 month ago

That's interesting! Would you mind posting the saved game, so that I could try to reproduce the crash?

1 year, 1 month ago

Uploaded the save file:
https://file.io/pVX7vSZKAorp

1 year, 1 month ago

Sorry, I only get the message "There was an error retrieving your file."

1 year, 1 month ago

that was quick google search website did not know how it worked and deleted the file.
New upload here:
https://mega.nz/file/RgYQCRDK#R3vsWc94wa0aKuKK3KbtSD-ScKnHrfV2JzK809MXrmU

1 year, 1 month ago

Thanks, that has helped! I couldn't reproduce the crash before because Autodrive was active in my testing scenario, so a different branch of the code was executed.

Please try version 1.1.9!

1 year, 1 month ago

Works flawlessly after fix. Thanks for the quick fix.

1 year, 1 month ago

You're welcome! :-)

New response