Jump to content

SexLab Framework Development


Recommended Posts

hi guys :)

 

i just wanted to ask a qoestion .

 

after each sexlab mod i install i must start a new game or the game Crash to Desktop, is this normal?

and if ist not normal what can i do to solve the Problem ?

 

No that's not normal, You should be able to install new mods just find as long as you installed all the requirements.

 

So after each mod you have get CTD's until you make a new character?

Link to comment

However this is not a thread for bug reports or technical support on the current version of SexLab; this thread if for things related to the current development and nothing else.

 

Link to comment

If this is thread for ideas for future sexlab then here are a few:

 

1. Include matchmaker as a debugging tool (option for debug in mcm already exists)

2. Add get dressed stage instead of ragdolling

3. Add option to disable even actors height for standing animations - both actors standing. Reasons:

- even actor heights option makes 90% of animation line up properly

- standing animations created to line up properly with higher male then female will misalign if actors have same height

4. Add hotkey option to start animation currently selected in animation editor (with the option to play only current stage or to progress)

5. Add hotkey option to start player expression currently selected in expression editor

Link to comment

 

However this is not a thread for bug reports or technical support on the current version of SexLab; this thread if for things related to the current development and nothing else.

 

 

Link to comment

 

 

However this is not a thread for bug reports or technical support on the current version of SexLab; this thread if for things related to the current development and nothing else.

 

 

 

None bug reported, none technical support asked for. Not talking about current 1.55 version.

I was talking about development of 1.60 and i cant find any topic more apropriate then this one.

Link to comment

Ive been working alot on aligning animations with new editor and noticed how many of the animations needed position fixing. From characters cliping to schlongs erected so much they are going inside male body etc etc. So after about 6 hours i think i got all the positions fixed. Heres my question: is there some way to export this data and send it to you Ashal ( if ur interested ofc). Then you can use it as base for next realses. I think most of the people would be greatfull for not having to do it themselves.

 

Sorry but..answers\follows-up to this post? Maybe Ashal already included the changes, idk.

Since it concerns optimization of the actual animations I consider it "in topic" :angel:

thx

 

Edit:

  • Animation alignments can now be are now saved and loaded between 5 separate external json files so you can have different settings for different saves

 

So I guess Anubis or someone else can share the json file as a mod.

 

 

Link to comment

 

Ive been working alot on aligning animations with new editor and noticed how many of the animations needed position fixing. From characters cliping to schlongs erected so much they are going inside male body etc etc. So after about 6 hours i think i got all the positions fixed. Heres my question: is there some way to export this data and send it to you Ashal ( if ur interested ofc). Then you can use it as base for next realses. I think most of the people would be greatfull for not having to do it themselves.

 

Sorry but..answers\follows-up to this post? Maybe Ashal already included the changes, idk.

Since it concerns optimization of the actual animations I consider it "in topic" :angel:

thx

 

Edit:

  • Animation alignments can now be are now saved and loaded between 5 separate external json files so you can have different settings for different saves
So I guess Anubis or someone else can share the json file as a mod.

 

Note which male and female skeletons and bodies were used when uploading something like that.

Link to comment

I used sevenbase bombshell, male vanilla, xp32 skeleton - if that is what ur asking.

Schlongs of skyrim was also used and thats actually a problem. You can set same hights for every character with sexlab but everyone gona have diff size of schlong in their game.

Thats gona make some animations look strange if u don't use same size as creator of preset.

Link to comment

What about a hotkey or an option in the MCM that disables/enables all hotkeys?

When you're playing normally you usually don't want to access SexLab features, so they just clutter your keyboard during play.

 

Actually toggle free camera is usefull hotkey for taking screenshots.

Link to comment

 

**snipysnip**

Using SexLab's AnimationFactory by extending it without your own script

 

 

scriptname MyAnimations extends sslAnimationFactory

function LoadAnimation()
	PrepareFactory()
	RegisterAnimation("MyAnimation")
