Jump to content

Need help locating a script in my esp


superl

Recommended Posts

Hi everyone

 

I removed a script from 6 doors in my esp and after deleted from the drive

Scriptname DL_AutoCloseDoorTimerSciprt extends ObjectReference 

int property Timer = 10 auto
{The time at which to wait before closing the door default is 10 seconds}

Event OnActivate(ObjectReference akActionRef)
    
    int openState = Self.GetOpenState()

    if (openState == 1 || openState == 2)
        Utility.Wait(Timer)
        Self.SetOpen(false)
        EndIf
EndEvent

[02/01/2019 - 06:46:34AM] Cannot open store for class "DL_AutoCloseDoorTimerSciprt", missing file?
[02/01/2019 - 06:46:34AM] Error: Unable to bind script DL_AutoCloseDoorTimerSciprt to  (2212D81F) because their base types do not match

Now my papyrus log is full of this error, so my question is how do I find this reference 2212D81F

I tried in CK64 search text, check in the object windows all papyrus script attach for DL_AutoCloseDoorTimerSciprt, I also tried with SSedit with no luck at all

 

If I run the game for a few minutes papyrus log will be minimum 1MB of size of repeating those error lines

 

Thank You

 

Edit I also started a new game to make sure it wasn't in the save game file

 

I also created a workaround a dummy script and the error goes but for me it's not a solution and the script never fire up

Scriptname DL_AutoCloseDoorTimerSciprt extends ObjectReference 

Event OnActivate(ObjectReference akActionRef)
    Debug.MessageBox(akActionRef + " <> " Self)
   
    EndEvent 
Link to comment
Share on other sites

Using GetFormFromFile and FindClosestReferenceOfTypeFromRef, you can search for the reference based on its form, when found, you can disable and delete the object. The engine should stop caring after that.

 

Btw, aren't you that same guy that made that script editor some years back?

Edited by Rasikko
Link to comment
Share on other sites

OK solve it, I didn't think about the in game refID the two first numbers are the load order, I replace them with the one that CK use for me it's 05 did a search and got it.

It was attach to the ceiling fixture over a door " must being selected at the same time I put the script on the door " :laugh:

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...