Page 1 of 1

"updating game situation"

Posted: 05 September 2021, 21:37
by tsaunat
I have a lot of complaints about after a relatively long series of game states (score,shuffle and deal) the first move tends to result in a delay where the page says "updating game situation" . I don't think I have slow or delayed PHP code, my instinct is that it's a problem with the way I've set the this.notifqueue.setSynchronous delays. But I don't know has anyone else seen something like this.
Also I get this complaint from a lot of people, and some say they get it all the time, everytime but I don't ever seem to get it, so I think there is a user interaction that causes it.

The game is llama if anybody is interested.

Re: "updating game situation"

Posted: 05 September 2021, 22:16
by Tisaac
Not sure to understand what is the issue. Can you give an example ?

Re: "updating game situation"

Posted: 06 September 2021, 08:44
by thoun
While developing, I believe game hanged a few times with this message because I wasn't sending any notification after an action (framework seems to need a reaction to an action). I don't know if it's the same for your case

Re: "updating game situation"

Posted: 07 September 2021, 16:47
by Victoria_La
This happens when you send notification to server and did not get a reply. Can happen if
  • game hangs
  • game does not send a reply (maybe some "if branches"?)
  • game deadlocks (especially with multiplayer stats)

Re: "updating game situation"

Posted: 07 September 2021, 23:36
by tsaunat
Thanks for replies, Is it possible that it may do this in response to user submitted moves during a gamestate notification delay?

Re: "updating game situation"

Posted: 16 September 2021, 23:30
by Victoria_La
tsaunat wrote: 07 September 2021, 23:36 Thanks for replies, Is it possible that it may do this in response to user submitted moves during a gamestate notification delay?
If this is a multiplepayer state - the deadlock, yes it is possible, but you did not answer if it was multiplayer state