X4: Foundations

X4: Foundations

Encounters - broken atm
178 Comments
Moonrat2  [author] 5 Oct, 2024 @ 3:26pm 
Done ;)
AkagiVoid 5 Oct, 2024 @ 11:56am 
TwT
Well as a suggestion U might want 2 rename the mod 2 "Encounters-BROKEN" atm. >w<
Moonrat2  [author] 5 Oct, 2024 @ 9:17am 
Sorry no, EGOSOFT broke my mod (lots) a while back with the change of the physics & models... one day I might get around to fixing it. But currently RL prevent that. Sorry
AkagiVoid 3 Oct, 2024 @ 6:45am 
Dis still works in 7.x right? ?w?
Swizzle 17 Aug, 2024 @ 12:19am 
No - you have to modify the MD files yourself and remove the Khaak stuff
Helios 1 Dec, 2023 @ 4:17am 
Keeps spawning Kha'ak on my ships when there is no hive/outpost in sector or surrounding sectors. Using the "nokh'ak" mod because I don't want them in my game but this one keeps spawning them on my ships. Is there any way to change this because I still want to use the mod but have to disable it for now.
Poacher886 21 Oct, 2023 @ 7:05am 
Survival mode typically comes out approx 3 months after release..it did for Fallout 4 aswell. Bethesda have all the necessary tolls in game already and hinted it will be coming, so i would just hold tight for the minute.
Moonrat2  [author] 20 Oct, 2023 @ 10:31am 
@Poacher886 - Yes, I've been trying to create a "Survival" mode also via mods etc as I want a Space Sim, not an arcade shooter. I suspect I will be foiled though and will have to wait until after the decent mods arrive post "Creation Kit"
Poacher886 20 Oct, 2023 @ 1:49am 
Fair enough, its on my Hard drive but, im waiting on Star-field until they at least have the Survival mode out and probably Shattered space which should come roughly march...Bethesda RPG's really need time to mature for the best experience.
Moonrat2  [author] 19 Oct, 2023 @ 1:10pm 
Currently side-tracked by Starfield I'm afraid (until I inevitably get bored and return to my long term love) ;)
Poacher886 19 Oct, 2023 @ 5:39am 
Hows the steam update coming
DoktorFar 29 Aug, 2023 @ 5:21am 
The only Encounters mod on Steam seems to be this one, so how does one get Encounters v1.4.2 from Steam?
AkagiVoid 15 Apr, 2023 @ 5:56pm 
@Moonrat2 No problem, I'm patient 2 wait on dat fewer bugs the better. ^w^

https://media.tenor.com/aHTnxJ2Q_sIAAAAi/neko-waiting.gif
Moonrat2  [author] 15 Apr, 2023 @ 4:17pm 
@ AkagiVoid - I'm currently working through my mod to ensure X4 6.0 compatibility, including the Boron DLC, adding new features and hopefully ensuring no more crashes occur due to X4 shader changes. This will take a little while I'm afraid ... until then please use Encounters v1.4.2 (NEXUS or STEAM)
AkagiVoid 15 Apr, 2023 @ 3:37pm 
When will dis get updated for 6.0? :3
Moonrat2  [author] 7 Apr, 2023 @ 2:04am 
@Zeph Grey - Are you using Encounters 1.4.2 ?
Zeph Grey 1 Apr, 2023 @ 11:43pm 
So, for reasons I can't even begin to explain, this mod causes a CTD every time I try to mine crystals. I tested every mod thoroughly,ripping them out, restarting, and re-enabling each one individually, and this was the culprit. It was literally my last suspect.

I have no idea why this would occur, but yeah, it's happening.
Moonrat2  [author] 30 Mar, 2023 @ 12:35am 
On NEXUS I had some feedback (from 'user2046') that 1.4.2 appears to be stable with no crashes (so far) now that AdSigns have been removed. However the following may be required for existing games (new games will effectively have this fix baked in) ...

1) Remove Encounters
2) Load SaveGame
3) Idle for a while
4) Save Game
5) Enable Encounters 1.4.2
6) Reload Game

Please try this and let me know if crashes are still occurring.
Moonrat2  [author] 29 Mar, 2023 @ 12:53am 
There is lots of possible logging enabled within "Encounters" because it generates stuff somewhat organically and this is the only way I can tell what it is generating. I have this within the "General" STEAM settings for "LAUNCH" options...

-skipintro -debug all -logfile x4.log -scriptlogfiles

