Page 1 of 1

[Rseding91] [1.1.110] Playing single player a game started by another player freezes when using game.show_message_dialog

Posted: Fri Oct 11, 2024 11:22 pm
by kameranis
Reproduction steps:
1. Set player name to

Code: Select all

kmaeranis
2. Open save in single player
3. Run

Code: Select all

/c game.show_message_dialog{text ="This should show up as a speech bubble or throw an error. Instead it freezes the game."}
Expected behavior: Throw an error
Cannot execute command. Error: Map doesn't contain 1 player, this function can't be used
or show bubble to current player.
Actual behavior: Text bubble does not show up and all controls other than going into map mode and zooming in and out are disabled.

This save was started by another player, I was continuing it in single player and a mod (Lunar Landings) was using the above function on an event. Function works as expected when in multiplayer or single player when joining as the game creator. Opening the save in multiplayer will correctly throw an error. Bug can always be replicated.

Re: [1.1.110] Playing single player a game started by another player freezes when using game.show_message_dialog

Posted: Fri Oct 11, 2024 11:23 pm
by kameranis
Talking with mod creator Xorimuth, bug exists in 2.0 beta.

Re: [Rseding91] [1.1.110] Playing single player a game started by another player freezes when using game.show_message_di

Posted: Wed Oct 30, 2024 2:27 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.