Page 1 of 1

First actions are missing from In-Game Replay

Posted: 01 August 2021, 09:25
by lordalx
Hi. I encounter a situation where the first actions are missing from the in-game replay mode. This can leads to missing information for turn based game mode.

It's related to a bug report on splendor's module : https://boardgamearena.com/bug?id=43474.
Despite It looked like to work fine initially, I would says finally it's reproductible 50% (or 1/$nb_players % ;p).

What happens :
- the very first notifications are missing from the replay

How to reproduce it :
:arrow: Starts a game in 2 players, it's important (don't know why) to remember who is table creator / admin.
:arrow: The first player performs it's first action which adds some simple message in the gamelog through NotifyAllPlayers() API
:arrow: The first player actions is listed in the second player gamelog (expected behavior)

:!: When the second player requests a replay from the very first move (through Replay From This Move button in the game logs, linked to url like https://studio.boardgamearena.com/1/abo ... er=2310418), then the first move is missing from the gamelog.

Unfortunately (or not), I was able to reproduce this issue each time the first player is the table creator/admin. :?
When the second player to join the table is the starting player, it works fine... :shock:

I was able to produce a dedicated project from scratch which reproduces this issues (100% success based on luck of starting player).
You can get access through https://studio.boardgamearena.com/gamepanel?game=above

There is really not big change from the template projects : add some empty actions and minimal statemachine and run the game.