X4: Foundations

X4: Foundations

Protect Sector
145 条留言
Chem O`Dun  [作者] 10 月 11 日 上午 5:36 
Thanks. It's really wrong and looks like bug ...
If you can make a debug log in such situation - it will be helpful!
BattleGrown 10 月 11 日 上午 5:04 
Ah sorry, I see now about the hazardous areas, thank you! About the attacking thing, the fleet commander with protect sector attacks the hostile, but in the behaviour tab he doesn't get "attack" order automatically. Meaning that crosshair doesn't appear on the map view, it is still the shield icon, but the ship actually goes and attacks. But since he doesn't get the attack order, the subordinates who are set to attack with commander doesn't understand that he is attacking, so they just follow him. I will try to replicate.
Chem O`Dun  [作者] 10 月 11 日 上午 3:24 
Regarding other question - excuse me, not fully understand what is happens.

Reaction of subordinates is managed by appropriate scripts, outside a mod.

Please explain step by step:
1.Does fleet commander reacts on hostile attacks onyour other ship?
2. Does fleet flying to hostile?
3. Does only commander attacking hostile?
...
If you can make a video and share - it will be helpful.
Chem O`Dun  [作者] 10 月 11 日 上午 3:19 
Regarding returns on assignment in some sectors -
It's stated in documentation - if sector has any hazardous areas, it will require to set additional checkmark.

See my comments from September's 6.
BattleGrown 10 月 11 日 上午 1:35 
Also doesn't seem to work in Tharka's Cascade XV, the assignment returns to hold position after confirming the protect sector assignment.
BattleGrown 10 月 11 日 上午 1:28 
It appears that the fleet leader who is set to protect sector doesn't receive an attack order when attacking hostiles in sector, which makes the subordinates who are set to "attack with commander" to just chill around. Which assignment for subordinates work best?
MrXoT 10 月 10 日 上午 6:12 
yeah, i play the Afterfall mod and there are a lot of enemies on map. I have many fleets that defend gates, some times ships fly away for repairs and the gates remained unprotected.
Chem O`Dun  [作者] 10 月 10 日 上午 12:38 
Interesting...
Not predicted by me feature, I mean disable of repairing...
Let's wait next version...
MrXoT 10 月 9 日 下午 9:46 
how i can disable auto repair ships? some times ships fly to station and try repair, i dont want ships do that.
Chem O`Dun  [作者] 9 月 24 日 下午 11:56 
Yes.
Tau 9 月 24 日 下午 11:51 
Seems to work in 8.0
Chem O`Dun  [作者] 9 月 15 日 下午 2:10 
Happy to hear.
It means - it's not an issue in a script. It has no dependency on save/load.
Astarte 9 月 15 日 下午 2:08 
Not sure what happened, but it seems to have fixed itself after a reload of the save...
Chem O`Dun  [作者] 9 月 15 日 上午 7:32 
In addition - please be sure you are using the 1.10 version from 2025-08-07
Chem O`Dun  [作者] 9 月 15 日 上午 1:21 
Can you provide screenshots, videos, etc ...
Chem O`Dun  [作者] 9 月 15 日 上午 1:18 
Can you provide more information?
It at least must fly around

May be you started it in hazardous sector?
Astarte 9 月 14 日 下午 9:14 
I think this mod might be broken in 8.0.

I find that I can set the command, but that the ship doesn't seem to be doing anything... even when my miners are being attacked, it just sits there.
Chem O`Dun  [作者] 9 月 6 日 下午 4:49 
No problem. You are welcome! Enjoy!
shilum_nehum 9 月 6 日 下午 4:07 
thank you that fixed the problem, apparently i was blind because i never saw that flag option untill you pointed it out.
Chem O`Dun  [作者] 9 月 6 日 上午 4:00 
I mean this one:
Ignore the threats of Hazardous zones

Disabled by default.

From version 1.08 Protect Sector order will automatically finished in such sectors. Appropriate message will be shown in the logbook.

If you still want to use this order in the hazardous zone - you can enable this option. But please be aware - the ships can be destroyed in the hazardous zone.
Chem O`Dun  [作者] 9 月 6 日 上午 1:54 
It possible, if target sector has a dangerous zones. So, it has a risk of loosing ships. Try to set appropriate flag in command options.
shilum_nehum 9 月 5 日 下午 9:17 
i have noticed that the command works great, but when i set the home to an enemy sector it reverts back to the hold position command, i have no restrictions on the fleets activities or travel
Chem O`Dun  [作者] 8 月 23 日 下午 1:45 
Did you read changelog?
Warden 8 月 23 日 下午 1:43 
8.0?
Chem O`Dun  [作者] 8 月 6 日 下午 2:29 
Please check the version 1.10.
Excuse me for inconvenience.
Only one remark - the behaviour of some script command is slightly changed, but, how to formulate, the change is not "stable" to be clearly identified from "outside".

P.S. Please pay attention that beta saves can be incompatible with release version of the game.
Chem O`Dun  [作者] 8 月 6 日 下午 1:50 
No problem. Let's wait for the update
Bendak 8 月 6 日 上午 10:08 
sorry for long delay. I can generate the log if you still need it, just send me the instructions.
Chem O`Dun  [作者] 8 月 6 日 上午 4:58 
Look's like I found the point of problem. Behaviour of some script command is changed now. Will think on workaround.
Chem O`Dun  [作者] 8 月 5 日 下午 11:29 
In addition, if recording to player journal is enabled, please check the records around the moments, when your ships was attacked...
Chem O`Dun  [作者] 8 月 5 日 下午 11:26 
Thanks for the reporting.
Still not clear for me, what is happening...
Will be grateful for the log.
Mr_Anivex 8 月 5 日 下午 5:34 
I'll share a log when I get home if you want that. Same issue as Bendak I believe.

