FreeOrion

Forums for the FreeOrion project
It is currently Sat Nov 18, 2017 6:20 am

All times are UTC


Forum rules


Always mention the exact version of FreeOrion you are testing.

When reporting an issue regarding the AI, if possible provide the relevant AI log file and a save game file that demonstrates the issue.



Post new topic Reply to topic  [ 8 posts ] 
Author Message
 Post subject: AI script error
PostPosted: Wed May 31, 2017 12:29 pm 
Offline
Dyson Forest
User avatar

Joined: Fri Jul 29, 2016 10:12 am
Posts: 217
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."


Top
 Profile  
 
 Post subject: Re: AI script error
PostPosted: Wed May 31, 2017 6:09 pm 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4374
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.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
 Post subject: Re: AI script error
PostPosted: Wed May 31, 2017 9:05 pm 
Offline
Dyson Forest
User avatar

Joined: Fri Jul 29, 2016 10:12 am
Posts: 217
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.


Top
 Profile  
 
 Post subject: Re: AI script error
PostPosted: Wed Jun 07, 2017 4:58 am 
Offline
Dyson Forest
User avatar

Joined: Fri Jul 29, 2016 10:12 am
Posts: 217
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
Attachment:
AI_13.rar [344.64 KiB]
Downloaded 5 times


Top
 Profile  
 
 Post subject: Re: AI script error
PostPosted: Wed Jun 07, 2017 4:59 am 
Offline
Dyson Forest
User avatar

Joined: Fri Jul 29, 2016 10:12 am
Posts: 217
freeorion log

Attachment:
freeorion.rar [192.03 KiB]
Downloaded 5 times


Top
 Profile  
 
 Post subject: Re: AI script error
PostPosted: Wed Jun 07, 2017 5:00 am 
Offline
Dyson Forest
User avatar

Joined: Fri Jul 29, 2016 10:12 am
Posts: 217
freeoriond log

Attachment:
freeoriond.rar [399.71 KiB]
Downloaded 5 times


Top
 Profile  
 
 Post subject: Re: AI script error
PostPosted: Wed Jun 07, 2017 5:01 am 
Offline
Dyson Forest
User avatar

Joined: Fri Jul 29, 2016 10:12 am
Posts: 217
Save game file too large even zipped.


Top
 Profile  
 
 Post subject: Re: AI script error
PostPosted: Wed Jun 07, 2017 5:11 am 
Offline
AI Lead, Programmer
User avatar

Joined: Sat Sep 22, 2012 6:25 pm
Posts: 4374
That AI log file is helpful, thanks. I'll see what I can do.

_________________
If I provided any code, scripts or other content here, it's released under GPL 2.0 and CC-BY-SA 3.0


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 8 posts ] 

All times are UTC


Who is online

Users browsing this forum: Bing [Bot] and 1 guest


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group