Welcome to the AFK Mods bug tracker. In order to report an issue, you need to have a VALIDATED account to post one. Once you have followed the link the registration email sent you, please select a project from the drop down menu below. Select “Open New Issue” and fill out the form with as many details as possible.

Please also consider sending your bug report to Bethesda if you are reporting on an issue with Skyrim Special Edition, Fallout 4, or Starfield. Doing so will help everyone on all platforms.

Issue Data
Status: Closed
Issue Type: Bug Report
Project: Unofficial Fallout 4 Patch
Component: Unofficial Fallout 4 Patch
Category: Quests & Dialogue
Assigned To: Nobody
Platform: Windows PC
Severity: High
Votes: 0
Watching: N/A
Opened By Mr_VvsG on Dec 13, 2020 11:44 am
Last Edited By BlackPete on Dec 16, 2020 1:42 am
Closed By Arthmoor on Dec 16, 2020 2:39 pm
Resolution: Fixed
Comment: Fixed for UFO4P 2.1.2b

Issue #29474: The fix to Bug #28960 made me enemy with the railroads - UFO4P v2.1.2

 
Hi! :biggrin:

BUG DESCRIPTION:
1.) After the installation of UFO4P v2.1.2, the character becomes an enemy of the Railroads as soon as he finishes the conversation with Father at the start of The End of the Line, no matter what answer he choose. This is a bug because the game includes the possibility to go to the Railroads' HQ and tell Desdemona that Father ordered to kill her. So the character should became enemy of the Railroad only after he kills Desdemona.
2.) I've also tested this bug on a late game character and the situation is worse. This character actually completed the game with the Railroads as his main faction and now, as soon as I load the game, he becomes their enemy! This is because in his playthrough I took End Of The Line from Father, but then I betrayed him telling that to Desdemona and destroying the Institute.

TESTING:
I've tested this bug on a completely vanilla save. Removing the changes introduced by UFO4P to the quest Inst306 [000AC7B3], prevent bug (1) from happening.
However, removing the changes to Inst306 has no effects on bug (2): I suppose this is because of UFO4PRetroactive212Script.

POSSIBLE SOLUTION:
Reading the source code of UFO4PRetroactive212Script, I've found that the script check if "Inst306.GetStageDone(20)==1". Maybe you could try checking stage 25 instead, because it'is after the kill. This could fix bug (2), but I don't know if it will also fix bug (1): I've never compiled papyrus, therefore I cannot test it.

I hope you'll fix this bug as soon as possible, because I cannot play the game with my late-game character anymore, since any new save would permanently register me as a Railroad enemy. :facepalm:
Best regards! :tongue:

Comments

6 comment(s) [Closed]
BlackPete said:
 
Do you by chance have a game save we could use to try and diagnose the issue? If so, please attach it to a comment in this ticket.

Mr_VvsG said:
 
Yes, I could give you the vanilla save I wrote about in the bug description. Moreover, I could also attach the late-game save: even if it's a modded save, the bug activates itself on loading, so there will probably be no problems for testing.
I will attach these save files as soon as I get home (now its working time in Italy).

Mr_VvsG said:
 
Hi!

I'm uploading the two save-files.
1.) The first one "Vanilla_EndOfTheLine" is at the start of End of The Line, just before the talk with Father. With UFO4P, the bug start just at the end of the discussion.
2.) The second one "PostGame_Character" is my main character, he did almost every quest of the game and chose the Railroads as his main faction. This was a modded game, therefore I disabled all the mods and made a new save-file with only the old version of UFO4P; something is broken, but the game runs and the bug is present: with UFO4P 2.1.2a, on loading, he becomes an enemy of the Railroads.

Bye! :smile:



Attached Files:

Vanilla_EndOfTheLine.7z
PostGame_Character.7z

BlackPete said:
 
After the installation of UFO4P v2.1.2, the character becomes an enemy of the Railroads as soon as he finishes the conversation with Father at the start of The End of the Line, no matter what answer he choose.
I can confirm this much to be true from your first save.

We've received several other reports from people who claim that they receive a message upon loading their saves that they're enemies with the Railroad after having updated to UFO4P 2.1.2a. This could indicate that you're correct about there being a problem with the retro script. Since my knowledge of papyrus is extremely limited, one of the other project members is going to have to investigate this further.

Side note: I tested one of my old saves where I had sided with the Minutemen and destroyed both the Institute and BoS to see if I would encounter the same hostility problem with the Railroad. Strangely, they were all friendly. As a result, I'm going to assume that there must be some specific conditions that have to be met in order for this problem to occur. Maybe the Railroad has to be the faction that assists you in building the transport where you first enter the Institute, for instance.

Comment #4 Dec 16, 2020 1:45 am  Edited by BlackPete on Dec 16, 2020 2:15 am
Mr_VvsG said:
 
I continued to test bug (2) and I may have found the problem and the solution. :cool:

TECNICALITIES
In the retroactive script UFO4PRetroactive212Script there are these lines of code:
if( Inst306.GetStageDone(20) == 1 )
  if( RRKickOut.GetStageDone(100) == 0 )
    RRKickOut.SetStage(100)
  endif
endif

This means that the script check if the character has completed the stage 20 of End Of The Line and, if the result is 1 (true), it kicks out the player from the Railroads.
In game, you can monitor the quest stage in the console by using the command GetStageDone 000AC7B3 <StageNumber>. It will return 1 if the quest has completed that stage, and 0 otherwise.

TESTING
Now, if you start the vanilla save and write "GetStageDone 000AC7B3 20" before talking to father, the result is 0. Meanwhile, just after talking with father the result is 1!
That means that to complete stage 20 the character only has to talk with father! And the retroactive script checks this exact condition!
In other words, on game loading, the script kicks out the player from the Railroads if and only if he talked with father at the start of End of The Line. If he killed Desdemona or not does not matter at all.
As a matter of fact, the stage after Desdemona is dead is actually 25.

SOLUTION
Therefore, I recompiled the script in the CreationKit, substituting "Inst306.GetStageDone(20)" with "Inst306.GetStageDone(25)" and now bug (2) is not present anymore.

I hope my English wasn't too broken,
Bye :biggrin:

Arthmoor said:
 
Yep, it should have been written into stage 25 instead of 20, even though every indication in stage 20 said that was the right place for it.

Showing Comments 1 - 6 of 6