nhl Posted August 2, 2013 Posted August 2, 2013 There might be a clue as to why the StartSex() call fails in the papyrus logs.
thobiasn Posted August 2, 2013 Author Posted August 2, 2013 There might be a clue as to why the StartSex() call fails in the papyrus logs. How do i access those logs?
nhl Posted August 2, 2013 Posted August 2, 2013 You need to modify your ini settings in order for them to be created. They are disabled by default because they can seriously slow down the game and reach an ungodly size, and they're only of interest to developers and modders. The first section in this page explains how to enable the logs. Once you're set up, just launch the game as you normally would, reproduce the bug, wait a few seconds and exit. Then, navigate to your My Games\Skyrim\Logs\Script folder and open papyrus.0.log with a text editor. You can use Notepad to do so, but the log won't be formatted and it will be very dificult to make sense of it. You can use a text editor like Notepad++ for instance to make it easier on your eyes. Finally, look at what was logged when you selected the line that should have triggered the animation (there should be calls to SexLab functions at that point in the log). I suggest adding Debug.Trace("Insert what you want in here") just before you call StartSex() in your script to know where to look at in the log more precisely. If you wish to, you can post the relevant content here in a spoiler tag. EDIT: Sorry I posted something incomplete the first time around. I accidently hit Enter.
thobiasn Posted August 3, 2013 Author Posted August 3, 2013 You need to modify your ini settings in order for them to be created. They are disabled by default because they can seriously slow down the game and reach an ungodly size, and they're only of interest to developers and modders. The first section in this page explains how to enable the logs. Once you're set up, just launch the game as you normally would, reproduce the bug, wait a few seconds and exit. Then, navigate to your My Games\Skyrim\Logs\Script folder and open papyrus.0.log with a text editor. You can use Notepad to do so, but the log won't be formatted and it will be very dificult to make sense of it. You can use a text editor like Notepad++ for instance to make it easier on your eyes. Finally, look at what was logged when you selected the line that should have triggered the animation (there should be calls to SexLab functions at that point in the log). I suggest adding Debug.Trace("Insert what you want in here") just before you call StartSex() in your script to know where to look at in the log more precisely. If you wish to, you can post the relevant content here in a spoiler tag. EDIT: Sorry I posted something incomplete the first time around. I accidently hit Enter. Got it. This is what my script returned: Error log: 08/03/2013 - 07:36:18AM] ERROR: Cannot call StartSex() on a None object, aborting function call stack: [topic info 2400CE2D on quest MADESeranaQuest (24002F9A)].TIF__0400CE2D.Fragment_0() - "TIF__0400CE2D.psc" Line 22 [08/03/2013 - 07:36:18AM] warning: Assigning None to a non-object variable named "::temp2" stack: [topic info 2400CE2D on quest MADESeranaQuest (24002F9A)].TIF__0400CE2D.Fragment_0() - "TIF__0400CE2D.psc" Line 22 [08/03/2013 - 07:36:27AM] [DLC1VampireSleepScript <DLC1VampireSleep (06008E3B)>]PlayerActivateBed() IsCoffin =False [08/03/2013 - 07:36:36AM] For tracing [08/03/2013 - 07:36:36AM] ERROR: Cannot call StartSex() on a None object, aborting function call stack: [topic info 2400CE2D on quest MADESeranaQuest (24002F9A)].TIF__0400CE2D.Fragment_0() - "TIF__0400CE2D.psc" Line 22 [08/03/2013 - 07:36:36AM] warning: Assigning None to a non-object variable named "::temp2" stack: [topic info 2400CE2D on quest MADESeranaQuest (24002F9A)].TIF__0400CE2D.Fragment_0() - "TIF__0400CE2D.psc" Line 22 [08/03/2013 - 07:36:39AM] RNPC: Periodic update check. [08/03/2013 - 07:36:55AM] VM is freezing... [08/03/2013 - 07:36:55AM] VM is frozen
nhl Posted August 4, 2013 Posted August 4, 2013 08/03/2013 - 07:36:18AM] ERROR: Cannot call StartSex() on a None object, aborting function call means that either something in the sexActors array was not recognized as an Actor type, or something in the anims array was not recognized as an sslBaseAnimation type. Since anims is handled by SexLab and Game.GetPlayer() does return an Actor type, the likely culprit is Serana. What happens when you change sexActors[0] = DLC1Serana to sexActors[0] = akSpeaker ?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.