Finished game keeps telling new turn.

Politics, religion, war. They are nothing without a legacy that can stand the test of time. Lead any nation, and turn it into a mighty kingdom in one of the most compelling grand strategy games ever created.

Moderator: FOGK Moderators

Post Reply
Surt
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5225
Joined: Thu May 21, 2020 9:50 pm

Finished game keeps telling new turn.

Post by Surt »

"Expanded" multiplayer.
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Pocus
Ageod
Ageod
Posts: 8035
Joined: Tue Oct 02, 2012 3:05 pm

Re: Finished game keeps telling new turn.

Post by Pocus »

After checking the scripts, the engine actually never truly stops a game, even in single-player, even if I send the EndScenario engine command. I therefore conclude that this primitive is only used for statistics purposes and does nothing else.

So it's the same in MP: I can display the end-of-game screen, but the game itself keeps running. It's up to you to stop submitting orders.

If, on the other hand, we asked the engine to stop MP games, this would necessarily happen systematically, and you would never be able to continue playing in MP. I'm not sure that would be any better.
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
Surt
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5225
Joined: Thu May 21, 2020 9:50 pm

Re: Finished game keeps telling new turn.

Post by Surt »

Pocus wrote: Thu Nov 19, 2026 10:21 am After checking the scripts, the engine actually never truly stops a game, even in single-player, even if I send the EndScenario engine command. I therefore conclude that this primitive is only used for statistics purposes and does nothing else.

So it's the same in MP: I can display the end-of-game screen, but the game itself keeps running. It's up to you to stop submitting orders.

If, on the other hand, we asked the engine to stop MP games, this would necessarily happen systematically, and you would never be able to continue playing in MP. I'm not sure that would be any better.
In many previous MP games it goes to "complete" after the EndScenario so it must be a new MP game server bug.
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Pocus
Ageod
Ageod
Posts: 8035
Joined: Tue Oct 02, 2012 3:05 pm

Re: Finished game keeps telling new turn.

Post by Pocus »

The most probable explanation is that the server did not receive the signal, perhaps it somehow was updating or 'partly down', IDK, and so the game continue indefinitely.
I'll change so that the primitive is send each turn past the end turn. The doc indicates it's there to "signal" the game is over, and it has only a use in MP. My conclusion is that the command is just there to tell the server to stop.
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
Surt
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5225
Joined: Thu May 21, 2020 9:50 pm

Re: Finished game keeps telling new turn.

Post by Surt »

Pocus wrote: Fri Nov 20, 2026 6:41 am The most probable explanation is that the server did not receive the signal, perhaps it somehow was updating or 'partly down', IDK, and so the game continue indefinitely.
I'll change so that the primitive is send each turn past the end turn. The doc indicates it's there to "signal" the game is over, and it has only a use in MP. My conclusion is that the command is just there to tell the server to stop.
Is it active now or after next patch?
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
thomaswilliams
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 3
Joined: Fri Sep 26, 2025 9:45 am

Re: Finished game keeps telling new turn.

Post by thomaswilliams »

If this started happening after a recent update, it might be worth checking whether the issue is related to the multiplayer server rather than the end-game command itself. Comparing the behaviour in a single-player session and a multiplayer match could help narrow it down. It would also be useful to check whether other players are experiencing the same issue after the latest patch.
Pocus
Ageod
Ageod
Posts: 8035
Joined: Tue Oct 02, 2012 3:05 pm

Re: Finished game keeps telling new turn.

Post by Pocus »

Now, because the new patch arrived :mrgreen:
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
Surt
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5225
Joined: Thu May 21, 2020 9:50 pm

Re: Finished game keeps telling new turn.

Post by Surt »

Pocus wrote: Thu Nov 26, 2026 1:42 pm Now, because the new patch arrived :mrgreen:
Testing right away!
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Surt
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5225
Joined: Thu May 21, 2020 9:50 pm

Re: Finished game keeps telling new turn.

Post by Surt »

Surt wrote: Thu Nov 26, 2026 3:08 pm
Pocus wrote: Thu Nov 26, 2026 1:42 pm Now, because the new patch arrived :mrgreen:
Testing right away!
Played my turn now its the other ones turn, it didn't end yet, lets see what happens when they time out.
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Pocus
Ageod
Ageod
Posts: 8035
Joined: Tue Oct 02, 2012 3:05 pm

Re: Finished game keeps telling new turn.

Post by Pocus »

The function triggers every turn now in MP. If the game does not stop, I guess the server is at fault.
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
Surt
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5225
Joined: Thu May 21, 2020 9:50 pm

Re: Finished game keeps telling new turn.

Post by Surt »

Pocus wrote: Thu Nov 26, 2026 4:32 pm The function triggers every turn now in MP. If the game does not stop, I guess the server is at fault.
So it should have triggered now ...
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Pocus
Ageod
Ageod
Posts: 8035
Joined: Tue Oct 02, 2012 3:05 pm

Re: Finished game keeps telling new turn.

Post by Pocus »

There was a new turn? It's necessary for the check to trigger...
AGEOD Team - Makers of Kingdoms, Empires, ACW2, WON, EAW, PON, AJE, RUS, ROP, WIA.
Surt
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5225
Joined: Thu May 21, 2020 9:50 pm

Re: Finished game keeps telling new turn.

Post by Surt »

Pocus wrote: Fri Nov 27, 2026 7:47 am There was a new turn? It's necessary for the check to trigger...
nextturn.JPG
nextturn.JPG (61.74 KiB) Viewed 419 times
yes, the 2nd turn after the patch.
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
Surt
Field Marshal - Me 410A
Field Marshal - Me 410A
Posts: 5225
Joined: Thu May 21, 2020 9:50 pm

Re: Finished game keeps telling new turn.

Post by Surt »

And now its their turn again ...
There are 10 kind of hard problems in computer science, naming, cache invalidations and off-by-one errors.
There are also 10 kinds of people, those who understand binary and those who do not.
ethantaylor
Private First Class - Opel Blitz
Private First Class - Opel Blitz
Posts: 2
Joined: Mon Nov 30, 2026 4:50 pm

Re: Finished game keeps telling new turn.

Post by ethantaylor »

If the check only fires on turn transition, ending up back on their turn without the game stopping suggests either the finished condition wasn't true when evaluated or the stop wasn't persisted to the MP session. The server log around that second transition should show which one happened.
Post Reply

Return to “Field of Glory: Kingdoms”