coolmule Posted April 23, 2014 Posted April 23, 2014 Oh man I'm getting the corrupted save now too. I preformed the fresh install and created a save before I downloaded the update too. I can load my old games just fine but any new save after getting the update I get the error. Is there any way I can be more useful to you guys with this. Like a crash log or something
Arizona_Steve Posted April 23, 2014 Posted April 23, 2014 Another interesting one. Trying to capture an AnimationEnd_RandomSex event, and am seeing the following in my logs: [04/22/2014 - 09:11:37PM] -- SexLab -- Thread[2] - Event Hook: AnimationEnd [04/22/2014 - 09:11:37PM] ERROR: Incorrect number of arguments passed. Expected 2, got 4. stack: <empty stack> I have the following in my code: event onInit() ... registerForModEvent("AnimationEnd_SC07RandomSex", "__onSexActEnded") ... endevent event __onSexActEnded(int threadId, bool hasPlayer) ... endevent The parameter list I determined by looking at the following function in sslThreadController.psc function SetupThreadEvent(string HookEvent) int eid = ModEvent.Create(HookEvent) if eid ; ModEvent.PushString(eid, HookEvent) ModEvent.PushInt(eid, thread_id) ModEvent.PushBool(eid, HasPlayer) ; ModEvent.PushForm(eid, self) ModEvent.Send(eid) ; Log("Thread Hook Sent: "+HookEvent) endIf ; Legacy support for < v1.50 - To be removed eventually SendModEvent(HookEvent, thread_id) endFunction So I'm not sure where I'm getting four parameters from since two of them are commented out above...
shane4244 Posted April 23, 2014 Posted April 23, 2014 I'm getting the same errors on the ones I have that don't use a hook when I just use the startsex() with getanimationsbytags I've tried filling in all the default parameters with no luck on getting rid of the errors. I haven't reported it yet because I haven't tried matchmaker to see if I get the same errors. Edit: my hooks are firing fine I use both begin and end for certain options. Also tested with the "new end animtion toggle" and they still work. thanks for bringing that up Arizona_Steve I didn't want to bring it up until I tested with some other mods.I see by ashals answer its ok.
Ashal Posted April 23, 2014 Author Posted April 23, 2014 Another interesting one. Trying to capture an AnimationEnd_RandomSex event, and am seeing the following in my logs: [04/22/2014 - 09:11:37PM] -- SexLab -- Thread[2] - Event Hook: AnimationEnd [04/22/2014 - 09:11:37PM] ERROR: Incorrect number of arguments passed. Expected 2, got 4. stack: <empty stack> I have the following in my code: event onInit() ... registerForModEvent("AnimationEnd_SC07RandomSex", "__onSexActEnded") ... endevent event __onSexActEnded(int threadId, bool hasPlayer) ... endevent The parameter list I determined by looking at the following function in sslThreadController.psc function SetupThreadEvent(string HookEvent) int eid = ModEvent.Create(HookEvent) if eid ; ModEvent.PushString(eid, HookEvent) ModEvent.PushInt(eid, thread_id) ModEvent.PushBool(eid, HasPlayer) ; ModEvent.PushForm(eid, self) ModEvent.Send(eid) ; Log("Thread Hook Sent: "+HookEvent) endIf ; Legacy support for < v1.50 - To be removed eventually SendModEvent(HookEvent, thread_id) endFunction So I'm not sure where I'm getting four parameters from since two of them are commented out above... Can you confirm the event isn't firing? The error itself isn't unexpected. For legacy support reasons sexlab sends 2 events so it doesn't break backwards compatibility, 1 in the new SKSE 1.7 style as you are attempting with 2 arguments, and another in the previous style sent by SendModEvent() with 4 arguments. Which honestly the more I think about it, it might just be better to not push the new 2 argument style hooks and remove them before modders start using it. It's unlikely every mod that uses sexlab hooks will ever be updated to the new style, leaving sexlab more or less stuck spamming that error forever as I'm unable to remove the old legacy SendModEvent() without breaking some mods.
Arizona_Steve Posted April 23, 2014 Posted April 23, 2014 Another one (I promise this is the last one for tonight)... Seeing a lot of this in my logs too. I think it's related to creature sex as I've only seen this when I have creatures active in Random Sex: [04/22/2014 - 09:11:32PM] -- SexLab -- Thread[1] - Event Hook: AnimationStart [04/22/2014 - 09:11:32PM] -- SexLab -- Thread[1] - Event Hook: StageStart [04/22/2014 - 09:11:32PM] -- SexLab -- Thread[1] - Advancing: Starting Stage: 1 [04/22/2014 - 09:11:34PM] ERROR: Cannot access an element of a None array stack: [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.GetEnjoyment() - "sslActorAlias.psc" Line ? [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.OnUpdate() - "sslActorAlias.psc" Line ? [04/22/2014 - 09:11:34PM] ERROR: Cannot access an element of a None array stack: [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.GetEnjoyment() - "sslActorAlias.psc" Line ? [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.OnUpdate() - "sslActorAlias.psc" Line ? [04/22/2014 - 09:11:34PM] ERROR: Cannot access an element of a None array stack: [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.GetEnjoyment() - "sslActorAlias.psc" Line ? [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.OnUpdate() - "sslActorAlias.psc" Line ? [04/22/2014 - 09:11:34PM] ERROR: Cannot access an element of a None array stack: [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.GetEnjoyment() - "sslActorAlias.psc" Line ? [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.OnUpdate() - "sslActorAlias.psc" Line ? [04/22/2014 - 09:11:34PM] ERROR: Cannot access an element of a None array stack: [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.GetEnjoyment() - "sslActorAlias.psc" Line ? [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.OnUpdate() - "sslActorAlias.psc" Line ? [04/22/2014 - 09:11:34PM] ERROR: Cannot access an element of a None array stack: [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.GetEnjoyment() - "sslActorAlias.psc" Line ? [alias ActorAlias003 on quest SexLabThread03 (0C06C62D)].sslActorAlias.OnUpdate() - "sslActorAlias.psc" Line ?
Arizona_Steve Posted April 23, 2014 Posted April 23, 2014 Can you confirm the event isn't firing? The error itself isn't unexpected. For legacy support reasons sexlab sends 2 events so it doesn't break backwards compatibility, 1 in the new SKSE 1.7 style as you are attempting with 2 arguments, and another in the previous style sent by SendModEvent() with 4 arguments. Which honestly the more I think about it, it might just be better to not push the new 2 argument style hooks and remove them before modders start using it. It's unlikely every mod that uses sexlab hooks will ever be updated to the new style, leaving sexlab more or less stuck spamming that error forever as I'm unable to remove the old legacy SendModEvent() without breaking some mods. It's firing as my clean-up code is running. I guess the error comes from the legacy version of the event that is sending in four arguments instead of two, and should disappear once the deprecated code is removed from SexLab. It's just that I have a burning hatred of papyrus errors that borders on OCD... Alternatively you could use a second set of event prefixes (NewAnimationEnd, for example) for the new style events while retaining the original event prefixes for legacy compatibility. Then modders can move their mods to the new format at their leisure.
WaxenFigure Posted April 23, 2014 Posted April 23, 2014 Nasty little bug in SexLabFramework.psc that I spotted while fixing up Random Sex for 1.51. Looks like the creature animation property is pointing to the NPC animations in the CreatureAnimations property. Fortunately I can work around this by directly accessing the CreatureSlots property instead. ; Animation Sets sslAnimationSlots property AnimSlots auto hidden sslBaseAnimation[] property Animations hidden sslBaseAnimation[] function get() return AnimSlots.Animations endFunction endProperty ; Creature animations sslCreatureAnimationSlots property CreatureSlots auto hidden sslBaseAnimation[] property CreatureAnimations hidden sslBaseAnimation[] function get() return AnimSlots.Animations endFunction endProperty Derp. Thanks, it probably would've been ages before I caught that, seeing as I don't ever have much cause to touch the SexLabFramework script itself, least of all anything with a minor convenience property like the creature animations accessor. That might explain the many people reporting creature sex isn't working with some mods. I was answering them that they should check and make sure it's enabled in the framework after the update and finally one of them reported back that it was but still wasn't working.
germanicus Posted April 23, 2014 Posted April 23, 2014 I can confirm, as I already did is that bestiality animation pack, bestiality extra, submit and puppet master are working with this mod. Those are the ones I tested.
Ashal Posted April 23, 2014 Author Posted April 23, 2014 Alternatively you could use a second set of event prefixes (NewAnimationEnd, for example) for the new style events while retaining the original event prefixes for legacy compatibility. Then modders can move their mods to the new format at their leisure. Thought about that as well, but decided against it for some reason. I'll probably end up either removing new style hooks next release, or prefix them in some way, probably "HookAnimationEnd"
Herrmannesque Posted April 23, 2014 Posted April 23, 2014 After updating to SKSE 1.7, removing 1.39b of the framework after running the cleaner and saving, running FNIS, installing 1.51 of the framework, running FNIS and loading my save, everything seemed to be working great. The new framework was added and there was a new entry in the MCM. Everything appeared to be running good for a few hours until I tried to reload a previous save. Then I got the message that the save was corrupted. Did I miss a step somewhere?
Claysson2 Posted April 23, 2014 Posted April 23, 2014 There seems to be a problem with Version 1.51, Works Fine for me, but still. #1: make sure your running SKSE 1.070 . #2: You need FNIS 5_2_0 or better. Don't forget 5_0_2 for the spells. Save your game. (Autosave worked for me) Exit. Deactivate Sexlab,in my case 1.39b. Run FNIS. Load and activate Sexlab 1.51 . Check your Load order, Sexlab.esm should at the top, FNIS Spells above all Sexlab dependate esp's, Run FNIS. (That's Inportant) Recheck your Load order. Remember, this was a Massive rewrite, other Mods may need to update.
Herrmannesque Posted April 23, 2014 Posted April 23, 2014 I have the latest FNIS. I use BOSS and TES5edit to manage my load order. I have two corrupted save games now.
Ashal Posted April 23, 2014 Author Posted April 23, 2014 Anybody that's had a corrupted save, I need somebody to test something to confirm my current suspicions. Navigate to your /data/skse/plugins/StorageUtilData/ folder and zip up the 5 AnimationProfile files located in that folder and attach the zip file here so I can check them. Afterwards DELETE all the animation profile files and then try loading your corrupted save and report back asap.
Herrmannesque Posted April 23, 2014 Posted April 23, 2014 D'ohp... I had already rolled back to 1.39b and deleted a bunch of saves before I saw your post, Ashal.
Guest Posted April 23, 2014 Posted April 23, 2014 Deleted whole Skyrim, fresh install with mods. Hopefully I don't have that animation problem I was having. I wanna try to get one out for 7b on here.
Ashal Posted April 23, 2014 Author Posted April 23, 2014 D'ohp... I had already rolled back to 1.39b and deleted a bunch of saves before I saw your post, Ashal. Checking the animation profile files will still be useful and should still be there regardless of deleted saves.
coolmule Posted April 23, 2014 Posted April 23, 2014 Anybody that's had a corrupted save, I need somebody to test something to confirm my current suspicions. Navigate to your /data/skse/plugins/StorageUtilData/ folder and zip up the 5 AnimationProfile files located in that folder and attach the zip file here so I can check them. Afterwards DELETE all the animation profile files and then try loading your corrupted save and report back asap. Didnt work StorageUtilData.rar
Vyxenne Posted April 23, 2014 Posted April 23, 2014 I've tried 1.51 twice now and completely reinstalled 1.39 before installing 1.51. 1.51 framework refuses to work for me, and whenever i revert back to 1.39 it works fine as it normally does. how did you install 1.51? did you overwrite files instead? I suspect your problem is you didn't upgrade SKSE to 1.70, which is required for SL 1.5x but not for 1.39. I upgraded to SL 1.51 as directed on the mod page and just finished a 7-hour game session using Matchmaker & Working Girl with no crashes or glitches of any kind- flawless gameplay for 7 hours including 37 sex acts. Doesn't get any better than that. Thanks, Ashal and Shane!
Guest Posted April 23, 2014 Posted April 23, 2014 Ok so my body is now how it should be, animations without configuring them lined up well and with a little fixing, they are perfect and Sexlab remembers them. 10/10 would edit again. One thing, the female pc NEVER uses the strap on and I can't configure animations that have the pc as the dominant one. After I am done, gonna upload my configure files to Loverslab. Its gonna be for the Sevenbase body, and using even actors height. Thanks for the awesome upgrade.
NYINEGY Posted April 23, 2014 Posted April 23, 2014 i also play a male character. but how did you install 1.51? and what version did you upgrade from? I upgraded from 1.39b to 1.50 ( after I installed skse 1.7 and fnis latest) then upgraded to 1.51 ( after installing latest zaz) all without touching defeat !
germanicus Posted April 23, 2014 Posted April 23, 2014 I've tried 1.51 twice now and completely reinstalled 1.39 before installing 1.51. 1.51 framework refuses to work for me, and whenever i revert back to 1.39 it works fine as it normally does. how did you install 1.51? did you overwrite files instead? I suspect your problem is you didn't upgrade SKSE to 1.70, which is required for SL 1.5x but not for 1.39. I upgraded to SL 1.51 as directed on the mod page and just finished a 7-hour game session using Matchmaker & Working Girl with no crashes or glitches of any kind- flawless gameplay for 7 hours including 37 sex acts. Doesn't get any better than that. Thanks, Ashal and Shane! 7 hours of sex? That's amazing, I never could more than 2 minutes.
Ashal Posted April 23, 2014 Author Posted April 23, 2014 Released v1.52, which is 2 major bugfixes and a handful of others. v1.52: Fixed bug with excessive json exporting/importing which may have been cause of save corruption Fixed bug causing large amounts of papyrus log spam while playing creature animations Fixed bug with creature animations property in sexlabframework script Altered thread hooks using SKSE 1.7.0 style ModEvents to prefix with "Hook" before the usual name to prevent log spam Creature animations are now matched to creatures via strings of their race name instead of race forms
Guest Posted April 23, 2014 Posted April 23, 2014 Released v1.52, which is 2 major bugfixes and a handful of others. v1.52: Fixed bug with excessive json exporting/importing which may have been cause of save corruption Fixed bug causing large amounts of papyrus log spam while playing creature animations Fixed bug with creature animations property in sexlabframework script Altered thread hooks using SKSE 1.7.0 style ModEvents to prefix with "Hook" before the usual name to prevent log spam Creature animations are now matched to creatures via strings of their race name instead of race forms Another update? Do you sleep lol? Anyways thanks.
germanicus Posted April 23, 2014 Posted April 23, 2014 My, my ashal, that was a quick fix. Thanks men. You rock.
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