endFunction

; This callback is automatically registered and sent by sslAnimationFactory
function MyAnimation(int id)
	; // Get the animation we are registering
	sslBaseAnimation a = Create(id)
	a.Name = "My Animation"
	; // Access the female flag from sslAnimationFactory's readonly property
	int a1 = a.AddPosition( Female, addCum = Vaginal )
	a.AddPositionStage(a1, "Missionary_A1_S1", 0)
	; // Other registrations stuff, closed off by a.Save(id)
	a.Save(id)
endFunction

 

 

 

If we were doing something like this with creatures how would we access or load in the array's from the creature defaults script?

Would it look something like this?

 

 

Scriptname zzScriptingForDumbBlondes extends sslAnimationFactory
SexlabFramework Property Sexlab Auto

String[] Property Giants  Auto ; **1

function LoadCreatureAnimations()
	; Prepare factory resources (as creature)
	PrepareFactoryCreatures()
	RegisterAnimation("IhaveNoIdeaWhatImDoing")
endFunction


function IhaveNoIdeaWhatImDoing(int id)
	sslBaseAnimation Base = Create(id)
	Base.Name = "(Durp) Go have some coffee"
	Base.SoundFX = Squishing
	Base.SetRaceIDs(Giants)  ; **2

	int a1 = Base.AddPosition(Female, addCum=VaginalAnal)
	Base.AddPositionStage(a1, "Giant_Penetration_A1_S1")
	; Blah blah blah

	int a2 = Base.AddPosition(Creature)
	Base.AddPositionStage(a2, "Giant_Penetration_A2_S1", 35.0, rotate=180.0)
	; blah blah

	Base.AddTag("Durp")
	; some tags

	Base.Save(id)
endFunction

or would we use something like

sslCreatureAnimationDefaults property Giants auto 

at ; **1

 

 

 

 

If we try to compile without defining the race variable at ; **2 it fails.

Link to comment

the race arrays in the sslCreatureAnimationDefaults.psc script are there merely for the convenience of that one script and you are by no means restricted to following its example.

 

You can copy paste the default scripts race id arrays, or just define them inline when creating your animation like so.
 

function GiantPenetration(int id)
	sslBaseAnimation Base = Create(id)
	; // stuff...

	Base.AddRaceID("GiantRace")
	Base.AddRaceID("DLC2GhostFrostGiantRace")
	
	; // stuff...
	Base.Save(id)
endFunction

Link to comment

Shit I forgot to ask...

 

Is there a function to force the "even actor heights" toggle one way or another for a given animation?

 

Sort of like how chaurus' are fucked if you have it turned on, but they're fine if you don't.

Lurkers (if you try adding them), have the opposite in that half of them don't align if it's turned off. Turn it on and they're flawless.

Iirc Dayelyte's chicken animation has that issue aswell.

 

oh ohoh oh and is there a ceiling on the # of animation slots? I looked around in the .psc's but it looked to me like it just makes new slots as it goes.

Link to comment

No, short of manually overriding the users settings by changing the properties in sslSystemConfig, which I wouldn't recommend, there is no function to target the scaling being on or off on an individual basis.

 

The limit for animations slots is 125 and Creatures and Non-Creatures keep their own separate lists, so both can have that many.

Link to comment

Setting the equipment strip for a thread seems to have some issues in 1.56. For example, these snippets:

 

noStrip = new bool[33]
doStrip = new bool[33]
doStrip[0] = true ; head
doStrip[2] = true ; body
doStrip[5] = true ; amulet
doStrip[9] = true ; shield
doStrip[14] = true ; face/mouth
doStrip[15] = true ; neck
doStrip[16] = true ; chest
doStrip[17] = true ; back
doStrip[19] = true ; pelvis primary
doStrip[22] = true ; pelvis secondary
doStrip[25] = true ; face/jewelry
doStrip[26] = true ; chest secondary
doStrip[27] = true ; shoulder
doStrip[32] = true ; weapons

