Fleet Automation: Invading/Attacking Allies

Moderator: MOD_DW2

Post Reply
Eratosthenes
Posts: 8
Joined: Fri Jun 20, 2025 4:35 pm

Fleet Automation: Invading/Attacking Allies

Post by Eratosthenes »

I recently ended a war that had multiple combatants. I'm now not at war with anyone.

My Attack/Raid/Invasion fleets are continuously trying to invade other planets, though, belonging to allies, as well as those I was last at war with.

I don't have a planet in the system they're trying to invade (nor influence over the system.)

I checked and the planet is not marked to be invaded.

I can distract the fleet momentarily, but they are insistent on invading/attacking/blockading. This didn't happen prior to going to war. I noticed that an AI I was NOT at war with also invaded one of my worlds.

It's almost like the "at war" flag isn't clearing w/r/t fleet automation.
Eratosthenes
Posts: 8
Joined: Fri Jun 20, 2025 4:35 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by Eratosthenes »

It has made my game practically unplayable, as the problem is just getting worse. Fleets are wanting to invade allies, and my ships are attacking unaffiliated ones. Unless I set everything to manual - which is not tenable - my reptuation gets tanked, and my relations sour (I went from +55 down to -12 due to bad behavior, and one former allie has a -450 reputation penalty from attacks against their ships).

I'm just constantly canceling missions, and I can't get my fleets to retrofit or reload troops because they're just continously flying off to invade some planet in an empire I'm at peace with.
User avatar
MaximKI
Posts: 2288
Joined: Thu Oct 20, 2022 12:29 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by MaximKI »

Do you have saves and screenshots showing this? Is this reproducible from your save?
Eratosthenes
Posts: 8
Joined: Fri Jun 20, 2025 4:35 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by Eratosthenes »

I do, though I get "file too large" for including (save file, zipped via 7z, is 26mb)
Eratosthenes
Posts: 8
Joined: Fri Jun 20, 2025 4:35 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by Eratosthenes »

Attached two screenshots.

Top two fleets were previously loading troops. When that mission finished, they automatically set themselves to invade a planet.

As you can see from the SS's, that planet belongs to someone I'm at peace with (I was at war with them recently).

This didn't happen prior to me going to war. Perhaps some sort of war flag or invade mission isn't being reset?
Attachments
Dhayut Inquisition
Dhayut Inquisition
Diplo Status.jpg (644.78 KiB) Viewed 15215 times
Fleets with automatic mission to invade a planet
Fleets with automatic mission to invade a planet
Fleets Invading Ally.jpg (617.27 KiB) Viewed 15215 times
User avatar
MaximKI
Posts: 2288
Joined: Thu Oct 20, 2022 12:29 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by MaximKI »

What version of the game are you seeing this on?

I did see your PM - you can upload or send us a save by sharing it through a file-sharing service like Google Drive or WeTransfer, or you can email at this address: maxim.k@slitherine.co.uk.
Eratosthenes
Posts: 8
Joined: Fri Jun 20, 2025 4:35 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by Eratosthenes »

Save file (zipped) is here: https://drive.google.com/file/d/1h_uLBq ... sp=sharing

Running the latest version.
User avatar
MaximKI
Posts: 2288
Joined: Thu Oct 20, 2022 12:29 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by MaximKI »

Thanks for the save. Looking into it I don't see your Raging Bulls fleet attacking or invading the faction in your screenshot. I do see the fleet Deadly Spectres on a mission to attack a colony of one of your allies. Cancelling the order manually, the fleet does not pick up the mission again. Do you happen to have a save from before this moment?

Also, we released v1.3.1.0 as a public beta. Are you seeing the issue on this version?
Eratosthenes
Posts: 8
Joined: Fri Jun 20, 2025 4:35 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by Eratosthenes »

I have not tried it on the beta release, no, sorry.

How far back would you like me to go?

Here's one save from a few years before this instance, but I believe after my first war with the Dhayuts: https://drive.google.com/file/d/1aaCfW_ ... sp=sharing

Here's one a little later than the above when war flared up again, in part due to the issues I noted: https://drive.google.com/file/d/1V225XU ... sp=sharing

Also, you generally don't have to wait long before they try to invade someone they shouldn't, even after canceling.
User avatar
MaximKI
Posts: 2288
Joined: Thu Oct 20, 2022 12:29 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by MaximKI »

Ideally, we want a save from just before you see the fleet assigned an order to attack one of your allies' colonies. We know that this may be hard to catch.

Ultimately, we would want a save that consistently reproduces the behavior. If you have a situation where you're able to see this happening all the time, + steps to reproduce would be great.

By the way - are you playing the game modded at all?
Eratosthenes
Posts: 8
Joined: Fri Jun 20, 2025 4:35 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by Eratosthenes »

No mods. I did make use of the map editor in the beginning of the game, but that's it. Again, the problem only started showing up after I'd gone to war with someone.

It's very reproducible. As I said, just letting it run for a bit will see multiple fleets assigned to invade planets I'm not at war with, in any of the saves. It happens constantly.

