[7.10]AI suicide trading with player stations in hostile zones

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

Moderator: Moderators for English X Forum

fipmip
Posts: 61
Joined: Tue, 27. Nov 18, 04:42

[7.10]AI suicide trading with player stations in hostile zones

Post by fipmip »

Expected behavior: AI traders should avoid travelling through zones they are at war with to make trades

Bugged Behavior: AI traders ignore relations with zones when pathfinding trades

Notes: I created a station in argon prime selling energy and hull parts. after a while i notice that HOP ships are trying to trade with it and are getting shot down by argon police. I think AI ships should consider sector relations before trading with 3rd party stations. however there should be further logic for stations belonging to the same faction but in a hostile sector, or special sectors like sanctuary of darkness or neutral pirate sectors.

save file to observe destroyed HOP ships around the station called "Oshtar Hulls." the station has a "block paranid" trade rule currently but can be turned off. https://easyupload.io/q9h6af
El Chancho
Posts: 33
Joined: Thu, 8. Aug 24, 22:41
x4

Re: [7.10]AI suicide trading with player stations in hostile zones

Post by El Chancho »

I noticed the same.

My ships will cross Xen space to trade even though they are blacklisted and the Sectors are blacklisted.

After I read this I realized that you're right, AI Faction ships are also crossing sectors they are at war with in my game.

We can't see their blacklists so maybe that is part of the game? Dumb but :)

I assume you have checked your blacklists ...

I can't provide a save game(because it says its modded) but if your game doesn't say its modded and you provide a save, they might look at it.

There are at least 3 posts regarding this bug since 7.00-7.10


viewtopic.php?t=466206&sid=ac39756fb4a5 ... 6b9933fbee
User avatar
Casishur
Posts: 2132
Joined: Fri, 1. Jul 05, 10:04
x4

Re: [7.10]AI suicide trading with player stations in hostile zones

Post by Casishur »

This is one of the reasons why the Xenon also lose masses of SE miners. They fly from one end of the universe to the other through enemy territory and are shot down before they even reach the target :-/
CPU Typ Ryzen 9 3900x
Grafikkarte Radeon RX 7600 XT 16GB
Arbeitsspeicher: Corsair Vengeance LPX 64GB (4 x 16 GB) DDR4 3200MHz
Motherboard Name/Typ MSI B550 Gaming Plus
Win 10 64 bit

Betty : Autopilot.... hat.... total Versagt.

Twitch https://www.twitch.tv/Casishur
Imperial Good
Moderator (English)
Moderator (English)
Posts: 4933
Joined: Fri, 21. Dec 18, 18:23
x4

Re: [7.10]AI suicide trading with player stations in hostile zones

Post by Imperial Good »

An improved behaviour might be if an NPC faction does a risk analysis on civilian actions, including buying ships. If the risk is too high, it might rule out that action. A risk might be determined high based on factors such as hostile fleets nearby, hostile sectors travelled through, e.t.c.

The only issue with such logic is it is probably quite expensive to compute. Possibly a cache of risk results could be used to reduce the need to constantly recalculate it, but such a cache might be massive or not effective due to how sparse the checks are.
El Chancho
Posts: 33
Joined: Thu, 8. Aug 24, 22:41
x4

Re: [7.10]AI suicide trading with player stations in hostile zones

Post by El Chancho »

Imperial Good wrote: Wed, 2. Oct 24, 01:15 An improved behaviour might be if an NPC faction does a risk analysis on civilian actions, including buying ships. If the risk is too high, it might rule out that action. A risk might be determined high based on factors such as hostile fleets nearby, hostile sectors travelled through, e.t.c.

The only issue with such logic is it is probably quite expensive to compute. Possibly a cache of risk results could be used to reduce the need to constantly recalculate it, but such a cache might be massive or not effective due to how sparse the checks are.
Regarding the SE miners

A solution that would be easier to program is if the XEN miners will not leave a sector with XEN presence unless they are heading to another sector with XEN presence(XEN military or a functioning base)

If all of the XEN military ships/bases are destroyed, they head back to a XEN occupied sector

XEN would be much more formidable if they weren't throwing away their miners
Tranxalive
EGOSOFT
EGOSOFT
Posts: 697
Joined: Mon, 14. Dec 20, 01:49
x4

Re: [7.10]AI suicide trading with player stations in hostile zones

Post by Tranxalive »

Oops... we didn't get to this report until after the save was removed automatically. :oops:

Can you reupload the save please? :)
JasonX2000
Posts: 208
Joined: Thu, 2. Oct 14, 15:04
x4

Re: [7.10]AI suicide trading with player stations in hostile zones

Post by JasonX2000 »

So thats not only my problem. I first thought it was a missconfiguration on my side but i checked my globals settings for all ship not to fly through enemy territory.

And as i discovered the sector where the sapporo is, after i left there a miner of mine was heading there to mine. Well it did not get far and got shot down by the xenon.
And i checked travel and activities in enemy sectors was banned for my ships at that time. I had the add the sector manualy to the list because i feared that more would fly there and get destroyed.

Return to “X4: Foundations - Technical Support”