Try the above and see if you can find any correlation either in the "Encounter" logs or "X4" log. These are located within a folder like "D:\Users\<User>\Documents\Egosoft\X4\<NUMBER>\logs"

Thanks for your support.
Moonrat2  [author] 28 Mar, 2023 @ 3:12pm 
Hi, thanks for the feedback. I'm not sure what might have changed but from what I have seen within the 6.0 BETA I have a suspicion that it may be related to 'AdSigns' and their explosion effect. In order that I have some more time to test (& remove) this bug and so that "Encounters" may become playable as a mod once again please download v1.4.2 using STEAM or from Nexus (v1.4.2 currently has all AdSigns removed)

Please report any crashes etc. here.

Thanks for your support.
Moonrat2  [author] 26 Mar, 2023 @ 4:24pm 
Hi, this is seemingly being reported by other players. Can you please let me know what version of X4 you are running and also if there are any common factors when your game crashes? Thanks

EDIT : After some testing tonight I think I have possibly found the cause. I believe it is to do with the explosions reference associated with the two 'balloon' adsign macros. I need to do some further investigations and then I'll release a new version shortly with hopefully the fix in it ...
Vlad_1492 25 Mar, 2023 @ 11:17pm 
In fights I'm seeing a frequent crash to desktop producing an error about shadergl\high_spec\xu_particles

Until with sadness I disabled this mod, no further trouble.
Saeb 10 Feb, 2023 @ 6:14pm 
Sounds good, thanks for the prompt reply awesome mod btw.
Moonrat2  [author] 10 Feb, 2023 @ 12:33pm 
The "encounters" mechanism only moves ships and generates objects etc. relative to the ship that the player is piloting within the same sector you are experiencing in-game. That's not to say however that previously moved ships and generated objects from "encounters" in sectors you have previously visited are not still active there... But looking at your description I would guess that it is not the vanilla or my modified "encounters" mechanism that is causing SCA to bother you OOS. It is probably because they are active in that sector in any case with or without "encounters" taking place.
Saeb 9 Feb, 2023 @ 7:09pm 
So my trade ship randomly got attacked by an SCA in a place that my miners were safely working for like 3 hours. Was that an example of their encounter script? I was OOS.
Moonrat2  [author] 3 Jan, 2023 @ 2:40pm 
v1.4.1 is now available on STEAM & NEXUS - please let me know of any feedback

NEXUS
https://www.nexusmods.com/x4foundations/mods/333

Please see "Change Notes" for more information on content changes.
Moonrat2  [author] 6 Dec, 2022 @ 5:05am 
@DyingWhisper - Thanks, I'm pleased that my efforts not to freak out your PC whilst playing X4 (with "Encounters") has turned out Ok! :steamthumbsup:
DyingWhisper 5 Dec, 2022 @ 9:21pm 
This mod makes my game run so much smoother
Moonrat2  [author] 5 Dec, 2022 @ 5:10am 
v1.4 is now available on STEAM & NEXUS - please let me know of any feedback

NEXUS
https://www.nexusmods.com/x4foundations/mods/333

Please see "Change Notes" for more information on content changes.
Moonrat2  [author] 18 Oct, 2022 @ 1:24am 
@Troubleshooter - many thanks for your kind words :)
I am just putting the finishing touches to v1.4 (hopefully out before Christmas).
Troubleshooter 17 Oct, 2022 @ 3:27am 
Glad you updated this. Thanks for your time and effort.
Moonrat2  [author] 13 Sep, 2022 @ 12:54pm 
@Doomblade3890 - Great feedback! To be honest I hadn't even thought about what happens in a player-owned (or ownerless) sector with defence bases and other stuff... Most of "Encounters" functionality will be Ok but I agree that it might generate content owned by the player in a player owned sector which is definitely not right. It should be relatively easy to fix and I shall see what I can do for the next release.
Doomblade3890 10 Sep, 2022 @ 7:13pm 
I've noticed that in player-owned sectors, the asteroid bases that appear are immediately under the player's control and I have no way of deleting them. I can't go into the plan build interface and remove the base structures so I'm not able to get rid of those plots. Is it possible to make it so those kinds of encounters don't spawn in player-owned systems?
Mo¡stDreams 15 Aug, 2022 @ 7:13pm 
"Thanks, the content.xml has this already..."
I have run into issues with this myself of users saying the mod was not installed or the dependency was showing up in the mod list as red etc, this seem like a bug more than anything else with how mods are loaded.
Moonrat2  [author] 15 Aug, 2022 @ 3:29pm 
LOL - Absolutely no problem at all. At least it highlighted that I need to remove that redundant "VRO" dependency line in "content.xml" so as not to mislead others (and myself). :steamthumbsup:
Prior Micha 15 Aug, 2022 @ 12:21pm 
Unfortunately, I cannot provide a screenshot. I will simply try the mod again. Perhaps there was also a malfunction caused by another mod and not directly from the Encounter. (I also had quite some problems with Stars 3.1+XRSGE).

