Sky121 Posted May 14, 2024 Posted May 14, 2024 When loading a save or dying, constantly pops up window "cant find sexlab thread", sometimes the text is different. I tried to solve the problem by disabling mods, but the error does not always occur, which complicates the search. Does anyone know how to solve the problem? plugins.txt modlist.txt
traison Posted May 15, 2024 Posted May 15, 2024 So assuming the message is literally "find sexlab thread" and not "find SexLab thread" or any other variation of that then: Load your loadorder as-is in xEdit. Run the script below on any plugin (doesn't matter which one). Spoiler { Find message } unit UserScript; function Initialize: integer; var i: integer; j: integer; f: IInterface; e: IInterface; sig: string; begin // iterate over loaded plugins for i := 0 to Pred(FileCount) do begin f := FileByIndex(i); for j := 0 to Pred(RecordCount(f)) do begin e := RecordByIndex(f, j); sig := Signature(e); if sig <> 'MESG' then Continue; Search(e) end; end; end; procedure Search(e: IInterface); var m: string; begin m := GetElementNativeValues(e, 'DESC'); if pos('find sexlab thread', m) > 0 then AddMessage(IntToHex(GetLoadOrderFormID(e), 8)); end; end. Edit line 35 if the message is formatted differently. It has to be exact.
Sky121 Posted May 15, 2024 Author Posted May 15, 2024 2 hours ago, traison said: So assuming the message is literally "find sexlab thread" and not "find SexLab thread" or any other variation of that then: Load your loadorder as-is in xEdit. Run the script below on any plugin (doesn't matter which one). Reveal hidden contents { Find message } unit UserScript; function Initialize: integer; var i: integer; j: integer; f: IInterface; e: IInterface; sig: string; begin // iterate over loaded plugins for i := 0 to Pred(FileCount) do begin f := FileByIndex(i); for j := 0 to Pred(RecordCount(f)) do begin e := RecordByIndex(f, j); sig := Signature(e); if sig <> 'MESG' then Continue; Search(e) end; end; end; procedure Search(e: IInterface); var m: string; begin m := GetElementNativeValues(e, 'DESC'); if pos('find sexlab thread', m) > 0 then AddMessage(IntToHex(GetLoadOrderFormID(e), 8)); end; end. Edit line 35 if the message is formatted differently. It has to be exact. Most often the message "Can`t find a sexlab thread" appears, but other messages related to other mods also appeared, but when they were disabled, nothing changed: "The smelters is getting weak, get more coal to get fire going" ; "The girl you are looking for is named Zoe..." ; "Plugin: MME.PluginCheck.ddl Status:on..." and other.
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now