Page 1 of 1
weird bug
Posted: 25 August 2021, 16:38
by Bids
Hi,
I saw a weird bug today in this table
https://boardgamearena.com/archive/repl ... 3;&goto=73
Many tables have been played so far, I have never seen this. Suddenly a card appears out of nowhere. Could this be a bug of BGA? When I replay the game I cannot see how this played could play this card, as it was not in his hand anymore.
Any thoughts?
Re: weird bug
Posted: 25 August 2021, 16:48
by Tisaac
Bids wrote: ↑25 August 2021, 16:38
Hi,
I saw a weird bug today in this table
https://boardgamearena.com/archive/repl ... 3;&goto=73
Many tables have been played so far, I have never seen this. Suddenly a card appears out of nowhere. Could this be a bug of BGA? When I replay the game I cannot see how this played could play this card, as it was not in his hand anymore.
Any thoughts?
Are you using checkAction on the php side ?
Re: weird bug
Posted: 25 August 2021, 17:01
by Bids
Yes
Re: weird bug
Posted: 25 August 2021, 22:08
by Victoria_La
Well you need also to check in php that card in parameter is in player hand. Its easy to hand craft ajax calls if you know what you doing
Re: weird bug
Posted: 25 August 2021, 22:43
by Bids
But can it be that this has never happened in almost 3000 games and now suddenly it happened? The player played a card, and it was immediately his turn again and he played immediately the same card (which is not possible because they are unique). I have more the feeling that there was a glitch that only part of the command was picked up due to a server error or something? I'm just saying something because I really have no idea where to start looking. It was not even an edge case or something special.
Re: weird bug
Posted: 26 August 2021, 01:00
by Benoit314
I looks like the same player action was sent twice.
Victoria remarks seems to me to be a good pointer.
Re: weird bug
Posted: 26 August 2021, 17:08
by Bids
Ok I'll have a look

thanks both of you for the suggestions!