[1.1.104] Desync after setting LuaTechnology.level while it's being researched
Posted: Tue Feb 06, 2024 6:01 pm
When setting the level of a technology that is currently being researched with a progress the game desyncs for players that attempt to join the game afterwards.
Steps to reproduce
1. Unlock all technologies with /cheat all
2. Start researching mining productivity 5 on the technology screen
3. Set the progress on it either by placing down labs or running /c game.player.force.research_progress = 0.1
4. Set technology level to a higher level with a command: /c game.player.force.technologies["mining-productivity-4"].level = 8
5. /toogle-heavy-mode now fails. If this is a multiplayer game leaving and joining the server desync the game.
Steps to reproduce
1. Unlock all technologies with /cheat all
2. Start researching mining productivity 5 on the technology screen
3. Set the progress on it either by placing down labs or running /c game.player.force.research_progress = 0.1
4. Set technology level to a higher level with a command: /c game.player.force.technologies["mining-productivity-4"].level = 8
5. /toogle-heavy-mode now fails. If this is a multiplayer game leaving and joining the server desync the game.