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 Skyrim Special Edition Patch
Component: Skyrim SE: Vanilla
Category: Actors
Assigned To: Nobody
Platform: Windows PC
Severity: Very Low
Votes: 0
Watching: N/A
Opened By WadVogel on Sep 12, 2024 8:12 am
Closed By Arthmoor on Oct 8, 2024 6:05 pm
Resolution: Fixed
Comment: Fixed for USSEP 4.3.3.

Issue #34354: Barknar from Ivarstead is not persistent and has sleeping issues

 
There are two problems:
The first is Barknar (ACHR: BC07A), after meeting him on the second shrine to High Hrothgar for the first time, will return to the inn. He will then get stuck in the inn unless the player enters because he is a temporary reference.
Giving him the Ivarstead (LCTN: 18A4B) Persistent Location does not seem to work, so he will likely need to be flagged as persistent.

The second involves his sleep package HHpilgrim01SleepAtInn, which has several issues.

1. Packages HHpilgrim01SleepAtInn, HHpilgrim01SandboxAtInn, and HHpilgrim01VisitShrineDaily have an invalid condition preventing HHpilgrim01SleepAtInn from occurring.
What should occur is after meeting the player for the first time, he returns to the inn. If it is between 9pm and 7am, he will go to sleep. If it is between 7am and 9pm, he will go to the shrine once a day, then spend the rest of the day at the inn.
However, HHpilgrim01SleepAtInn has a condition that checks if GameHour is more than 2100 and another if less than 7, which means it never triggers.
To fix this, you need to change 2100 to 21, and change its AND operator to an OR. The other two packages also need to change the GameHour check from 2100 to 21.
This does cause him to immediately return back to the shrine if it's between 7am and 9pm the first time you encounter him due to HHpilgrim01VisitShrineDaily having the Once per Day flag, but his schedule should be consistent afterwards.

2. He still cannot sleep because there are only 5 beds in the inn that already have ownership.
Two of them belong to Gwilin and Lynly respectively.
One belongs to the IvarsteadTembaFaction consisting entirely of Temba.
The last two belong to the IvarsteadVilemyrInnFaction consisting of Lynly and Wilhelm, however one of them is the player bed meant for renting.
As Wilhelm does not have a sleep package similar to other innkeepers, and Lynly already has an assigned bed, it is likely the bedroll (REFR: 9F12A) was intended for Barknar, although there is no actual proof other than the fact it is unused.

3. HHpilgrim01SleepAtInn only checks the cell marker with a 0 radius, so a bed will still never be found. If it is changed to a near reference check with the bedroll however, it works.

With the amount of work required to make this work, it could be argued that this was intentionally bugged as a cut feature, so this might have to go to the Cutting Room Floor instead or just ignored entirely. As an example, a visual bug has his eyes open while sleeping.

Fix plugin attached.

Related Issues: 34552  

Comments

1 comment(s) [Closed]
WadVogel said:
 
Fix plugin attached again.



Attached Files:

Barknar Persistence Fix.esl

Comment #1 Sep 12, 2024 8:15 am  Edited by WadVogel on Sep 12, 2024 8:15 am
Showing Comments 1 - 1 of 1