Logically:
If (!updateLocked)
updateLocked is a variable, that i use for immediately stop the event and to prevent stacking.
Event OnUpdate() If(!updateLocked) If (DRWFxVersion.GetValueInt() == 0) ; Global does not exist updateLocked = true UnregisterForUpdate() Debug.Notification("Mod uninstalled!") ElseIf (DRWFxVersion.GetValueInt() != 14) ; Increment with new versions DRWFxVersion.SetValueInt(14) ; Increment with new versions Debug.Notification("Mod updated!") ; Or YouHaveToStartWithCleanSaveBecauseThisEngineIsFromHell.Show() Else UpdateMod() ; My functions EndIf EndIfEndEventOk...So when you deactiavte the ESP but leave the Script in the file system,[02/28/2012 - 06:31:38PM] error: Unable to call UnregisterForUpdate - no native object bound to the script object, or object is of incorrect typestack: [None].kueasqseat.UnregisterForUpdate() - "" Line ?
[03/01/2012 - 07:13:13PM] Papyrus log opened (PC)[03/01/2012 - 07:13:13PM] Update budget: 1.200000ms (Extra tasklet budget: 1.200000ms, Load screen budget: 500.000000ms)[03/01/2012 - 07:13:13PM] Memory page: 128 (min) 512 (max) 76800 (max total)[03/01/2012 - 07:13:26PM] VM is freezing...[03/01/2012 - 07:13:26PM] VM is frozen[03/01/2012 - 07:13:26PM] Reverting game...[03/01/2012 - 07:13:30PM] Loading game...[03/01/2012 - 07:13:31PM] Cannot open store for class "kuFLQS", missing file?
[03/01/2012 - 07:13:31PM] VM is thawing...[03/01/2012 - 07:13:38PM] VM is freezing...[03/01/2012 - 07:13:38PM] VM is frozen[03/01/2012 - 07:13:39PM] Saving game...[03/01/2012 - 07:13:39PM] VM is thawing...[03/01/2012 - 07:13:47PM] VM is freezing...[03/01/2012 - 07:13:47PM] VM is frozen[03/01/2012 - 07:13:47PM] Log closed
[03/01/2012 - 07:13:56PM] Papyrus log opened (PC)[03/01/2012 - 07:13:56PM] Update budget: 1.200000ms (Extra tasklet budget: 1.200000ms, Load screen budget: 500.000000ms)[03/01/2012 - 07:13:56PM] Memory page: 128 (min) 512 (max) 76800 (max total)[03/01/2012 - 07:14:09PM] VM is freezing...[03/01/2012 - 07:14:09PM] VM is frozen[03/01/2012 - 07:14:09PM] Reverting game...[03/01/2012 - 07:14:13PM] Loading game...[03/01/2012 - 07:14:14PM] Cannot open store for class "kuFLQS", missing file?
[03/01/2012 - 07:14:14PM] VM is thawing...[03/01/2012 - 07:14:26PM] VM is freezing...[03/01/2012 - 07:14:26PM] VM is frozen[03/01/2012 - 07:14:27PM] Log closed
[03/01/2012 - 07:22:42PM] Papyrus log opened (PC)[03/01/2012 - 07:22:42PM] Update budget: 1.200000ms (Extra tasklet budget: 1.200000ms, Load screen budget: 500.000000ms)[03/01/2012 - 07:22:42PM] Memory page: 128 (min) 512 (max) 76800 (max total)[03/01/2012 - 07:22:57PM] VM is freezing...[03/01/2012 - 07:22:57PM] VM is frozen[03/01/2012 - 07:22:58PM] Reverting game...[03/01/2012 - 07:23:01PM] Loading game...[03/01/2012 - 07:23:02PM] VM is thawing...[03/01/2012 - 07:23:03PM] OnUpdate None[03/01/2012 - 07:23:04PM] OnUpdate None[03/01/2012 - 07:23:05PM] OnUpdate None[03/01/2012 - 07:23:06PM] OnUpdate None[03/01/2012 - 07:23:07PM] OnUpdate None[03/01/2012 - 07:23:08PM] OnUpdate None[03/01/2012 - 07:23:09PM] OnUpdate None[03/01/2012 - 07:23:10PM] OnUpdate None[03/01/2012 - 07:23:11PM] OnUpdate None[03/01/2012 - 07:23:12PM] OnUpdate None[03/01/2012 - 07:23:13PM] OnUpdate None[03/01/2012 - 07:23:14PM] OnUpdate None[03/01/2012 - 07:23:15PM] OnUpdate None[03/01/2012 - 07:23:20PM] VM is freezing...[03/01/2012 - 07:23:20PM] VM is frozen[03/01/2012 - 07:23:20PM] Log closed

warning: Property MyProperty on script MyQuestScript attached to MyQuest (0801DED2) cannot be initialized because the script no longer contains that property

(for a clean saved game ofc)Variable :: MyVar on script MyQuestScript loaded from save not found within the actual object. This variable will be skipped.-Then I've saved my game.
I've updated Bag of Holding (heavily script dependent) several times adding, removing, changing, and substituting variables and properties alike and never had any such trouble with updating.