sslBaseAnimation[] anims = GetAnimations(pl, actors.Length, agg)
RegisterForModEvent("HookAnimationEnd_Helpless", "RapeEnd")   
    
sslThreadModel thread = SexLab.NewThread()
if thread == none
    StopSceneAndClear()
    return
endIf
thread.AddActor(pl, true)
thread.SetStrip(pl, noStrip)
thread.AddActor(actors[1])
thread.SetStrip(actors[1], doStrip)
if actors.length == 3
    thread.AddActor(actors[2])
    thread.SetStrip(actors[2], doStrip)
endIf
thread.SetHook("Helpless")
thread.SetAnimations(anims)
thread.DisableLeadIn()
thread.DisableBedUse(true)
sslThreadController controller = thread.StartThread()

 


With SL 1.56 it doesn't seem to respect those settings, it still strips feet and hands for example, even though they haven't been set on the array. Using SetStrip() on a thread also is a lot slower than it was with 1.55, here's a log from one run:


[05/10/2014 - 06:07:10PM] [Helpless]: Getting animations for Leanne with tags: Footjob,Vaginal,Anal,Oral,Boobjob, suppressing: SubSub,Pillory,Handjob,Cuddling,DomSub
[05/10/2014 - 06:07:10PM] -- SexLab -- NOTICE: Found Animations(46): Missionary, Rough Missionary, Arrok Missionary, Arrok Leg Up Fuck, Zyn Missionary, AP Bed Missionary, AP Holding Leg Up, AP Leg Up Fuck, Doggy Style, Rough Behind, Rough Doggy Style, Arrok DoggyStyle, Arrok Rape, Zyn DoggyStyle, AP DoggyStyle, Reverse Cowgirl, Arrok Cowgirl, Arrok Reverse Cowgirl, AP Cowgirl, Sideways Fuck, Arrok Sideways Fuck, AP Shoulder, Hugging Fuck, Standing Fuck, Arrok HugFuck, Arrok Standing Fuck, AP Standing, Zyn Rough Standing, Arrok Anal, AP Anal, AP Face Down Anal, Arrok Blowjob, Arrok 69, AP Blowjob, AP Kneeling Blowjob, AP Standing Blowjob, AP Skull Fuck, Boobjob, Arrok Boobjob, AP Boobjob, Arrok Standing Foreplay, Bleagh FootJob, Tribadism, Arrok Lesbian, Zyn Lesbian, AP Fisting,
[05/10/2014 - 06:07:10PM] -- SexLab -- Thread[0] - Thread[0]: Installing thread...
[05/10/2014 - 06:07:11PM] [slainternalscr <sla_Internal (14083137)>]: Frost got 2 exposure for  seeing naked Leanne
[05/10/2014 - 06:07:12PM] -- SexLab -- Thread[0] - Thread[0]: Entering Making State
[05/10/2014 - 06:07:13PM] -- SexLab -- NOTICE: ValidateActor(Leanne) -- TRUE -- Cache MISS
[05/10/2014 - 06:07:13PM] [slainternalscr <sla_Internal (14083137)>]: Bandit Dusk Dealer Peddler got 4 exposure for  seeing naked Leanne
[05/10/2014 - 06:07:13PM] -- SexLab -- [sslActorAlias <alias ActorAlias004 on quest SexLabThread00 (13061EEF)>]: Slotted 'Leanne'
[05/10/2014 - 06:07:13PM] -- SexLab -- NOTICE: ValidateActor(Bandit Dusk Dealer Peddler) -- TRUE -- Cache HIT
[05/10/2014 - 06:07:13PM] -- SexLab -- [sslActorAlias <alias ActorAlias003 on quest SexLabThread00 (13061EEF)>]: Slotted 'Bandit Dusk Dealer Peddler'
[05/10/2014 - 06:07:14PM] -- SexLab -- Thread[0] - Adjustment Profile: APKneelBlowjob.Adjust.ImperialRaceVampireF.NordRaceM
[05/10/2014 - 06:07:15PM] -- SexLab -- NOTICE: strip start: -1
[05/10/2014 - 06:07:15PM] -- SexLab -- NOTICE: strip start: 32
[05/10/2014 - 06:07:45PM] -- SexLab -- Thread[0] - Event Hook: AnimationStart
[05/10/2014 - 06:07:45PM] [Zad]: OnAnimationStart()
[05/10/2014 - 06:07:46PM] [Zad]: No sex-act-restricted actors present in this sex scene. Done.
[05/10/2014 - 06:07:56PM] -- SexLab -- Thread[0] - Event Hook: StageStart
[05/10/2014 - 06:07:56PM] -- SexLab -- Thread[0] - animating: Starting Stage: 1
[05/10/2014 - 06:07:56PM] [slainternalscr <sla_Internal (14083137)>]: Frost got 2 exposure for  watching sex of Leanne
[05/10/2014 - 06:07:59PM] VM is freezing...
[05/10/2014 - 06:07:59PM] VM is frozen
[05/10/2014 - 06:07:59PM] Log closed


