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
2 months ago
0.17 - 1.1
12.6K
Transportation

b [Fixed] Crashes when trying to enter a train

6 months ago
(updated 6 months 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>

6 months ago

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

6 months ago

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

6 months ago

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

6 months 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

6 months 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!

6 months ago

Works flawlessly after fix. Thanks for the quick fix.

6 months ago

You're welcome! :-)

New response