Skyrim
0 of 0

File information

Last updated

Original upload

Created by

Author ferrari365 - Port by Xtudo

Uploaded by

Xtudo

Virus scan

Safe to use

About this mod

Fixes the DLC2dunNchardakDoorSeal script to not enter an infinite loop when used by mods and stops currently stuck instances. No ESP.

Requirements
Permissions and credits
Changelogs
Donations


DLC2dunNchardakDoorSeal
Script Infinite Loop Fix LE
Author ferrari365 - Port by Xtudo

Description (Small details that make big differences)
My port of this important fix made by ferrari365.
I actually compiled the script with the last Creation Kit Legendary Edition. The resulting LE compiled script has different size than the SE version, so something changed. Then I tested it ingame quite a bit, and it's working as intended. I did the port for my game, and now I'm sharing it. All credits to ferrari365 of course.

Description from the original mod: The Nchardak dungeon from the Dragonborn DLC is unique in its inclusion of door seals which prevent you from opening the door on the other side unless you open the seal first. In the vanilla game this works perfectly fine, but if other mods happen to end up using these seals in other ways, for example disabling them at some point, the script which controls the seals will enter an infinite loop the next time the area is loaded by the game. This is because the script makes the game check if the 3D object of the seal is loaded before doing any more processing and if it isn't, update itself every 0.1(!) seconds until it finally loads and then proceed. However if the seal is disabled, its 3D object will never load and the script enters an infinite loop.
This mod fixes this issue by making the game additionally check if the object is currently disabled and if it is, stop the updates after a maximum of 2 mins in case the mod in question wants to reenable the seal soon, so the script doesn't unnecessarily take up Papyrus resources. If you install this on an existing save, it will shut down any active instances of this script in the background if any are currently in such a stuck state.

Compatibility
  • Not compatible with anything that changes the DLC2dunNchardakDoorSeal script. USLEEP and Vanilla Script (micro)Optimizations changes have been retained.
  • Compatible with everything else.

- SE-AE version here.

Credits

Especial thanks
  • To ferrari365 and to my lovely Patreons and supporters.


Do you like my mods or stories?
Please support me on Patreon.