Hmmm well, errorlog first and foremost.
Add this to your config file and mark read only:
[log]
to = logs/errorlog.txt
level = * error
Then in the game, toggle_fow and show AI moves. Then end turn and see what happens. Check where/when the problem exactly occurs.
Then after it occurs and/or your game crashes, check the generated errorlog file.
Bookmarks