"updating game situation"

Game development with Board Game Arena Studio
Post Reply
User avatar
tsaunat
Posts: 30
Joined: 28 April 2020, 05:10

"updating game situation"

Post 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.
User avatar
Tisaac
Posts: 2736
Joined: 26 August 2014, 21:28

Re: "updating game situation"

Post by Tisaac »

Not sure to understand what is the issue. Can you give an example ?
User avatar
thoun
Posts: 1620
Joined: 10 December 2020, 22:25

Re: "updating game situation"

Post 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
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: "updating game situation"

Post 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)
User avatar
tsaunat
Posts: 30
Joined: 28 April 2020, 05:10

Re: "updating game situation"

Post by tsaunat »

Thanks for replies, Is it possible that it may do this in response to user submitted moves during a gamestate notification delay?
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: "updating game situation"

Post 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
Post Reply

Return to “Developers”