there's a 30s gap between the strip and animation start. I can get it to run noticeably faster just by disabling the stripping from it, but it still feels a bit slower than previous version, though for that I can't really show a log :P

 

Edit, and a bonus log, same save, same mods, just SL 1.55:

 

 

[05/10/2014 - 09:52:17PM] [Helpless]: Getting animations for Leanne with tags: Footjob,Vaginal,Anal,Oral,Boobjob, suppressing: SubSub,Pillory,Handjob,Cuddling,DomSub
[05/10/2014 - 09:52:18PM] -- SexLab -- NOTICE: Found Animations(46): Missionary, Rough Missionary, Arrok Missionary, Arrok Leg Up Fuck, Zyn Missionary, AP Bed Missionary, AP Holding Leg Up, AP Leg Up Fuck, Doggy Style, Rough Behind, Rough Doggy Style, Arrok DoggyStyle, Arrok Rape, Zyn DoggyStyle, AP DoggyStyle, Reverse Cowgirl, Arrok Cowgirl, Arrok Reverse Cowgirl, AP Cowgirl, Sideways Fuck, Arrok Sideways Fuck, AP Shoulder, Hugging Fuck, Standing Fuck, Arrok HugFuck, Arrok Standing Fuck, AP Standing, Zyn Rough Standing, Arrok Anal, AP Anal, AP Face Down Anal, Arrok Blowjob, Arrok 69, AP Blowjob, AP Kneeling Blowjob, AP Standing Blowjob, AP Skull Fuck, Boobjob, Arrok Boobjob, AP Boobjob, Arrok Standing Foreplay, Bleagh FootJob, Tribadism, Arrok Lesbian, Zyn Lesbian, AP Fisting,
[05/10/2014 - 09:52:19PM] -- SexLab -- Thread[0] - Thread[0]: Entering Making State
[05/10/2014 - 09:52:19PM] -- SexLab -- [sslActorAlias <alias ActorAlias004 on quest SexLabThread00 (13061EEF)>]: Slotted 'Leanne'
[05/10/2014 - 09:52:20PM] -- SexLab -- [sslActorAlias <alias ActorAlias003 on quest SexLabThread00 (13061EEF)>]: Slotted 'Bandit Dusk Dealer Peddler'
[05/10/2014 - 09:52:21PM] -- SexLab -- Thread[0] - Adjustment Profile: ArrokLesbian.Adjust.ImperialRaceVampireF.NordRaceM
[05/10/2014 - 09:52:26PM] -- SexLab -- Thread[0] - Event Hook: AnimationStart
[05/10/2014 - 09:52:26PM] [Zad]: OnAnimationStart()
[05/10/2014 - 09:52:26PM] [Zad]: No sex-act-restricted actors present in this sex scene. Done.
[05/10/2014 - 09:52:27PM] -- SexLab -- Thread[0] - Event Hook: StageStart
[05/10/2014 - 09:52:27PM] -- SexLab -- Thread[0] - Advancing: Starting Stage: 1
[05/10/2014 - 09:52:30PM] VM is freezing...
[05/10/2014 - 09:52:30PM] VM is frozen

 

 

