MacOSX 10.6.7 + Xcode
There are cases there the AI can't explore. I looked and did some debugging on generateAIFleetOrders function
of the AIFleetMission.py, and found out the scout ship is being given a move order to its home planet,
Because of this the line below gives a "None" object, then its added on the fleet move order list.
aiFleetOrder = self.__getAIFleetOrderFromAITarget(aiFleetMissionType, aiTarget
The reason is that when the game is initialized, the home system considered
unexplored, and thus sometimes the scout is give order to explore its home system.
adding the system id to empire's explored system list seems to solve the problem.
//home_system->AddOwner(empire_id); // should be redundant
empire->AddExploredSystem(home_planet->SystemID()); // <-- added
Log in to post a comment.