Jump to content

Skyrim SexLab - Sex Animation Framework v1.62 - UPDATED Jun 3rd 2016


Recommended Posts

10 hours ago, kpaton23 said:

yeah having this problem with sexlab behavior rn. 

could use some help if anybody has time

So you're using Skyrim SE, but you're posting in the thread for the regular Skyrim version of Sexlab? There, that's the issue. Use the SE forum sections to get the proper mod versions. Blue links in my signature should help you find the way.

Link to comment

Unless I am mistaken, Sexlab is currently unusable for anything except just starting an animation. 

 

I was recently porting a FlowerGirls based mod back to Sexlab and ran into problems.  The problem was that the AnimationEnd event was not being sent for a LONG time after the animation actually ended.

 

Here are two log snippets from two animations:

 

[10/20/2020 - 10:28:16PM] SEXLAB - Thread[0] Event Hook - OrgasmEnd

[10/20/2020 - 10:28:16PM] SEXLAB - Thread[0] Event Hook - AnimationEnding

[10/20/2020 - 10:28:17PM] SEXLAB - ActorAlias[Archerone the Sadist]  - Resetting!
[10/20/2020 - 10:28:17PM] SEXLAB - ActorAlias[Hotty]  - Resetting!

 

So far, so good, but:

[10/20/2020 - 10:28:47PM] SEXLAB - Thread[0] Event Hook - AnimationEnd

 

Note that it is 30 freeking seconds between the end of the animation  (AnimationEnding) until AnimatinEnd is sent.

 

The other animation has a 180 second delay:

 

For a threesome animation, it is way worse, something like 1 and a half minutes!!!!!!:

[10/20/2020 - 10:30:48PM] SEXLAB - Thread[1] Event Hook - OrgasmEnd

[10/20/2020 - 10:30:49PM] SEXLAB - Thread[1] Event Hook - AnimationEnding

 

[10/20/2020 - 10:32:19PM] SEXLAB - Thread[1] Event Hook - AnimationEnd

 

This test was done on a fairly good machine with a light script load where Elephants script lag has it running at about 60 millisecs normally and 80 to 100 during Sexlab animations.

 

There is not good reason that I can see why this should take between 30 and 180 seconds for Sexlab to report AnimationEnd.

 

I tested early SSE versions of Sexlab and this was not happening.  Something has happened recently that makes Sexlab completely unusable for me.  I can't imagine that I am the only Sexlab mod author having this issue unless your mod just starts an animation and doesn't care to know when it ends.

Link to comment

@fishburger67 30 seconds is the timeout length a thread will wait for the actor aliases to report that their reset is done and AnimationEnd can be sent. So I'd start by looking in sslActorAlias's ResetActor() function for possible culprits.  Though nothing has significantly changed in them as far as I'm aware.

 

In my test just now it seemed to work just fine:

Spoiler

[10/21/2020 - 03:22:03PM] SEXLAB - Thread[0] Event Hook - OrgasmEnd
[10/21/2020 - 03:22:04PM] SEXLAB - Thread[0] Event Hook - AnimationEnding
[10/21/2020 - 03:22:04PM] SEXLAB - ActorAlias[Aryi]  - Resetting!
[10/21/2020 - 03:22:04PM] SEXLAB - Thread[0] SyncDone(Reset) - Lag Timer: 29.652004
[10/21/2020 - 03:22:04PM] SEXLAB - Thread[0] Event Hook - AnimationEnd

In your logs, are you getting the SyncDone() line like above and removing it in your example? That line may tell you something as well. If that lines missing entirely than something is probably up with the thread scripts rather than the actoralias script. 

 

I'd start by commenting out non-critical parts of the ResetActor() function though and seeing if that fixes it for you. Stuff like the stat recording, UnStrip(), and hdt/nio heel stuff. Also make sure you don't have a menu or console open during the ending, that may pause some functions used somewhere.  If still no luck than start commenting out critical parts of the function to narrow it down more. Just make sure the last line (Thread.SyncEventDone(kResetActor)) atleast remains.

