待辦事項 #42583

autogame : many things are done after saving a game. (5 minutes)

啟用日期: 2021-06-27 19:15 最後更新: 2023-09-07 01:32

回報者:
負責人:
(無)
類型:
狀態:
開啟
元件:
里程碑:
(無)
優先權:
5 - 中
嚴重程度:
5 - 中
處理結果:
檔案:

細節

I test autogame S3_0 with WW1 1900 scenario, which is very slow (and i am trying to find out why...)

I started from a previous saved game at turn 20 , and configure to end at turn 21, and save every turn.

The T21 was saved , but the server conitnued to do things during 5 minutes.

what is it doing ? (or where is this described , i read all the docs , but did not found the AI internal logic or at least main steps)

Do this mean that if i start from this save game, those 5 minutes computations will be lost ?

$ time fc30-server -r civ-WW1.serv 
...
Pour obtenir une aide sommaire, tapez 'help'.
> 
Le joueur 'Vittorio-Emanuele III' a maintenant le niveau IA 'Difficile'.
Le joueur 'Wilhelm II' a maintenant le niveau IA 'Difficile'.
Le joueur 'George V' a maintenant le niveau IA 'Difficile'.
Le joueur 'Émile Loubet' a maintenant le niveau IA 'Difficile'.
....
> 
Partie sauvegardée sous freeciv-WW1-T0021-Y01920-auto.sav.xz
> 
1: Did not find a cm solution in 27500 iterations for Wien.
> 
2: Retrait du joueur Vittorio-Emanuele III.
2: Retrait du joueur Wilhelm II.
2: Retrait du joueur George V.
2: Retrait du joueur Émile Loubet.
2: Retrait du joueur Nicholas II.
...
> 
real	14m6,010s
user	14m5,715s
sys	0m0,092s

My config file is :

$ cat civ-WW1.serv
# AL1 autogame to investigate.
load freeciv-WW1-T0020-Y01919-auto.sav.xz

# no human needed
set minplayers 0
set maxplayers 30
set aifill 30

set endturn 21

set autosave TURN
set savename freeciv-WW1
set saveturns 1

# server only autogame
set ec_turns 0
set timout -1

start

Ticket History (3/3 Histories)

2021-06-27 19:15 Updated by: alain_bkr
  • New Ticket "autogame : many things are done after saving a game. (5 minutes)" created
2023-03-10 17:12 Updated by: None
評語

any hint is welcome

2023-09-07 01:32 Updated by: cazfi
評語

Autosave happens at turn change. The wait was likely AI doing stuff at the beginning of the turn.

Attachment File List

No attachments

編輯

Please login to add comment to this ticket » 登入