Jump to content

How do I find out which mod or script launched the sexlab scene?


Recommended Posts

Posted

How do I find out which mod or script launched the sexlab scene? Maybe it's indicated somewhere in the logs? I've looked at Papyrus.0.log and SexLabDebug.0.log, but I haven't found anything.

Posted (edited)

I would edit the sslThreadModel.psc script, and have it tell me where it got the order from. Add a call to Debug.Trace in the StartThread function. View the Papyrus log for the callstack.

 

Edit: Debug.TraceStack, see below.

Edited by traison
Posted
23 hours ago, traison said:

I would edit the sslThreadModel.psc script, and have it tell me where it got the order from. Add a call to .psc script, and have it tell me where it got the order from. Add a call to , and have it tell me where it got the order from. Add a call to Debug.Trace in the StartThread function. View the Papyrus log for the callstack. function. View the Papyrus log for the callstack.

I'm not good at writing scripts, could you explain in more detail what I need to do?

Posted

There's plenty of info about this. Beware of the 2 conflicting standards for where script source files should be. Start by getting the CK ready to compile scripts. Do a dry-run compile of SL's sslThreadModel. The rest is easy.

Posted
On 8/8/2025 at 4:06 AM, traison said:

There's plenty of info about this. Beware of the 2 conflicting standards for where script source files should be. Start by getting the CK ready to compile scripts. Do a dry-run compile of SL's sslThreadModel. The rest is easy.

I have CK configured and I know how to compile scripts. I looked at the StartThread() function, but I don't understand what exactly I should output to using Debug.Trace(), as far as I understand, there is no data in this function about where it is called from.

Posted
1 hour ago, traison said:

Debug.Trace is the wrong function, TraceStack has the callstack attached to it.

 

You can have it output "Banana". Something easy to find.

Thanks, it helped.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
  • Recently Browsing   0 members

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