1.21 BUG - My Own Ships Teleporting and Attacking Me - Fix coming

Ask here if you experience technical problems with X4: Foundations.

Moderator: Moderators for English X Forum

Dusty Shoe
Posts: 25
Joined: Sun, 17. Nov 13, 03:45
x4

Re: [1.31-Beta] Some of my ships attacking player piloted ship

Post by Dusty Shoe » Sun, 9. Dec 18, 21:52

The ships that are in question indeed are liberated pirate/criminal ships. Nothing like this happened to bought or abandoned ships that i found. And regarding to second one they weren't protecting ship i fly. They were sent to explore the sector Grand Exchange III and i just happened to be in this sector as well.
Last edited by Dusty Shoe on Mon, 10. Dec 18, 07:42, edited 1 time in total.

Ranix
Posts: 338
Joined: Thu, 5. Jan 06, 22:54
x4

Re: [1.31-Beta] Some of my ships attacking player piloted ship

Post by Ranix » Mon, 10. Dec 18, 00:12

j.harshaw wrote:
Sun, 9. Dec 18, 21:23
Could one of you ladies or gentlemen please provide a save where this is happening? Would cut down a lot on the time needed to track down the issue.

So far, the common threads among these reports are:
1. The ships are always recently-liberated pirate ships.
2. Ships are often protecting another ship.

Would be particularly interested to know if that first point is true. Were they ALWAYS captured rather than found abandoned and claimed? And were they always once pirate ships? It would be useful to know if there is even one single exception.
I can do you one better, I have a repro:

assign a frigate to guard a station
make sure the ship's commander is the station
set a fighter to protect that frigate, and try to have it dock at the Frigate
give the frigate a new command without changing its commander (pick up an item, fly to position, etc)
the frigate will bug out and become an NPC upon completing the command. The game may crash depending on what the previous order was.

I speculate that there is a system to allow a wing leader to give wing members orders and wait for the orders to complete (like recall subordinates) and there is also a similar system to let stations give subordinates orders, and when the station and the wing leader are trying to do it at the same time there's a race. But this is just speculation

I think there might be big problems any time you create a wing and assign it to defend a station, or if you add ships that were already defending a station but not in a wing to a wing

User avatar
Hador
Posts: 335
Joined: Wed, 6. Nov 02, 20:31
x4

Re: [1.31-Beta] Some of my ships attacking player piloted ship

Post by Hador » Mon, 10. Dec 18, 02:03

Here my savegame: https://filehorst.de/d/cHjqHJqH
How I reproduce this bug:
I give some orders to two of my ships to discover some sectors (done already in this savegame). If I load the savegame they will mostly do their work. Meanwhile I discover manually where I am and for this I fly with travelspeed and switching to longrangescan and back to travelspeed again etc.
After a short time, one or somethimes both of my ships plop up in front oif me. The time for them to fly at my position would never be enough. They always will attack me. So I check they order. The ones I give for discovering are gone and just 1 order "attack" is on theyr todo list.

Seems the original order will be exchanged to a attack order. And then they teleport in my actually sector right in fron of me.

SirDeity12
Posts: 90
Joined: Sun, 2. Dec 18, 00:48

Re: [1.31-Beta] Some of my ships attacking player piloted ship

Post by SirDeity12 » Mon, 10. Dec 18, 02:28

I have two different combat ships that will attack me seemingly randomly. I believe both were captured from pirates and claimed. It isn't true however that they must be protecting anything. They seem to abandon the orders I give them and try to hunt me down regardless of whether they are protecting something or patroling or exploring. They also don't need to be in a fleet. I'll see if I can recreate the issue by undocking the two ships and issueing a command. I'll upload my saved game when I notice them coming after me again.

Thanks j.harshaw!

j.harshaw
EGOSOFT
EGOSOFT
Posts: 1873
Joined: Mon, 23. Nov 15, 18:02

Re: [1.31-Beta] Some of my ships attacking player piloted ship

Post by j.harshaw » Mon, 10. Dec 18, 11:44

Hador wrote:
Mon, 10. Dec 18, 02:03
Here my savegame: https://filehorst.de/d/cHjqHJqH
Thank you very much for the save.

HJC-745 Kestrel Vanguard and CXA-575 Discoverer Sentinel no longer randomly mutiny on my local save. Will test it a bit more then check it in. Fix should make it into a future build.

@SirDeity12, thanks much for confirming the situation. Suspected that my point 2 earlier was irrelevant, and it looks like it is indeed the case.

Workaround until you get the fix is to park the ships you captured from pirates somewhere and make sure that they have no pilots.

User avatar
Hador
Posts: 335
Joined: Wed, 6. Nov 02, 20:31
x4

Re: [1.31-Beta] Some of my ships attacking player piloted ship

Post by Hador » Mon, 10. Dec 18, 17:12

j.harshaw wrote:
Mon, 10. Dec 18, 11:44
Hador wrote:
Mon, 10. Dec 18, 02:03
Here my savegame: https://filehorst.de/d/cHjqHJqH
Thank you very much for the save.

HJC-745 Kestrel Vanguard and CXA-575 Discoverer Sentinel no longer randomly mutiny on my local save. Will test it a bit more then check it in. Fix should make it into a future build.

@SirDeity12, thanks much for confirming the situation. Suspected that my point 2 earlier was irrelevant, and it looks like it is indeed the case.

Workaround until you get the fix is to park the ships you captured from pirates somewhere and make sure that they have no pilots.
Please try to reproduce by flying with traveling speed, then switch fast to longrange scan. Scan and switch back fast to traveling speed again. Do so for a while (maybe 10min.) This forces the bug anytime if I do so.

User avatar
TheIrishAce
Posts: 9
Joined: Sun, 2. Dec 18, 04:27
x4

[1.31] (324020) Bug | My AI ships targeting me

Post by TheIrishAce » Mon, 10. Dec 18, 22:11

So I know this has been posted somewhere on here before but I want to make sure it's logged as being existent in version 1.31.

So the bug I'm experiencing currently is when my own AI ship targets me and threaten me over comms. The ship that's treating me is a fighter that's part of an escort wing, and the ship in question was acquired from a pirate.
One thing I've noticed is that the attacking fighter has the behavior of "Attack Target" and I'm the target that's defined.
Obviously I didn't tell it to target me so this is where the bug is occurring, in the behavior section.

I've included a save file so I hope it can be of use.
https://www.mediafire.com/file/qzy0zjnj ... ml.gz/file

Thanks
Irish

SirDeity12
Posts: 90
Joined: Sun, 2. Dec 18, 00:48

Re: 1.21 BUG - My Own Ships Teleporting and Attacking Me - Fix coming

Post by SirDeity12 » Tue, 11. Dec 18, 02:10

Here's a couple saves (one from shortly before the incident) and one immediately after the incident. Note: The one before the incident was during yesterday's game session. The player owned ship that attacked me had the same orders though. If you wish to reproduce the issue beginning from the "before_agro.xml" saved game, simply fly around for a while until the player owned ship shows up to attack you. The issue should occur within an hour or so of flying around aimlessly.

https://filebin.net/lk1dr4vd038pevi1

User avatar
Hador
Posts: 335
Joined: Wed, 6. Nov 02, 20:31
x4

Re: 1.21 BUG - My Own Ships Teleporting and Attacking Me - Fix coming

Post by Hador » Thu, 13. Dec 18, 01:18

Seems it's fixed. Thank you! :)

Post Reply

Return to “X4: Foundations - Technical Support”