I'd cancel the fleet's commands, and it may go off and do something else, but shortly thereafter it wants to invade some planet.

I've multiple invasion and raid fleets; they all show the behavior.

I've even seen the AI invade one of my planets, when I was not at war with them, but that happened only once.
User avatar
MaximKI
Posts: 2288
Joined: Thu Oct 20, 2022 12:29 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by MaximKI »

Eratosthenes wrote: Thu Jul 10, 2025 2:05 pm No mods. I did make use of the map editor in the beginning of the game, but that's it. Again, the problem only started showing up after I'd gone to war with someone.

It's very reproducible. As I said, just letting it run for a bit will see multiple fleets assigned to invade planets I'm not at war with, in any of the saves. It happens constantly.

I'd cancel the fleet's commands, and it may go off and do something else, but shortly thereafter it wants to invade some planet.

I've multiple invasion and raid fleets; they all show the behavior.

I've even seen the AI invade one of my planets, when I was not at war with them, but that happened only once.
Just so that I know which fleets to look out for - did you see any specific named fleets in your saves take these weird ally invasion missions? This will help narrow things down in the investigation.

By the way, we released a new public beta, v1.3.1.1 - are you still seeing the issue on this version?
Eratosthenes
Posts: 8
Joined: Fri Jun 20, 2025 4:35 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by Eratosthenes »

Any of the Invasion (INV-XXX) fleets, Assault Fleets (ASF-XXX), or Raid Fleets (ASR-XXX). Basically anything carrying troops. Sometimes the attack fleets (LAF, MAF, or HAF) will go after something they shouldn't (like blockade a planet), but it's harder to tell and rarer.

I'll try to give the public beta a go this week.
JLC1
Posts: 3
Joined: Thu Jul 24, 2025 5:25 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by JLC1 »

I am having a similar issue. My fleets are attacking a (formerly at war) neutral faction AND the fleets of that faction are attacking my fleet. It's like the AI commands are stuck in the war state.

Here's a link to the save file: https://drive.google.com/file/d/1vDzAZg ... sp=sharing

It is very easy to see what is going on. On loading the save there will be a lot of combat notifications, and you can go to basically any of them. The neutral faction is Mcllun industries. You can also view multiple battle sites in my empire where fleets are locked in combat.

This save was made on the current main branch, and I tried switching to the beta 1.3.1.1.1 branch, but that did not fix it. I am not using any mods.

I hope this helps to find a solution. As with the other poster, this has basically put a stop to my campaign because of the constant forced battles.
User avatar
MaximKI
Posts: 2288
Joined: Thu Oct 20, 2022 12:29 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by MaximKI »

JLC1 wrote: Thu Jul 24, 2025 5:38 pm I am having a similar issue. My fleets are attacking a (formerly at war) neutral faction AND the fleets of that faction are attacking my fleet. It's like the AI commands are stuck in the war state.

Here's a link to the save file: https://drive.google.com/file/d/1vDzAZg ... sp=sharing

It is very easy to see what is going on. On loading the save there will be a lot of combat notifications, and you can go to basically any of them. The neutral faction is Mcllun industries. You can also view multiple battle sites in my empire where fleets are locked in combat.

This save was made on the current main branch, and I tried switching to the beta 1.3.1.1.1 branch, but that did not fix it. I am not using any mods.

I hope this helps to find a solution. As with the other poster, this has basically put a stop to my campaign because of the constant forced battles.
Thanks for this. Were you recently at war with this faction at all? Do you happen to have a save from before this situation, such as just before you end a war (if you were at war with the faction)?
JLC1
Posts: 3
Joined: Thu Jul 24, 2025 5:25 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by JLC1 »

MaximKI wrote: Wed Jul 30, 2025 1:07 pm
Thanks for this. Were you recently at war with this faction at all? Do you happen to have a save from before this situation, such as just before you end a war (if you were at war with the faction)?
Yes, I was recently at war with this faction (which was part of a a whole load of factions which were in a defensive pact together). I have found a save from shortly before the end of the war with Mcllun Industries: https://drive.google.com/file/d/1rUITZj ... sp=sharing
OrnluWolfjarl
Posts: 338
Joined: Fri Oct 20, 2017 8:36 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by OrnluWolfjarl »

You mentioned using the editor. Did you happen to add a new star system anywhere? I've had a similar issue with freighter behaviour (trying to unload resources at an uncolonized planet and doing extremely wonky pathfinding) when adding a new star system.
User avatar
MaximKI
Posts: 2288
Joined: Thu Oct 20, 2022 12:29 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by MaximKI »

@JLC1, have you used the editor at all to affect your game state?
JLC1
Posts: 3
Joined: Thu Jul 24, 2025 5:25 pm

Re: Fleet Automation: Invading/Attacking Allies

Post by JLC1 »

MaximKI wrote: Tue Sep 16, 2025 6:10 pm @JLC1, have you used the editor at all to affect your game state?
No, I had not used the editor at all.

No mods, no editor usage. All vanilla. This was the first game I started after purchasing the game.
Post Reply

Return to “Distant Worlds 2: Tech Support”