abnormal behavior of studio since recent update

Game development with Board Game Arena Studio
Post Reply
User avatar
Lunalol
Posts: 584
Joined: 09 October 2016, 23:21

abnormal behavior of studio since recent update

Post by Lunalol »

I used for month this code:
$this->gamestate->setPlayersMultiactive($players, 'continue');
return $this->gamestate->nextState('nextPhase')
Say that current state is 200 for example, it's HAS NOT a 'continue' action.
Say that 'nextPhase' bring to a new state (300 for example) that HAS a 'continue' action.

First, I have this error msg:
This transition (continue) is not possible at this state 200
Second and worst, I have it:
Try to active a player that is not part of the game: XXXXXXX
But XXXXXX is really my player number.

Third ans last error:
WARNING: the number of players at this table (0) is not coherent with the number of players as known by BGA (1). We recommend you to abandon this table and report this as a bug!
All is OK on normal game, problem is just on ALPHA since recent update.
User avatar
quietmint
Posts: 299
Joined: 31 July 2017, 00:28

Re: abnormal behavior of studio since recent update

Post by quietmint »

$players is null or empty. It will only go to 'continue' transition if no players are multiactive.
User avatar
Lunalol
Posts: 584
Joined: 09 October 2016, 23:21

Re: abnormal behavior of studio since recent update

Post by Lunalol »

No, I have checked that, it's not empty.

BUT I just rebuild and deploy from studio to ALPHA without changing code and now it's seems OK :roll:
Post Reply

Return to “Developers”