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 DLC2MiraakScript to not take up all of the game's scripting resources and wrecking the scripting engine in the process, by reworking a very inefficient while loop. No ESP.

Requirements
Permissions and credits
Changelogs
Donations


DLC2MiraakScript 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 made the port for my game, and now I'm sharing it. All credits goes to ferrari365 of course.

Description from the original mod: After meeting Miraak for the first time during the Dragonborn DLC's main quest, he will start to randomly steal dragon souls from you, with the first one being guaranteed, until you kill him at the end of the main quest. Under the hood this is done through a series of scripted events, one which is the script which controls Miraak's arrival and disappearance after the robbery.
Unfortunately this script has a rather severe flaw in the implementation of something, at first glance, completely harmless, which can have game breaking consequences - the visual effect that appears and stays around while you're near Miraak. This effect is controlled by a while loop without any leeway, which will execute itself as quickly as the game will allow it. In vanilla this issue is not that severe, but if you're using a mod which improves script execution and throughput, this script will literally take up all of the game's scripting resources almost immediately after it starts and not allow it to process basically anything else - so much so that the scene itself gets stuck and is unable to proceed.
This mod adds a small delay to the problematic while loop so that it won't run as quickly as possible and also adds an extra internal failsave that will shut it down after 2 minutes if something further goes wrong with it.

Compatibility
  • Not compatible with anything that changes the DLC2MiraakScript script.
  • 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.