Jump to content

DLC01WESC03ScriptFix 2.0


1 Screenshot

About This File

Every now and then I got a whileloop running in my save.

 

Bats!

 

This should stop the loop. Could not test reliably, as it happens only....now and then.

 

TLTR:

 

Bats! is a magic effect done via a quest. Very rare, maybe the only one ?

There are several issues what can cause the endless running whileloop.

 

1. MGEF will be removed on cell change from objects and reapplied, if the objects moves with you.

2. the quest will be stopped via OnUnload() event, quite unreliable.

3. the creator must have realised, there is a problem, because he added the OnCellDetach() event in addition.

 

The culprit, the whileloop runs as long as the Queststage is 0.

In the detach-, unload events, the quest will be stopped Stop().

The Stop() will set the stage of the quest to 0 at the best. Good food for the whileloop, which runs as long the stage of the quest is 0.

 

What I did, setstage10, wait 1.2s and stop on both events detach and unload.

Tested, it seems to remove even running loops.

 

 


What's New in Version 2.0

Released

About This File

Every now and then I got a whileloop running in my save.

 

Bats!

 

This should stop the loop. Could not test reliably, as it happens only....now and then.

 

TLTR:

 

Bats! is a magic effect done via a quest. Very rare, maybe the only one ?

There are several issues what can cause the endless running whileloop.

 

1. MGEF will be removed on cell change from objects and reapplied, if the objects moves with you.

2. the quest will be stopped via OnUnload() event, quite unreliable.

3. the creator must have realised, there is a problem, because he added the OnCellDetach() event in addition.

 

The culprit, the whileloop runs as long as the Queststage is 0.

In the detach-, unload events, the quest will be stopped Stop().

The Stop() will set the stage of the quest to 0 at the best. Good food for the whileloop, which runs as long the stage of the quest is 0.

 

What I did, setstage10, wait 1.2s and stop on both events detach and unload.

Tested, it seems to remove even running loops.

 

 

SuccubusWeaponScriptFix

 

As I don't need to fiddle around in the Succubus Scripts, I adapted those to this fix.

 

This is a global fix for all mods usijng a Succubus Script.

If you don't have a specific mod installed, it doesn't matter. It will be a "dead" script what will never be used.

 

Use it on the latest versions only !



×
×
  • Create New...