weird bug

Game development with Board Game Arena Studio
Post Reply
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

weird bug

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

Re: weird bug

Post 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 ?
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

Re: weird bug

Post by Bids »

Yes
User avatar
Victoria_La
Posts: 665
Joined: 28 December 2015, 20:55

Re: weird bug

Post 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
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

Re: weird bug

Post 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.
User avatar
Benoit314
Posts: 82
Joined: 02 April 2020, 22:12

Re: weird bug

Post by Benoit314 »

I looks like the same player action was sent twice.
Victoria remarks seems to me to be a good pointer.
User avatar
Bids
Posts: 72
Joined: 02 April 2019, 18:10

Re: weird bug

Post by Bids »

Ok I'll have a look :) thanks both of you for the suggestions!
Post Reply

Return to “Developers”