[2.0.7] Crashes in factoriopedia with modded data (Factoriopedia::updateRecipe)
Posted: Mon Oct 21, 2024 4:22 pm
I have a preliminary draft of my overhaul mod updated to factorio 2.0, but currently there are many ways to crash the game via simple interactions with factoriopedia.
I have attached the (as yet unreleased) mod zip. To load the mod and follow the reproduction steps you will also need the factorio 2.0 version of Krastorio2Assets, which is not yet available on the mod portal, but can be downloaded from the github source here: https://github.com/raiguard/Krastorio2Assets
Other required dependencies are available on the portal and can be installed automatically. Make sure to disable space-age and quality so Ultracube can load.
After loading factorio 2.0 with the attached Ultracube mod activated and starting a default new game, you can quickly crash the program in any of the following ways:
* Open factoriopedia and click on any technology which is currently set to `enabled = false` (i.e. any "unlocked by" technology for a recipe which shows with a dark-grey background - there are many of these).
* Open factoriopedia and click on the item "Ultradense utility cube" (first item in the first tab). This can also be triggered by alt-clicking on the item itself, which is in a chest near the player starting location.
* Open factoriopedia and click on the item "Phantom ultradense constituent" (fifth item on the first row of the first tab). Again this can also be triggered by alt-clicking the item itself, although you wouldn't obtain this item until much later during normal gameplay.
I have attached the (as yet unreleased) mod zip. To load the mod and follow the reproduction steps you will also need the factorio 2.0 version of Krastorio2Assets, which is not yet available on the mod portal, but can be downloaded from the github source here: https://github.com/raiguard/Krastorio2Assets
Other required dependencies are available on the portal and can be installed automatically. Make sure to disable space-age and quality so Ultracube can load.
After loading factorio 2.0 with the attached Ultracube mod activated and starting a default new game, you can quickly crash the program in any of the following ways:
* Open factoriopedia and click on any technology which is currently set to `enabled = false` (i.e. any "unlocked by" technology for a recipe which shows with a dark-grey background - there are many of these).
* Open factoriopedia and click on the item "Ultradense utility cube" (first item in the first tab). This can also be triggered by alt-clicking on the item itself, which is in a chest near the player starting location.
* Open factoriopedia and click on the item "Phantom ultradense constituent" (fifth item on the first row of the first tab). Again this can also be triggered by alt-clicking the item itself, although you wouldn't obtain this item until much later during normal gameplay.