I cannot figure out zombieTurn

Game development with Board Game Arena Studio
User avatar
JonChambers
Posts: 97
Joined: 03 July 2021, 11:40

I cannot figure out zombieTurn

Post by JonChambers »

So, I ran a very long and complicated zombieTurn
Unexpected error: Propagating error from GS 1 (method: zombie): Not logged
Okay, probably called "currentPlayer" somewhere, let's isolate this:

Code: Select all

    function zombieTurn( $state, $active_player )
    {
        throw new BgaVisibleSystemException( "Zombie mode failed" );
        ...
Unexpected error: Propagating error from GS 1 (method: zombie): Not logged
Maybe...

Code: Select all

    function zombieTurn( $state, $active_player )
    {
        throw new BgaSystemException( "Zombie mode failed" );
        ...
Unexpected error: Propagating error from GS 1 (method: zombie): Not logged
Okay, what if I try...

Code: Select all

    function zombieTurn( $state, $active_player )
    {
        return;
        ...
Unexpected error: Propagating error from GS 1 (method: zombie): Not logged
Okay...

Code: Select all

    function zombieTurn( $state, $active_player )
    {
        obviouslyAGibberishCommand;
        ...
Unexpected error: Propagating error from GS 1 (method: zombie): Not logged
Hmmm...

Code: Select all

    function zombieTurn( $state, $active_player )
    {
        //everything commented out
    }
        ...
Unexpected error: Propagating error from GS 1 (method: zombie): Not logged
I'm starting to suspect it isn't even reading my code. I cannot even get a different error. What have I missed?
User avatar
Tisaac
Posts: 2736
Joined: 26 August 2014, 21:28

Re: I cannot figure out zombieTurn

Post by Tisaac »

Have you checked the troubleshooting page ?
User avatar
JonChambers
Posts: 97
Joined: 03 July 2021, 11:40

Re: I cannot figure out zombieTurn

Post by JonChambers »

Tisaac wrote: 25 September 2021, 07:48 Have you checked the troubleshooting page ?
That was the first thing I did. Why? What did I miss?
User avatar
robinzig
Posts: 459
Joined: 11 February 2021, 18:23

Re: I cannot figure out zombieTurn

Post by robinzig »

You've certainly proved that the problem isn't due to anything in zombieTurn. So what else have you changed?
User avatar
JonChambers
Posts: 97
Joined: 03 July 2021, 11:40

Re: I cannot figure out zombieTurn

Post by JonChambers »

robinzig wrote: 25 September 2021, 08:53 You've certainly proved that the problem isn't due to anything in zombieTurn. So what else have you changed?
I thought zombieTurn was its own isolated thing. What else CAN I change?
User avatar
robinzig
Posts: 459
Joined: 11 February 2021, 18:23

Re: I cannot figure out zombieTurn

Post by robinzig »

I'm not sure I follow. I got the impression that you had tried to implement zombieTurn and the game had started crashing with that sadly uninformative error while you were trying to test it. Since you have proved that the zombieTurn method isn't even getting looked at, this shows that something else must be wrong - so I'm asking what other code you have changed since the game last worked.

I suppose another possibility is that there's been this bug for a long time and whatever you are doing now is triggering it for the first time. But without any details of either code or what you are/were doing that's triggered this problem then it's impossible to help.
Last edited by robinzig on 25 September 2021, 10:41, edited 1 time in total.
User avatar
Tisaac
Posts: 2736
Joined: 26 August 2014, 21:28

Re: I cannot figure out zombieTurn

Post by Tisaac »

How exactly do you reach that error ? Is the game in progress and you quit with the active player ?
User avatar
JonChambers
Posts: 97
Joined: 03 July 2021, 11:40

Re: I cannot figure out zombieTurn

Post by JonChambers »

robinzig wrote: 25 September 2021, 09:18 I'm not sure I follow. I got the impression that you had tried to implement zombieTurn and the game had started crashing with that sadly uninformative error while you were trying to test it. Since you have proved that the zombieTurn method isn't even getting looked at, this shows that something else must be wrong - so I'm asking what other code you have changed since the game last worked.

I suppose another possibility is that there's been this bug for a long time and whatever you are doing now is triggering it for the first time. But without any details of either code or what you are/were doing that's triggered this problem then it's impossible to help.
"Since it last worked"... I'm coding it now. It has never worked. I'm not even fully sure I know what it would look like working. This error message is the only message I've ever seen. In retrospect, I should have done the Continuous Integration thing and ran it before coding to see what the normal error is.
Tisaac wrote: 25 September 2021, 10:37 How exactly do you reach that error ? Is the game in progress and you quit with the active player ?
Set up the game for two players. Wait two and a half minutes. Then, from the player who's turn it isn't, boot the player who's turn it is. Wait another twenty seconds. Click to confirm. Error.

While I'm here, is there a way of reproducing the error that doesn't take three minutes? Nothing in the documentation tells me how I'm supposed to test it, so that was my best guess.
User avatar
JonChambers
Posts: 97
Joined: 03 July 2021, 11:40

Re: I cannot figure out zombieTurn

Post by JonChambers »

Tisaac wrote: 25 September 2021, 10:37 How exactly do you reach that error ? Is the game in progress and you quit with the active player ?
Ah, I didn't even know I could do that. I tried that also. Same error.
User avatar
JonChambers
Posts: 97
Joined: 03 July 2021, 11:40

Re: I cannot figure out zombieTurn

Post by JonChambers »

Does this mean anything to anyone?
25/09 12:00:44 [error] [T314691] [147.10.213.49] [2352892/JonChambers0] Unexpected exception: Propagating error from GS 1 (method: zombie): Not logged#
#0 /var/tournoi/release/tournoi-210922-1031-gs/www/game/module/table/table.game.php(1625): APP_DbObject->masterNodeRequest('expelOutOfTimeP...', Array)#
#1 /var/tournoi/release/tournoi-210922-1031-gs/www/include/APP_GameAction.inc.php(262): Table->skipPlayersOutOfTime(false)#
#2 /var/tournoi/release/tournoi-210922-1031-gs/www/include/webActionCore.inc.php(189): APP_GameAction->skipPlayersOutOfTime()#
#3 /var/tournoi/release/tournoi-210922-1031-gs/www/index.php(259): launchWebAction('ladyschoice', 'action_ladyscho...', 'skipPlayersOutO...', false, false, NULL, true, false)#
#4 {main}h
http://1.studio.boardgamearena.com/1/la ... 2564041483
Looks to me like a whole heap of files I don't have access to modify.
Post Reply

Return to “Developers”