I have programmed "zombiePass" in major states of my game Cacao.
But I some step of the game, a player quitting the game fires a crash :
Unexpected error: Propagating error from GS 1 (method: zombie): feException: More than one possible action at this state in /var/tournoi/release/tournoi-200730-1036-gs/www/game/module/table/gamestate.game.php:333
Folowed by this messace, twice :
Unexpected error: Can't manage zombie player in this game state (5)
I have coded a big trace in zombieTurn function :
I don't find these traces in my BGA request & SQL logs.
Last lines are :
11/08 20:03:52 [info] [M] [2325352/ExtraPaul0] /1/cacao/cacao/wakeupPlayers.html?table=178499&testuser=2325352&dojo.preventCache=15971690341611
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.23293495178223 SELECT global_id, global_value FROM global WHERE 1 1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] setTable1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.097036361694336 SELECT global_id, global_value FROM global WHERE 1 1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.14305114746094 SELECT player_id, player_remaining_reflexion_time,
UNIX_TIMESTAMP( player_start_reflexion_time ) start_reflexion_time, UNIX_TIMESTAMP( NOW() ) now_time
FROM player 1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.082969665527344 SELECT player_id, player_is_multiactive FROM player LOCK IN SHARE MODE 1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.11110305786133 SELECT * FROM action1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] DB rollback: action cancelled1
11/08 20:03:52 [error] [T178499] [2325352/ExtraPaul0] Unexpected exception: Can't manage zombie player in this game state (5)#
#0 /var/tournoi/release/tournoi-200730-1036-gs/www/include/APP_GameAction.inc.php(223): Table->checkReturnState()#
#1 /var/tournoi/release/tournoi-200730-1036-gs/www/include/APP_GameAction.inc.php(216): APP_GameAction->ajaxResponseWithResult(NULL)#
#2 /var/tournoi/release/tournoi-200730-1036-gs/www/include/APP_GameAction.inc.php(171): APP_GameAction->ajaxResponse()#
#3 /var/tournoi/release/tournoi-200730-1036-gs/www/include/webActionCore.inc.php(135): APP_GameAction->wakeupPlayers()#
#4 /var/tournoi/release/tournoi-200730-1036-gs/www/index.php(230): launchWebAction('cacao', 'action_cacao', 'wakeupPlayers', false, false, NULL, true, false)#
#5 {main}h
http://1.studio.boardgamearena.com/1/ca ... 1690341611
11/08 20:03:52 [notice] [T178499] [2325352/ExtraPaul0] ER-100 302 d1 c0 e227 m0 I300 A0 V0 T0 /1/cacao/cacao/wakeupPlayers.html?table=178499&testuser=2325352&dojo.preventCache=1597169034161
This occurs :
But I some step of the game, a player quitting the game fires a crash :
Unexpected error: Propagating error from GS 1 (method: zombie): feException: More than one possible action at this state in /var/tournoi/release/tournoi-200730-1036-gs/www/game/module/table/gamestate.game.php:333
Folowed by this messace, twice :
Unexpected error: Can't manage zombie player in this game state (5)
I have coded a big trace in zombieTurn function :
Code: Select all
function zombieTurn( $state, $active_player ) {
self::dump('========================= zombieTurn : state = ',$state);
self::dump('========================= zombieTurn : active_player = ',$active_player);
$statename = $state['name'];Last lines are :
11/08 20:03:52 [info] [M] [2325352/ExtraPaul0] /1/cacao/cacao/wakeupPlayers.html?table=178499&testuser=2325352&dojo.preventCache=15971690341611
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.23293495178223 SELECT global_id, global_value FROM global WHERE 1 1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] setTable1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.097036361694336 SELECT global_id, global_value FROM global WHERE 1 1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.14305114746094 SELECT player_id, player_remaining_reflexion_time,
UNIX_TIMESTAMP( player_start_reflexion_time ) start_reflexion_time, UNIX_TIMESTAMP( NOW() ) now_time
FROM player 1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.082969665527344 SELECT player_id, player_is_multiactive FROM player LOCK IN SHARE MODE 1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] 0.11110305786133 SELECT * FROM action1
11/08 20:03:52 [info] [T178499] [2325352/ExtraPaul0] DB rollback: action cancelled1
11/08 20:03:52 [error] [T178499] [2325352/ExtraPaul0] Unexpected exception: Can't manage zombie player in this game state (5)#
#0 /var/tournoi/release/tournoi-200730-1036-gs/www/include/APP_GameAction.inc.php(223): Table->checkReturnState()#
#1 /var/tournoi/release/tournoi-200730-1036-gs/www/include/APP_GameAction.inc.php(216): APP_GameAction->ajaxResponseWithResult(NULL)#
#2 /var/tournoi/release/tournoi-200730-1036-gs/www/include/APP_GameAction.inc.php(171): APP_GameAction->ajaxResponse()#
#3 /var/tournoi/release/tournoi-200730-1036-gs/www/include/webActionCore.inc.php(135): APP_GameAction->wakeupPlayers()#
#4 /var/tournoi/release/tournoi-200730-1036-gs/www/index.php(230): launchWebAction('cacao', 'action_cacao', 'wakeupPlayers', false, false, NULL, true, false)#
#5 {main}h
http://1.studio.boardgamearena.com/1/ca ... 1690341611
11/08 20:03:52 [notice] [T178499] [2325352/ExtraPaul0] ER-100 302 d1 c0 e227 m0 I300 A0 V0 T0 /1/cacao/cacao/wakeupPlayers.html?table=178499&testuser=2325352&dojo.preventCache=1597169034161
This occurs :
- when players can carry out jungle tiles action (the game is in "multipleactiveplayer");
- when the leaving player must choose a jungle tile.