1.55 also respected the strip settings, leaving boots and gloves equipped.

 

So, that's about 45s in 1.56 from getting animations to stage 1 vs 10s in 1.55. The scene itself was also noticeably laggier with 1.56.

Link to comment

Another bug report, 1.57 seems to have partially fixed the stripping. It still gets completely stuck with custom strip array however. Tested with different saves and a new game. The code is still the same as in the post above.

 

It results in this:

 

 

[05/11/2014 - 01:17:35PM] Error: Array index -12 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 662
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -13 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -14 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -15 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -16 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -17 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -18 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -19 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -20 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -21 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -22 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -23 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -24 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -25 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -26 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -27 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -28 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -29 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -30 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -31 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -32 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?
[05/11/2014 - 01:17:35PM] Error: Array index -33 is out of range (0-32)
stack:
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699
    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

 

 

 

I did a test modifying the function Strip() in sslActorAlias, there's this part

    int i = Strip.RFind(true, 31)
    while i
        if Strip[i]
            ; Grab item in slot
            ItemRef = ActorRef.GetWornForm(Armor.GetMaskForSlot(i + 30))
            if IsStrippable(ItemRef)
                ActorRef.UnequipItem(ItemRef, false, true)
                Stripped[i] = ItemRef
            endIf
        endIf
        ; Move to next slot
        i -= 1
    endWhile

I changed that to

while i > 0

and it works normally.

 

Looks like it's due to that I give the thread an array that only has false in it (as I do the stripping separately for the player earlier), and so rfind returns a negative value according to the creation kit wiki, and the "while i" condition apparently stays true as it differs from 0.

 

Link to comment

Another bug report, 1.57 seems to have partially fixed the stripping. It still gets completely stuck with custom strip array however. Tested with different saves and a new game. The code is still the same as in the post above.

 

It results in this:

 

 

[05/11/2014 - 01:17:35PM] Error: Array index -12 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 662

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -13 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -14 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -15 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -16 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -17 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -18 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -19 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -20 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -21 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -22 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -23 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -24 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -25 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -26 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -27 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -28 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -29 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -30 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -31 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -32 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -33 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

 

 

 

I did a test modifying the function Strip() in sslActorAlias, there's this part

    int i = Strip.RFind(true, 31)
    while i
        if Strip[i]
            ; Grab item in slot
            ItemRef = ActorRef.GetWornForm(Armor.GetMaskForSlot(i + 30))
            if IsStrippable(ItemRef)
                ActorRef.UnequipItem(ItemRef, false, true)
                Stripped[i] = ItemRef
            endIf
        endIf
        ; Move to next slot
        i -= 1
    endWhile

I changed that to

while i > 0

and it works normally.

 

Looks like it's due to that I give the thread an array that only has false in it (as I do the stripping separately for the player earlier), and so rfind returns a negative value according to the creation kit wiki, and the "while i" condition apparently stays true as it differs from 0.

 

fuck my life, cleaning up the code from 1.55's stripping seemed like such a simple thing. It's close enough to the release of 1.57 that I'm just going to stealth release a fix and reupload 1.57 with it.

 

 

while i > 0 would however theoretically make biped slot 30 impossible to ever strip. so I'm going to implement it as while i >= 0

 

EDIT: Done, reuploaded 1. 57 with fix.

Link to comment

 

