Hello,
In Memoir44 game only for 2 players, I developped a Campaign mode, in this mode, sometimes some player are complaining about this error that happen only at end of round when the player are seeing their stats results. When pressing the Proceed to next round , takeAction 'actProceed' is launched for each player, both players are active.
I just could reproduce this error when the second player clicked on proceed to next round button.
{"status":"0","exception":"feException","error":"Error: generated notifications are larger than 128k (132510) (reference: GS1 08\/10 20:21:13)","expected":0,"code":100,"args":null,"stack":"
#0 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/Table.php(3356): Bga\\GameFramework\\Table->sendNotificationPacket('...', 29, Array)\n
#1 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GamePage.php(315): Bga\\GameFramework\\Table->sendNotifications()\n
#2 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GamePageAction.php(133): Bga\\GameFramework\\GamePage->getAjaxResponseResult(NULL)\n
#3 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GameAction.php(44): Bga\\GameFramework\\GamePageAction->ajaxResponseWithResult(NULL)\n
#4 \/var\/tournoi\/release\/games\/memoir\/999999-9999\/memoir.action.php(68): Bga\\GameFramework\\GameAction->ajaxResponse()\n
#5 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GameAction.php(127): action_memoir->actProceed()\n
#6 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GamePageAction.php(332): Bga\\GameFramework\\GameAction->performServerAction('...')\n
#7 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/include\/webActionCore.inc.php(175): Bga\\GameFramework\\GamePageAction->performServerAction('...')\n
#8 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/index.php(262): launchWebAction('...', '...', '...', false, false, NULL, true, false)\n#9 {main}"}
Is it normal to have an Ajax response NULL, ajaxResponseWithResult(NULL), in act proceed function I don't send any notification in this state here is the code for long time :
in memoir.action
public function actProceed()
{
self::setAjaxMode();
$this->game->actProceed();
self::ajaxResponse();
}
in the RoundTrait Php
public function actProceed()
{
self::checkAction('actProceed');
$pId = $this->getCurrentPId();
$this->gamestate->setPlayerNonMultiactive($pId, 'done');
}
In Memoir44 game only for 2 players, I developped a Campaign mode, in this mode, sometimes some player are complaining about this error that happen only at end of round when the player are seeing their stats results. When pressing the Proceed to next round , takeAction 'actProceed' is launched for each player, both players are active.
I just could reproduce this error when the second player clicked on proceed to next round button.
{"status":"0","exception":"feException","error":"Error: generated notifications are larger than 128k (132510) (reference: GS1 08\/10 20:21:13)","expected":0,"code":100,"args":null,"stack":"
#0 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/Table.php(3356): Bga\\GameFramework\\Table->sendNotificationPacket('...', 29, Array)\n
#1 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GamePage.php(315): Bga\\GameFramework\\Table->sendNotifications()\n
#2 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GamePageAction.php(133): Bga\\GameFramework\\GamePage->getAjaxResponseResult(NULL)\n
#3 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GameAction.php(44): Bga\\GameFramework\\GamePageAction->ajaxResponseWithResult(NULL)\n
#4 \/var\/tournoi\/release\/games\/memoir\/999999-9999\/memoir.action.php(68): Bga\\GameFramework\\GameAction->ajaxResponse()\n
#5 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GameAction.php(127): action_memoir->actProceed()\n
#6 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/Bga\/GameFramework\/GamePageAction.php(332): Bga\\GameFramework\\GameAction->performServerAction('...')\n
#7 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/include\/webActionCore.inc.php(175): Bga\\GameFramework\\GamePageAction->performServerAction('...')\n
#8 \/var\/tournoi\/release\/tournoi-251003-0935-gs\/www\/index.php(262): launchWebAction('...', '...', '...', false, false, NULL, true, false)\n#9 {main}"}
Is it normal to have an Ajax response NULL, ajaxResponseWithResult(NULL), in act proceed function I don't send any notification in this state here is the code for long time :
in memoir.action
public function actProceed()
{
self::setAjaxMode();
$this->game->actProceed();
self::ajaxResponse();
}
in the RoundTrait Php
public function actProceed()
{
self::checkAction('actProceed');
$pId = $this->getCurrentPId();
$this->gamestate->setPlayerNonMultiactive($pId, 'done');
}