Refresh Object Used by Multiple Users

0
Hi all,   As a side project, I'm creating a tick-tack-toe game in Mendix. However, my current is issue is with multiplayer, the game is not refreshing locally.   I sign in as player one on my Edge browser and then instantiate the game. I then sign in to my Chrome browser as player 2 and join the game. As player 2 I can see the board (that means that the game is in the 'not started'-state), however as player 1 I still see that I'm waiting for another player (that means that the game is in a 'waiting for player'-state) I have an event that triggers every 2.5 seconds that refreshes the game-object. However, the change of the game-object is not picked up.   Any advice?   TIA!
asked
2 answers
0

Hi Nico,

 

please provide some more information about how you are trying to refresh your page. What does your entity look like? How is the event trigger implemented?

 

Best,

Holger

 

answered
0

I'd try the Microflow Timer widget or Web Sockets, for which there are several modules available.

answered