Page 1 of 1

AI script error

Posted: Wed May 31, 2017 12:29 pm
by EricF
Just an FYI, when I conquered the last AI planet, but the AI still had a few ships, I get this error msg;

AI_3: AI_Error: AI script error in "calculate_priorities": "Unable to find key in unordered_map."
AI_3: AI_Error: AI script error in "assign_military_fleets_to_systems": "Unable to find key in unordered_map."

Re: AI script error

Posted: Wed May 31, 2017 6:09 pm
by Dilvish
Thanks. If you could post the AI_3.log from that game (or post a zipped savegame file for it) that should have a little more info about just where in the code those errors are coming from.

Re: AI script error

Posted: Wed May 31, 2017 9:05 pm
by EricF
Yea sorry, I should have thought of that. I don't have that game anymore.
I just finished a new game and didn't notice that error msg this time.

Re: AI script error

Posted: Wed Jun 07, 2017 4:58 am
by EricF
OK, got the exact same error msg again on a new game. Same situation. Conquer AI's last planet but he still has warships.
Here is the AI log
AI_13.rar
(344.64 KiB) Downloaded 58 times

Re: AI script error

Posted: Wed Jun 07, 2017 4:59 am
by EricF
freeorion log
freeorion.rar
(192.03 KiB) Downloaded 64 times

Re: AI script error

Posted: Wed Jun 07, 2017 5:00 am
by EricF
freeoriond log
freeoriond.rar
(399.71 KiB) Downloaded 57 times

Re: AI script error

Posted: Wed Jun 07, 2017 5:01 am
by EricF
Save game file too large even zipped.

Re: AI script error

Posted: Wed Jun 07, 2017 5:11 am
by Dilvish
That AI log file is helpful, thanks. I'll see what I can do.