You're right, with the flag set to true there shouldn't really be a problem. So I'm guessing another "dependency" cause.

Sorry if I have accused your mod wrongly!
Moonrat2  [author] 15 Aug, 2022 @ 10:53am 
Thanks, the content.xml has this already...
<dependency id="ws_1696862840" optional="true" name="Variety and Rebalance Overhaul"/>
So I am surprised there is any dependency issue? I am commenting it out for the next release as it's now (hopefully) redundant in any case :steamhappy:
Mo¡stDreams 14 Aug, 2022 @ 8:52pm 
You can do patch in the code depending on a mod ID version then different code will run if that mod ver is detected.

That is how we got around legacy versions being used in the Mules mod so that non beta or updated client can use mules with functional code.


You can also just unflag the dependency by adding the flag optional "true"
Moonrat2  [author] 14 Aug, 2022 @ 11:40am 
Sorry yes, you are correct, I think I must have forgotten to take that dependency out. I originally had it in when I was trying to ensure that other mods didn't nobble "encounters". I now have a new way to try and ensure that doesn't happen so I will remove it for the next release... the "content.xml" has "optional=true" in it so in theory if VRO (ws_1696862840) does not exist it should not be an issue?

Can you please send me a screenshot?
Prior Micha 14 Aug, 2022 @ 9:19am 
Yes, in the content.xml is that dependency defined. But not here in the workshop description.
So is VRO needed or not? Now I am confused ^^

(I don't play VRO)
Moonrat2  [author] 14 Aug, 2022 @ 8:09am 
@Prior Micha - I'm confused, my mod has no dependency on VRO?
Prior Micha 14 Aug, 2022 @ 6:40am 
Gamecrash because of dependency VRO. But not in description.
Moonrat2  [author] 6 Jul, 2022 @ 10:45am 
Just noticed a "bug" accidentally left from testing so the type of spawned AdSign isn't as varied as it should be... to be fixed in 1.31 when I get back from my Holidays (may be released in August?).
Mo¡stDreams 4 Jul, 2022 @ 11:46pm 
That does explain things, awesome, a friend and I were discussing what the adverts could be mean and they were excited it might be homage to to likes of XR and in space movies where adverts are seen floating in space.

I will be pleased to give him the good news :winter2019cooldog:
Moonrat2  [author] 4 Jul, 2022 @ 11:46am 
MoistDreams - Or maybe I misunderstood you... lol
There is no in-game functional overlap between AdSigns in "Encounters" and the "Advert Redesign" mod - any changes to the base files elsewhere however may reflect into my mod.

I've added various AdSigns to "Encounters" to appear as extra objects in space. They don't appear too often but will be spawned given certain criteria. The adverts are mounted on a frame and receive power via two units so can be considered standalone and an external manifestation of commercialisation in space (compared to their station-based brethren).

I've added an initial test screenshot for viewing (but without the support frame). I'll add a better one later.
Mo¡stDreams 4 Jul, 2022 @ 2:22am 
I think I got misunderstood.

Regarding the beta
I noticed a while back you were talking about testing the 1.3 before release many many months ago I posted on Nexus version saying I would help test it for 5.x to see if the numbers were alright.

in regards this released version I had a question specifically about the Adsign's feature
and was wondering how similar if at all to the mod advert redsign [www.nexusmods.com], sorry I pasted an incorrect url in my previous comment.
Moonrat2  [author] 3 Jul, 2022 @ 11:19pm 
@MoistDreams - The 1.3 version on Nexus is identical to that on STEAM (as are all released versions when available on both platforms).
Mo¡stDreams 3 Jul, 2022 @ 10:20am 
With 1.3 is the Adsigns a direct port of Advert Redesign on Nexus https://www.nexusmods.com/x4foundations/mods/899 or something new?
Mo¡stDreams 3 Jul, 2022 @ 10:11am 
Awesome, I did post a comment on the Nexus many months ago saying I would have been keen to help test the beta.
Moonrat2  [author] 2 Jul, 2022 @ 2:03pm 
v1.3 is now available on STEAM & NEXUS - please let me know of any feedback