Hi, I was killed in our game early on and my friends want me to return as one of AIs. Can you add me back to the game as Hungary? Hungary is being played by AI at the moment.
Best regards,
Esa
Hi, I was killed in our game early on and my friends want me to return as one of AIs. Can you add me back to the game as Hungary? Hungary is being played by AI at the moment.
Best regards,
Esa
Hello,
First off, your game master may be able to set the AI player as needing substituion. You can then try joining. Tell them to look under admin tools.
If that does not work. Provide some more information.
Hi, thanks for quick reply. I will talk with our current host.
I was the original host (and creator) of the game session and I was surprised that I loose the admin view in the page.
Thank you,
Esa
Hi,
We checked the substitution options in the Admin-view; there are following views:
Have we missed something? As the original host, I was able to see the Admin view before I got killed off.
Game details:
The game started with 4 players and 4 AIs; we did not leave any empty slots for the game.
Best regards,
Esa
I think youâll need to edit the game to change it to 5 players / 3 AI since your civ is dead. At that point if âAllow users to join after startâ is checked you should be able to join the game.
Thanks - I will look into that. Are there instructions somewhere regarding editing on-going game?
I assume I need to
Would this be correct process or did I miss something?
I assume I will continue where AI was on turn 64? (The turn when I got eliminated). As you can see, The game has changed to 7 civs and I do not even appear in the lobby anymore. I was originally playing as France.

Last question: is the name I put to the player case sensitive or case insensitive? Does it matter if I write there âesaâ or âEsaâ? (in terms of how PYDT assigns players to slots?)
Update: I noticed that I had set âAllow Users to Join After Start: Noâ. This means that I cannot join back to the game?
Best regards,
Esa
Ok, I checked the git repo and and it seems that it is not possible to join a game while âAllow Users to Join After Startâ-flag is set to ânoâ.
But it seems that it is possible to edit on-going game and set âAllow Users to Join After Startâ to âyesâ once the game is started. I will ask our current host if this option is visible in the UI
Related code that I went through:
# edit.ts
public async edit(
...
): Promise<Game> {
const game = await this.gameRepository.getOrThrow404(gameId);
// ...no conditions that I can see that would prevent this...
game.allowJoinAfterStart = body.allowJoinAfterStart;
# join.ts
public async join(
...
): Promise<Game> {
const game = await this.gameRepository.getOrThrow404(gameId);
let targetPlayer: GamePlayer;
if (game.inProgress) {
if (!game.allowJoinAfterStart) {
throw new HttpResponseError(400, 'Game does not allow joining after start!');
}
targetPlayer = game.players.find(player => ...
<!--
config.component.html - input seems to be visible always.
-->
<input type="checkbox" [(ngModel)]="model.allowJoinAfterStart" />
Since the value is nullable in database, alternative would be to set this flag to null or true in database? Since I havenât checked the code more deeply, I donât know if this has other implications - or whether it would break something.
The admin (merowin?) should be able to edit the game and change those settings, i believe
What about my original assumption about how to edit the on-going game?
Will this work? See my original question earlier in the thread.
Br,
Esa
I donât think you need to worry about it, PYDT should edit the save.
Unfortunately we were not able to get this to work. What we did:
Current host (= player with current turn) did following:
Set âAllow Users to Join After Startâ-flag to âtrueâ.
Reset game state in web site.
Open PYDT client and download the turn.
Open Civ 6, load the save file (â(PYDT) Play This One!.Civ6Saveâ) as hotseat.
In lobby, set AI in slot 6 (Hungary) to âHumanâ with name âesaâ.
Start game.
After game loaded, we tried to upload the save file in two ways (using the client):
a) immediately without making a turn, and
b) after making the turn.
Both times the PYDT client reported: Couldn't detect the current player in the save file. If you're converting this game from PBC or Online multiplayer, you may need to play a turn in Hotseat mode to get the file converted properly.
What does âplay a turn in Hotseat modeâ in this context mean? Does it mean that current host makes the turn, saves, and we replace the AI in the next players turn, or does it mean that all remaining three players must play one round first?
Br,
Esa
I think youâre making this harder than it needs to be, just try joining the game on the game page. PYDT should take care of everything.
True. I just found out about this feature now⌠![]()
Unfortunately I get following error:
I suppose the game has not yet detected that I am dead?
Br,
Esa
Ahh, yeah, I put out a fix to allow dead players to rejoin if you want to try again.
I suppose you are talking about commit bd489018 in api repo?
Great! Thank you for the effort!
Br, Esa