Link to comment
2 hours ago, Ashal said:

@fishburger67 30 seconds is the timeout length a thread will wait for the actor aliases to report that their reset is done and AnimationEnd can be sent. So I'd start by looking in sslActorAlias's ResetActor() function for possible culprits.  Though nothing has significantly changed in them as far as I'm aware.

 

In my test just now it seemed to work just fine:

  Reveal hidden contents

In your logs, are you getting the SyncDone() line like above and removing it in your example? That line may tell you something as well. If that lines missing entirely than something is probably up with the thread scripts rather than the actoralias script. 

 

I'd start by commenting out non-critical parts of the ResetActor() function though and seeing if that fixes it for you. Stuff like the stat recording, UnStrip(), and hdt/nio heel stuff. Also make sure you don't have a menu or console open during the ending, that may pause some functions used somewhere.  If still no luck than start commenting out critical parts of the function to narrow it down more. Just make sure the last line (Thread.SyncEventDone(kResetActor)) atleast remains.

 

 

Added a new Quest with some very simple code as shown below.   Here is the results from the log starting when the Orgasm happened:

 

[10/21/2020 - 05:48:59PM] SEXLAB - Thread[0] Event Hook - OrgasmStart
[10/21/2020 - 05:48:59PM] SEXLAB - Thread[0] Event Hook - StageStart
[10/21/2020 - 05:48:59PM] SEXLAB - ActorAlias[Kamille Shy]  - Orgasms[1] Enjoyment [62] BaseEnjoyment[3] FullEnjoyment[62]
[10/21/2020 - 05:48:59PM] SEXLAB - ActorAlias[SexlabTest]  - Orgasms[1] Enjoyment [64] BaseEnjoyment[5] FullEnjoyment[64]
[10/21/2020 - 05:49:08PM] SEXLAB - Thread[0] Event Hook - OrgasmEnd
[10/21/2020 - 05:49:08PM] Getting actors from  1[sslthreadcontroller <SexLabThread00 (08061EEF)>]
[10/21/2020 - 05:49:08PM] Have actorList = [[Actor < (0A0022FD)>], [Actor < (00000014)>]]
[10/21/2020 - 05:49:08PM] Updating arousal for actor Kamille Shy to 0
[10/21/2020 - 05:49:09PM] Updating arousal for actor SexlabTest to 0
[10/21/2020 - 05:49:09PM] SEXLAB - Thread[0] Event Hook - AnimationEnding
[10/21/2020 - 05:49:09PM] [ssl_QF_SexSlSexlabTest_06288BFC <SexSlSexlabTest (3C288BFC)>] AnimationEnding
[10/21/2020 - 05:49:09PM] SEXLAB - ActorAlias[Kamille Shy]  - Resetting!
[10/21/2020 - 05:49:09PM] SEXLAB - ActorAlias[SexlabTest]  - Resetting!
[10/21/2020 - 05:50:39PM] SEXLAB - Thread[0] Event Hook - AnimationEnd
[10/21/2020 - 05:50:39PM] [ssl_QF_SexSlSexlabTest_06288BFC <SexSlSexlabTest (3C288BFC)>] AnimationEnd
[10/21/2020 - 05:50:39PM] SEXLAB - Thread[0] SyncDone(Reset) - Lag Timer: -57.797012

 

Note animationEnding 49:09.  Note the AnimationEnd notification at 50:39, a full minute and a half later.  During this minute and a half, both players stood around naked.

 

Here is the code:

