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
7 months ago
0.17 - 2.0
15.7K
Transportation

b [TODO] not working

a month ago

it wont let me use the key shortcut at all even tho i researched cars unsure why

a month ago

Do you have a saved game I could use for debugging?

a month ago

eNp1Vj2IJEUU7r513f+d/bvjlOO8wHQM1EBQdkYD5RBlI9Omurumu7iaqr76md1ZAze4TMxMNNH0EjG5wGxBEQQF0chsNTJQOFHQ4GB91f9VNdvQNTXve/Xq1Xvfe9XXgiC4G4RBUOyg+5pQHiVCpzjihAbB+ah592uQTyYy58LDt5BIEJufRIIn92QQnI2at0WUwNhCdhtkxknKE4xYH11HgmRRQslkUonM04oFkrmv7W2+VoolYqmvLBVnuH+G3RikU6wQpSQpbfUXrSSIJkRZK9YTJGLOhhAQy1CCxVwaUzliOCJJDz0b3apQRpTgGWaRIEkeTQnDAlHZV9yvFXVCMRKRhEMXfXwnycElXswFuBU5PjyVcEQdAbWisAtLCyyGMayGEUlsxahGHbODhAuhWaqnQy81+x1WYDgcxXraN9nhkHEKqSfSwg/KrOI0mmiacYFYVHDL47WSmkOHehuJjgnYdA+8Wcu9PO/UwEIn1lKsIR7EuN5LNGZ4OveCtDWhmgtIXTTDTFl7TASXKiqXRe6yfQBPgWcR40RiSCyijtkqAD77Bw1CJAVSW1zfyCiOF6zZqeSLXdmswAKsqUXWvODV8mMEQbLilmlW8OPUSDvtp3MksBP9HKPZ3CRxmOG5tPWXcq76VrfzOdQqZ1FVaBYTGwhPTeWkVuobjAh7UWvvvkZCnS5cI3Q8tx2uAYmKIidOqTfgQjJdz+dpWeRDqemEAHddnqzBWqLcKls1frvCLUpUbngbG8ZZp5oigU4kkUOoMLsIVuomZKVqSijFwulla1NNFXHbyAZDSoPNKEPSihZDekakz7Y9Rk7KUqyo49rbr2DTWsrkuPigxMsbSFJteryDpUjci6ZIKZs42wa7guLNneU2jq0CU5Rx6V8bm1APijCItePeZiEgxRA5NznrFaFc/QOBYvAnQYbAXGEo+NSK43ar4DkxaKEZgtRYy/aAAtkxFzSNUmi1RGkL3u/gDLp+fQF2+PUOL6uxKedO42anAWwhCom5ewGdj57tlASP+VXt7lanJhkqU79YcdmLwQ0oRoKg7yamJyM6BFKkGbZDUaokGlKTDD0fa3iCxUJ4UMKLq3fZ15YFSrDMSeEHY10WcB37ZSULuP9dXtyQEFFgWBZBf0TRFO4BKDObtlJhNI38Hrns9eR101208MhXieFbBiUkXWBpBwiJoZvIMh/E/jobtKB/OWwqIB2Cq9o97UABVRg0qTZRvXB6H4ArhrnOTbupNMvg6F5n2IA2VFp2S3KGGEqJX6urM0Nq18EZhtAv/sa9ab5Dh3Clnww1E3gCXTb1G7ZR8jKwNdOGQFp6XyF7LbKYY95FultKwMM5r1bwvrkg/O29Rx+ePbgdmPfyg+DO5aV5YXYB/de8QXgGwxh+Qdg8y3WjDu68Du8b7YZhGL5/8MVbv55+PAorzRfG9eRxLTmPG8ndZvLu+Ero+Wbycs/OS+Xzd29Sbapgi1prddxNKvDBKDTPR38++vzfb88PwycP//rpnfhoVEu+PARwxRz3Wjt8+ol5vmqOEjQ2L0Y19Mso/OF78/wxCpfNigMzjF+B4fztpSAsYphdfAPD0ZtB49phY+Zg7BpuYtRN2nMcjcPXjPHbZkjNUG7YGain83E4fq5Bn+lUIJAvBn0f0u6E3zWR/LqZ/NybXJUI/xyHXtb6afh9qfG8HMq/bTx/XGn+jT8bh0tmYrT+AVn1r+JgZar63RmX4V5uSfl45ATvv1G5Vfzqwyf/A10cHhA=<<<

a month ago

Sorry, I've no idea what that to do with that blob! Can you upload a saved game somewhere where I don't have to register to download it? I need that so I can sync with your mods, and try to figure out what exactly happened to the shortcut.

22 days ago
(updated 22 days ago)

I didn't have SA because I have no time for playing. But without SA, I couldn't reproduce your bug – so I've actually bought it. Still no luck: your game has almost 400 mods (about 5.5GB to download), so my laptop runs out of RAM (I've got just 16GB) before I even get to the start menu, and kills the factorio process.

I'm not willing to put hours into trying to remove mods until I can reproduce your bug. I also do not intend (and couldn't afford) to buy a more powerful computer just so that I can put in work (for free) on fixing a bug in somebody else's game. So I'm sorry, but there is nothing I can do – unless you are willing to invest some time (no, this is NOT a plea for a new computer!) yourself.

I'd need you to provide a Minimal Working Example: a saved game that contains ONLY the mods that are needed to reproduce the bug. Yes, it will take a lot of time until you've removed all superfluous mods – but if your computer can handle SA with several hundred mods, it will be much faster on starting Factorio than my laptop. :-)

22 days ago
(updated 22 days ago)

i have 16 GB of ram in my laptop too

22 days ago

Perhaps with a separate graphics card? Whatever, with your tremendous amount of mods active, oom_killer slays the Factorio process during startup on my laptop.

22 days ago

also the keys started working later for some reason i still have no idea why they didnt work before but later they worked even tho i didnt remove any mods

21 days ago

it wont let me use the key shortcut at all even tho i researched cars

I still don't get Factorio to start, but all mods are processed during the data stages and I've found something in the log files which led me to this snippet in file prototypes/3-add-unlock-tech-to-shortcut.lua:

for tech_name, t in pairs(GCKI.unlock_tech_map) do
  tech = techs[tech_name]
  -- We won't break after the first valid tech, if there are more techs in the
  -- list, the last one will win!
  if tech and not tech.hidden then
    GCKI.writeDebug("Setting %s as technology_to_unlock!", {tech_name})
    shortcut.technology_to_unlock = tech_name
  end
end

also the keys started working later for some reason i still have no idea why they didnt work before but later they worked

It seems that shortcut.technology_to_unlock is first set to "automobilism" and then overwritten with "water_transport" (from "cargo-ships"). Please load the original save (where the shortcut was not available) and check whether the "water_transport" tech has been researched there. My guess is you didn't research it at that point, and the shortcut was unlocked later on after it was researched.

If that is correct, please edit file data-final-fixes.lua of GCKI and delete line 24, this one:

require("prototypes.3-add-unlock-tech-to-shortcut")

Then restart Factorio and load again the old save, where "water_transport" still is unresearched. Does that fix the bug?

19 days ago

yeah water transport was the problem

19 days ago

OK, I'll fix that for the next version. :-)

New response