Page 1 of 1

[1.1.98] "game.player.force.reset_technology_effects()" completes minning efficiency research

Posted: Fri Nov 24, 2023 3:17 am
by SorabaneSAI
I have always enjoyed playing with Factorio.

This is the save data and log.
https://drive.google.com/drive/folders/ ... sp=sharing

The procedure by which the bug occurs
① Load the save and enter "/c game.player.force.reset_technology_effects()" twice in the console.
② "掘削効率4の研究が完了しました。"(A research of minning efficiency 4 has been completed.)
  message appears and the research of minning efficiency 131 in the upper right corner becomes 132.
③This happens each time that command is entered, and the number gets larger.

This did not happen when I ran it on my local Factorio version 1.1.94. Also, the first time it happened when reviewing the recording was at 1.1.97, and it also happened at 1.1.98.

I discovered this phenomenon on another saved data with MODs.
I had this happen on load right after updating from 1.1.96 to 1.1.97. After investigating the cause, I assumed it was due to the mod "Shortcuts for 1.1" calling the function.
I am not familiar with the mod, but I guessed it might be a bug.

(Translated by DeepL)

Re: [1.1.98] "game.player.force.reset_technology_effects()" completes minning efficiency research

Posted: Fri Nov 24, 2023 7:51 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.

Re: [1.1.98] "game.player.force.reset_technology_effects()" completes minning efficiency research

Posted: Sat Nov 25, 2023 12:53 am
by SorabaneSAI
Thanks for the quick fix, Factorio is my best game.