Another bug report, 1.57 seems to have partially fixed the stripping. It still gets completely stuck with custom strip array however. Tested with different saves and a new game. The code is still the same as in the post above.

 

It results in this:

 

 

[05/11/2014 - 01:17:35PM] Error: Array index -12 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 662

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -13 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -14 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -15 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -16 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -17 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -18 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -19 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -20 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -21 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -22 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -23 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -24 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -25 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -26 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -27 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -28 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 708

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -29 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -30 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -31 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -32 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

[05/11/2014 - 01:17:35PM] Error: Array index -33 is out of range (0-32)

stack:

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.Strip() - "sslActorAlias.psc" Line 699

    [alias ActorAlias004 on quest SexLabThread00 (13061EEF)].sslActorAlias.PrepareActor() - "sslActorAlias.psc" Line ?

 

 

 

I did a test modifying the function Strip() in sslActorAlias, there's this part





    int i = Strip.RFind(true, 31)
    while i
        if Strip[i]
            ; Grab item in slot
            ItemRef = ActorRef.GetWornForm(Armor.GetMaskForSlot(i + 30))
            if IsStrippable(ItemRef)
                ActorRef.UnequipItem(ItemRef, false, true)
                Stripped[i] = ItemRef
            endIf
        endIf
        ; Move to next slot
        i -= 1
    endWhile

I changed that to





while i > 0

and it works normally.

 

Looks like it's due to that I give the thread an array that only has false in it (as I do the stripping separately for the player earlier), and so rfind returns a negative value according to the creation kit wiki, and the "while i" condition apparently stays true as it differs from 0.

 

fuck my life, cleaning up the code from 1.55's stripping seemed like such a simple thing. It's close enough to the release of 1.57 that I'm just going to stealth release a fix and reupload 1.57 with it.

 

 

while i > 0 would however theoretically make biped slot 30 impossible to ever strip. so I'm going to implement it as while i >= 0

 

EDIT: Done, reuploaded 1. 57 with fix.

 

 

Hah ! while loops and i,j,k,wtf variables ! Always the same problems ! Keep up the good work and debugging stuff ! But don't forget to have breaks !

Link to comment

Under SL 1.5x are sex scenes with creatures now expanded to non-creature animations? I saw this today and was surprised. Is this a new feature? Notice the female is giving a AP Standing Blowjob to the Troll.

 

This after a Submit phase, and regular Troll Anims have occurred... 

 

Pretty cool I guess, though the alignments and offsets are not quite right...

post-76197-0-16989500-1400285593_thumb.jpg

Link to comment

Under SL 1.5x are sex scenes with creatures now expanded to non-creature animations? I saw this today and was surprised. Is this a new feature? Notice the female is giving a AP Standing Blowjob to the Troll.

 

This after a Submit phase, and regular Troll Anims have occurred... 

 

Pretty cool I guess, though the alignments and offsets are not quite right...

 

This is a bug with the current version of Devious Devices - Integration, actually. It's already fixed in the beta.

 

Sexlab 1.5(6? 7?) added the proper vaginal/anal tags to creature sex scenes, causing DD to process them. It was drawing from the wrong animation pool looking for replacements (The standard animation pool), rather than the creature animation pool.

Link to comment

 

Under SL 1.5x are sex scenes with creatures now expanded to non-creature animations? I saw this today and was surprised. Is this a new feature? Notice the female is giving a AP Standing Blowjob to the Troll.

 

This after a Submit phase, and regular Troll Anims have occurred... 

 

Pretty cool I guess, though the alignments and offsets are not quite right...

 

This is a bug with the current version of Devious Devices - Integration, actually. It's already fixed in the beta.

 

Sexlab 1.5(6? 7?) added the proper vaginal/anal tags to creature sex scenes, causing DD to process them. It was drawing from the wrong animation pool looking for replacements (The standard animation pool), rather than the creature animation pool.

 

 

Ah, that would explain it... The regular animations were ... creepy, but cool...

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