It works fine in some areas, but consistently broken in Family Nhuut and Faulty logic(perhaps other areas, but those are the sectors I have the most issues)

Sometimes will work for a moment, and even occasionally attack ships, but then I'll suddenly get 3 destroyed ship notifications about miners and I'll find 20 hostile ships there and my fleet is just chilling up high away from everything, ignoring it.
Mr_Anivex 8 月 5 日 下午 5:31 
I'm having an issue with my ships not parking in the correct area, using any parking options, and not protecting my ships when attacked, even though I have that option selected. Mainly in Family Nhuut and Faulty Logic(the southern one). Sorry I wrote out a more detailed explanation and ended up accidentally deleting it, and I'm at work so no time to write it all out again, but you get the idea. In the 8.0 beta. Works fine in other areas, seems to mainly be mining locations.
Chem O`Dun  [作者] 8 月 4 日 下午 12:00 
I will test it with manual marking to hostile ...
But better please make and share the debug log file with me
Bendak 8 月 4 日 上午 10:48 
here is how the issue happening to me.
At first it seems to go to the right direction, then it looks like it is going to an offset coordinate.
5 minutes clip.
https://youtu.be/p724MRGzSNQ
Will disable some mods and see if repeatable.
I enabled protect ui and it started going to the right direction on start, but them did that weird turn and started offseting.
Bendak 8 月 4 日 上午 10:22 
I think it might be issue with other mods in my system. if not easilty reproduced.

To me it flyes to random direction e.g. I mark a ships as hostile and it start flying to the border of the sector away from thje ship and keep moving there until the hostile timer runs out.
If i mark a station as hostile, it targets the station from far aweay and move to it.

I also added the multi-rename mod and the updated sirnuke comunity edition api. Could be one of them.
WIll start troubleshoot one by one, problem ius the SN api mods are required for most other mods.
Chem O`Dun  [作者] 8 月 3 日 下午 2:35 
Excuse me, can't confirm.
Loaded a save game to the b04, and see in journal 4 Khaak's ships destroyed during the 4 minutes ... in different sector by Sector Protect fleets
Chem O`Dun  [作者] 8 月 2 日 上午 12:03 
@Bendak if you can share a debug log - will be useful. For the moment when fleets ignores enemy's...
Chem O`Dun  [作者] 8 月 1 日 下午 11:08 
Thanks for the reporting. Will check it.
Bendak 8 月 1 日 下午 4:04 
This issue started with the 8.0 Beta 4 btw.
Bendak 8 月 1 日 下午 4:03 
With the 8.0 beta the mod is not working correctly.
No errors, and it does atack stations, but when jostiles in the sector, the fleet keeps flying randoim directions in general away from the enemy,
Chem O`Dun  [作者] 7 月 26 日 上午 2:24 
Should. At least I have no errors...
Monster10 7 月 25 日 下午 3:50 
Does this work with the 8.0 Beta?
Chem O`Dun  [作者] 5 月 12 日 下午 11:01 
No.
DistractedDan 5 月 12 日 下午 6:58 
Does this mod break Steam achievements? Hard to get a solid answer online
Chem O`Dun  [作者] 5 月 11 日 上午 9:26 
Improved

- Fully rewritten the logic of idling and scanning for enemy ships. Now it is more precise.
- Implemented workaround for the repairing/restocking ships. By default Player owned ships can be repaired only in current sector. Please be aware - after installing version 1.08 the ships controlled by this order can go to be repaired/restocked after some time. It is not a bug, but a feature :-).
Fixed

- Fixed a reaction on attack on player's ships/stations by enemy drones.
- Accidentally attacks from the non-enemies are not considered as an attack on the player ships/stations.
Chem O`Dun  [作者] 5 月 11 日 上午 9:26 
[1.08] - 2025-05-11

Added

- Internal ( experimental ) station attack order. Written from scratch positioning ships against stations, including reaction on stations drones attacks in non-OOS mode. Works only for fleets with L and XL ships. For only L ships - four and more ships are recommended.
- Possibility to select station attack order - by default it is Coordinate attack . Other possibilities are usual one and experimental one.
- Additional confirmation for the working in hazardous regions, like The Void . Please be aware - the order will stop working in the sectors with the hazardous regions without the confirmation.
- Own icons for the Protect Sector and Station attack orders.
Sterling Kerman 5 月 4 日 下午 11:08 
Fantastic, thanks for the response :D
Chem O`Dun  [作者] 5 月 4 日 下午 11:03 
It should not be a difference between versions. I'm usually post it in parallel. And yes - updated next version will be on nexus too. I hope it will be published this week
Sterling Kerman 5 月 4 日 下午 9:23 
Is there a difference between this Steam version and the one on the Nexus? This one appears to have one additional update, or is one update newer than the Nexus one. I ask as I prefer to use Nexus versions and anytime I find that one of my Steam mods has a Nexus counterpart, I'll usually swap over to that one. Unless, of course, the one on Steam is more up to date. Great work, btw <3

P.S. Also noticed you mentioning that you are testing a new version. Will that update also get posted to the Nexus?
Chem O`Dun  [作者] 4 月 14 日 上午 9:55 
@Probe1:
I have in testing now own logic for stations attack

https://youtube.com/watch?v=KaEHvatRusE