function StartSexWithPlayer(Actor akActor)
    Actor[] sexActors = new Actor[2]

    if(Player.GetLeveledActorBase().GetSex() == 1)
        sexActors[1] = akActor
        sexActors[0] = Player
    else
        sexActors[0] = akActor
        sexActors[1] = Player
    endif
    
    ;This is for a test only to see if it effects things
    Game.DisablePlayerControls()
    sexActors = SexLab.SortActors(sexActors)
    sslBaseAnimation[] anims = SexLab.GetAnimationsByTag(2, "Missionary", Tag2 = "Leito", RequireAll = false)
    RegisterForModEvent("AnimationEnd_NewSlaveHappy", "AnimationEnd")
    RegisterForModEvent("AnimationEnding_NewSlaveHappy", "AnimationEnding")
    debug.trace("Animation Started")
    int id = SexLab.StartSex(sexActors, anims, allowBed=false, hook="NewSlaveHappy")

endFunction

event AnimationEnd(string eventName, string argString, float argNum, form sender)
    
    UnRegisterForModEvent("AnimationEnd_NewSlaveHappy")
    Game.EnablePlayerControls()
    debug.trace(self + " AnimationEnd")
endEvent

event AnimationEnding(string eventName, string argString, float argNum, form sender)
    
    UnRegisterForModEvent("AnimationEnding_NewSlaveHappy")
    
    debug.trace(self + " AnimationEnding ")
endEvent

 

When I get a minute, I'll dig into ResetActor(), but I note from the log that both actors are resetting at the same time as AnimationEnding.

 

Gonna remove the DisablePlayerControls() to see if that affects anything.

 

Link to comment
2 hours ago, Ashal said:

@fishburger67 30 seconds is the timeout length a thread will wait for the actor aliases to report that their reset is done and AnimationEnd can be sent. So I'd start by looking in sslActorAlias's ResetActor() function for possible culprits.  Though nothing has significantly changed in them as far as I'm aware.

 

In my test just now it seemed to work just fine:

  Reveal hidden contents

In your logs, are you getting the SyncDone() line like above and removing it in your example? That line may tell you something as well. If that lines missing entirely than something is probably up with the thread scripts rather than the actoralias script. 

 

I'd start by commenting out non-critical parts of the ResetActor() function though and seeing if that fixes it for you. Stuff like the stat recording, UnStrip(), and hdt/nio heel stuff. Also make sure you don't have a menu or console open during the ending, that may pause some functions used somewhere.  If still no luck than start commenting out critical parts of the function to narrow it down more. Just make sure the last line (Thread.SyncEventDone(kResetActor)) atleast remains.

 

Update

 

Tried this again with the Game.DisablePlayerControls commented out and Skyrim CTD'd with this long

 

Spoiler

