Opened 8 years ago

Last modified 20 months ago

#3858 new defect

Make AI serialization fully "reproducible" — at Initial Version

Reported by: Imarok Owned by:
Priority: Must Have Milestone: Backlog
Component: AI Keywords: AI, Serialization, beta
Cc: Andy Alt Patch:

Description

This would allow rejoining multiplayer games with AI without having an OOS. As said in this posthttps://wildfiregames.com/forum/index.php?/topic/20592-out-of-sync-error-still-a-known-issue/&do=findComment&comment=314691 the state of the AI after serialization is not exactly the same state as before.

Change History (2)

by mimo, 8 years ago

Attachment: AITerritory.patch added

let the AI recomputes territories only when receiving TerritoriesChanged events, to cure one of the nonreproducibilities

by mimo, 8 years ago

Attachment: AITerritory-v2.patch added

fixed version taking DiplomacyChanged events into account

Note: See TracTickets for help on using tickets.