[10/21/2020 - 06:02:21PM] SEXLAB - Thread[0]  - Entering Making State
[10/21/2020 - 06:02:22PM] SEXLAB - NOTICE: ValidateActor(Kamille Shy) -- TRUE -- HIT
[10/21/2020 - 06:02:22PM] SEXLAB - ActorAlias[Kamille Shy] SetActor([Actor < (0A0022FD)>]) - [sslActorAlias <alias ActorAlias004 on quest SexLabThread00 (08061EEF)>]
[10/21/2020 - 06:02:22PM] SEXLAB - NOTICE: ValidateActor(SexlabTest) -- TRUE -- MISS
[10/21/2020 - 06:02:22PM] SEXLAB - ActorAlias[SexlabTest] SetActor([Actor < (00000014)>]) - [sslActorAlias <alias ActorAlias003 on quest SexLabThread00 (08061EEF)>]
[10/21/2020 - 06:02:22PM] SEXLAB - Thread[0]  - HookAnimationStarting() - []
[10/21/2020 - 06:02:22PM] SEXLAB - Thread[0] Event Hook - AnimationStarting
[10/21/2020 - 06:02:22PM] SEXLAB - Thread[0]  - HookAnimationPrepare() - []
[10/21/2020 - 06:02:23PM] SEXLAB - Thread[0] Adjustment Profile - NordRaceF.NordRaceM
[10/21/2020 - 06:02:24PM] SEXLAB - ActorAlias[SexlabTest]  - Current Distance From WaitRef[[Actor < (0A0022FD)>]]: 156.134689 // Moved: 2.665009
[10/21/2020 - 06:02:24PM] SEXLAB - ActorAlias[Kamille Shy]  - Current Distance From WaitRef[[Actor < (00000014)>]]: 156.134689 // Moved: 2.665039
[10/21/2020 - 06:02:25PM] SEXLAB - ActorAlias[Kamille Shy]  - Current Distance From WaitRef[[Actor < (00000014)>]]: 156.813080 // Moved: -0.678391
[10/21/2020 - 06:02:25PM] SEXLAB - ActorAlias[SexlabTest]  - Current Distance From WaitRef[[Actor < (0A0022FD)>]]: 156.813080 // Moved: -0.678391
[10/21/2020 - 06:02:25PM] SEXLAB - ActorAlias[Kamille Shy]  - StuckCheck(0) No progress while waiting for [[Actor < (00000014)>]]
[10/21/2020 - 06:02:25PM] SEXLAB - ActorAlias[SexlabTest]  - StuckCheck(0) No progress while waiting for [[Actor < (0A0022FD)>]]
[10/21/2020 - 06:02:26PM] SEXLAB - ActorAlias[Kamille Shy]  - Current Distance From WaitRef[[Actor < (00000014)>]]: 156.813080 // Moved: 0.000000
[10/21/2020 - 06:02:26PM] SEXLAB - ActorAlias[SexlabTest]  - Current Distance From WaitRef[[Actor < (0A0022FD)>]]: 156.813080 // Moved: 0.000000
[10/21/2020 - 06:02:26PM] SEXLAB - ActorAlias[Kamille Shy]  - StuckCheck(1) No progress while waiting for [[Actor < (00000014)>]]
[10/21/2020 - 06:02:26PM] SEXLAB - ActorAlias[SexlabTest]  - StuckCheck(1) No progress while waiting for [[Actor < (0A0022FD)>]]
[10/21/2020 - 06:02:27PM] SEXLAB - ActorAlias[Kamille Shy]  - Current Distance From WaitRef[[Actor < (00000014)>]]: 156.813080 // Moved: 0.000000
[10/21/2020 - 06:02:27PM] SEXLAB - ActorAlias[SexlabTest]  - Current Distance From WaitRef[[Actor < (0A0022FD)>]]: 156.813080 // Moved: 0.000000
[10/21/2020 - 06:02:27PM] SEXLAB - ActorAlias[Kamille Shy]  - StuckCheck(2) No progress while waiting for [[Actor < (00000014)>]]
[10/21/2020 - 06:02:27PM] SEXLAB - ActorAlias[SexlabTest]  - StuckCheck(2) No progress while waiting for [[Actor < (0A0022FD)>]]
[10/21/2020 - 06:02:28PM] SEXLAB - ActorAlias[Kamille Shy]  - Current Distance From WaitRef[[Actor < (00000014)>]]: 156.813080 // Moved: 0.000000
[10/21/2020 - 06:02:28PM] SEXLAB - ActorAlias[SexlabTest]  - Current Distance From WaitRef[[Actor < (0A0022FD)>]]: 156.813080 // Moved: 0.000000
[10/21/2020 - 06:02:28PM] SEXLAB - ActorAlias[SexlabTest]  - StuckCheck(3) No progress while waiting for [[Actor < (0A0022FD)>]]
[10/21/2020 - 06:02:28PM] SEXLAB - ActorAlias[Kamille Shy]  - StuckCheck(3) No progress while waiting for [[Actor < (00000014)>]]
[10/21/2020 - 06:02:29PM] SEXLAB - ActorAlias[SexlabTest]  - Current Distance From WaitRef[[Actor < (0A0022FD)>]]: 156.813080 // Moved: 0.000000
[10/21/2020 - 06:02:29PM] SEXLAB - ActorAlias[Kamille Shy]  - Current Distance From WaitRef[[Actor < (00000014)>]]: 156.813080 // Moved: 0.000000
[10/21/2020 - 06:02:29PM] SEXLAB - ActorAlias[SexlabTest]  - StuckCheck(4) No progress while waiting for [[Actor < (0A0022FD)>]]
[10/21/2020 - 06:02:29PM] SEXLAB - ActorAlias[Kamille Shy]  - StuckCheck(4) No progress while waiting for [[Actor < (00000014)>]]
[10/21/2020 - 06:02:30PM] SEXLAB - ActorAlias[SexlabTest]  - Waited [1] cycles for MarkerRef[[ObjectReference < (FF000CB1)>]]

 

Loaded again and it ran fine.  Tried two animations and each completed as they should have.  Here is the log from one of the animations:

 

Spoiler

[10/21/2020 - 06:05:23PM] SEXLAB - Thread[0] Event Hook - OrgasmStart
[10/21/2020 - 06:05:23PM] SEXLAB - Thread[0] Event Hook - StageStart
[10/21/2020 - 06:05:23PM] SEXLAB - ActorAlias[SexlabTest]  - Orgasms[1] Enjoyment [62] BaseEnjoyment[3] FullEnjoyment[62]
[10/21/2020 - 06:05:23PM] SEXLAB - ActorAlias[Kamille Shy]  - Orgasms[1] Enjoyment [62] BaseEnjoyment[3] FullEnjoyment[62]
[10/21/2020 - 06:05:30PM] SEXLAB - Thread[0] Event Hook - OrgasmEnd
[10/21/2020 - 06:05:30PM] Getting actors from  1[sslthreadcontroller <SexLabThread00 (08061EEF)>]
[10/21/2020 - 06:05:30PM] Have actorList = [[Actor < (0A0022FD)>], [Actor < (00000014)>]]
[10/21/2020 - 06:05:31PM] Updating arousal for actor Kamille Shy to 0
[10/21/2020 - 06:05:31PM] Updating arousal for actor SexlabTest to 0
[10/21/2020 - 06:05:31PM] SEXLAB - Thread[0] Event Hook - AnimationEnding
[10/21/2020 - 06:05:31PM] [ssl_QF_SexSlSexlabTest_06288BFC <SexSlSexlabTest (3C288BFC)>] AnimationEnding
[10/21/2020 - 06:05:31PM] SEXLAB - ActorAlias[Kamille Shy]  - Resetting!
[10/21/2020 - 06:05:31PM] SEXLAB - ActorAlias[SexlabTest]  - Resetting!
[10/21/2020 - 06:05:32PM] SEXLAB - Thread[0] SyncDone(Reset) - Lag Timer: 28.686005
[10/21/2020 - 06:05:33PM] SEXLAB - Thread[0] Event Hook - AnimationEnd
[10/21/2020 - 06:05:33PM] [ssl_QF_SexSlSexlabTest_06288BFC <SexSlSexlabTest (3C288BFC)>] AnimationEnd

 

Note that it was only two seconds from AnimationEnding to AnimationEnd, so I am guessing that the problem is with the Game.DisablePlayerControls().  Gonna go and try that next in the real game to see if that fixes things.

Link to comment
8 hours ago, Ashal said:

@fishburger67 30 seconds is the timeout length a thread will wait for the actor aliases to report that their reset is done and AnimationEnd can be sent. So I'd start by looking in sslActorAlias's ResetActor() function for possible culprits.  Though nothing has significantly changed in them as far as I'm aware.

 

In my test just now it seemed to work just fine:

  Reveal hidden contents

In your logs, are you getting the SyncDone() line like above and removing it in your example? That line may tell you something as well. If that lines missing entirely than something is probably up with the thread scripts rather than the actoralias script. 

 

I'd start by commenting out non-critical parts of the ResetActor() function though and seeing if that fixes it for you. Stuff like the stat recording, UnStrip(), and hdt/nio heel stuff. Also make sure you don't have a menu or console open during the ending, that may pause some functions used somewhere.  If still no luck than start commenting out critical parts of the function to narrow it down more. Just make sure the last line (Thread.SyncEventDone(kResetActor)) atleast remains.

 

Well, I have confirmed that the problem is with Game.DisablePlayerControls().  If the player controls are disabled at the time you start a Sexlab animation, sexlab does not sent the AnimationEnd event until after a LONG delay as noted above.   I ran through several scenes and when I Game.EnablePlayerControls() right before starting the animation, everything worked flawlessly.

 

Thanks so much.

 

Link to comment

Hello everyone.. I just want to ask about something..

So I have downloaded the latest version of SL framework v162 and I noticed every sex animation now didnt end automatically in its latest phase when both actors reached climax although I have auto advance option activated. Meanwhile in the old version of SL framework (161b), animations ended automatically when both actors reached climax, is this actually normal for v162 or there were installation mistakes ? 

 

Thank you in advance

Link to comment
14 hours ago, Atlants12 said:

first two link to download its wrong link, they are the link of numer 3 and 4, the 1 and 2 dont work

First two files redirect to MEGA, links are working.

Last two files are uploaded to this website so you get a direct download. These are also working.

 

You just need the 3rd file which is the latest and full version (1.62). So either try with a different browser or verify your browser is working as intended (clean cookies if you need it or take note if your browser asks you if you want to be redirected or save things from MEGA, etc.).

Link to comment
11 hours ago, Jtidders said:

Hey can anybody help me, I can't get any animations to play. The character just stands there in idle position and the sound for the animation plays.

FNIS.

 

Install it. Make sure you're installing the proper version for your game, verify the install path is the correct one (no extra folders between Data\tools, etc).

Use it. Having it installed is not enough, as hinted in the mod description. Use the GenerateFNISforUsers.exe (and configure it to work with your mod manager if needed).

Read it. If there are error or warning lines you must fix them.

Link to comment

I've a question. Every time a sex scene is launched, either through defeat, or submit. The range of scene options tends to go from either 1v1 or to the max available actors. Even if there's a range of scenes available from 1v1, 2v1, 3v1 or 4v1. Seems to select the lowest or the max. The only way I've found to limit this is to disable the animations that allow the most actors  in a scene. An even then it just defaults to the same ratio, 1v1 to the max allowed. So if I disabled a 4v1, it will only switch between scenes of 1v1 and 3v1. Ignoring anything between. Is this just the way the framework runs? I've set multiple actors to default % and it still performs the same.

Link to comment
  • 2 weeks later...

i have a question i cant find the answer to

 

in SL prerequisite checks everything is "ok" except FNIS creature pack, it has a "?"

 

i have installed FNIS creatures 7.6

 

used SL matchmaker to see if PC and creature start scene and it does! so it should be okay to ignore this question mark?

Link to comment
3 hours ago, M.BISON said:

i have a question i cant find the answer to

 

in SL prerequisite checks everything is "ok" except FNIS creature pack, it has a "?"

 

i have installed FNIS creatures 7.6

 

used SL matchmaker to see if PC and creature start scene and it does! so it should be okay to ignore this question mark?

there is a error in FNIS's version script, it prevents mods from reading the version number correctly but it does not effect anything.

 

there is a fix for it but it's completely unnecessary, the ? can be safely ignored.

Link to comment

This mod is nearly impossible to use if you can not read, write, speak, or understand Spanish. I can read about and even download this mod from the file menu perfectly as it shows up in English. However, it always seems to when downloaded and installed be 100% in Spanish. Can I get help in having it in English please?

Link to comment

Hello anyone know how to fix sex animation stage 1 , actors standing still when changing animation during sex, but when go to stage 2 and press realign button fixes, but when you want to come back to stage 1 happens again. Sometimes works fine....  Only stage 1 all other stages works perfect

Link to comment

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...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more information, see our Privacy Policy & Terms of Use