Jump to content

Naked Defeat AE/SE


Recommended Posts

Posted (edited)
On 1/13/2023 at 9:54 PM, yeahhowaboutnooo said:

I believe I figured out why both cursed loot and naked defeat hang sometimes unless you open console or the main menu to unfreeze it:

TLDR: disablePlayerControls(abActivate=true) results in script hang. SKSE .dll fix for GAME VERSION 1.5.97 attached below this post.

 

 

more technical explanation (to the best of my knowledge) below:

  Reveal hidden contents

The 2nd bit of the bdcFlag seems to indicate whether the crosshair just changed in game.
Now, usually that bit is only 1 in the exact frame when the crosshair moved to/from a target, resulting in scripts (possibly only on those referencing the crosshair) not being executed for that singular frame.

 

However if you disable the use/activate key via the Game.DisablePlayerControls() function the following roughly happens in the game thread:
 

if (playerControls.disabledActivateKey())
{
 	CrossHairPickData.Clear();
  	playerChar.bdcFlag |= 1 << 1;
}

 

resulting in said bit being 1 until the use/activate key is re-enabled.

 

Which in turn results in threads which were usually stuck for only 1 Frame,

now being stuck until the use/activate key is re-enabled (or the game is paused via opening the console/main menu)

 

 

So, what I did is replace the conditional jump of that particular if-condition with nop instructions:

void dpcActivateFix()
	{
		auto moduleBase = REL::Module::get().base();
		auto injectionPoint = moduleBase + 0x6b0240;
		
		std::vector<std::uint8_t> nops(6);
		std::fill(nops.begin(), nops.end(), (std::uint8_t)0x90);
		REL::safe_write<std::uint8_t>(injectionPoint, nops);

		logger::info("fixed disablePlayerControls hanging papyrus scripts bug!");
	}

 

Would be nice if someone could let me know whether this did or did not work for them.

 

I posted the same post in the cursed loot SE thread, once I have enough positive feedback I'll make an actual mod posting on LL and/or on nexus.

also also: does anyone know if anniversary edition has the same bug?

dpcActivateFix.dll 506 kB · 2 downloads

I wanted to thank you for this fix. Thank you very much. Everything works great.
P.S. My version ND - 4.81.

Edited by Dimom
Posted (edited)

Here is the translation into Russian (requires the installation of the main mod ND 4.81). A fix for Skyrim SE 1.5.97 by yeahhowaboutnooo has been added to the translation. Thank him so much!

 

Вот перевод на русский язык (требуется установка основного мода ND 4.81). В перевод добавлено исправление для Skyrim SE 1.5.97 от yeahhowaboutnooo. Большое ему спасибо!

 

 

Naked Defeat 4-81 - Patch - (SE) RU.7z

Edited by Dimom
Posted
On 1/13/2023 at 2:54 PM, yeahhowaboutnooo said:

also also: does anyone know if anniversary edition has the same bug?

 Yes, AE has the same bug. If you would provide a version for 1.6.64, I'd be happy to test it.

Posted
On 1/13/2023 at 9:54 PM, yeahhowaboutnooo said:

I believe I figured out why both cursed loot and naked defeat hang sometimes unless you open console or the main menu to unfreeze it:

TLDR: disablePlayerControls(abActivate=true) results in script hang. SKSE .dll fix for GAME VERSION 1.5.97 attached below this post.

 

 

more technical explanation (to the best of my knowledge) below:

  Reveal hidden contents

The 2nd bit of the bdcFlag seems to indicate whether the crosshair just changed in game.
Now, usually that bit is only 1 in the exact frame when the crosshair moved to/from a target, resulting in scripts (possibly only on those referencing the crosshair) not being executed for that singular frame.

 

However if you disable the use/activate key via the Game.DisablePlayerControls() function the following roughly happens in the game thread:
 

if (playerControls.disabledActivateKey())
{
 	CrossHairPickData.Clear();
  	playerChar.bdcFlag |= 1 << 1;
}

 

resulting in said bit being 1 until the use/activate key is re-enabled.

 

Which in turn results in threads which were usually stuck for only 1 Frame,

now being stuck until the use/activate key is re-enabled (or the game is paused via opening the console/main menu)

 

 

So, what I did is replace the conditional jump of that particular if-condition with nop instructions:

void dpcActivateFix()
	{
		auto moduleBase = REL::Module::get().base();
		auto injectionPoint = moduleBase + 0x6b0240;
		
		std::vector<std::uint8_t> nops(6);
		std::fill(nops.begin(), nops.end(), (std::uint8_t)0x90);
		REL::safe_write<std::uint8_t>(injectionPoint, nops);

		logger::info("fixed disablePlayerControls hanging papyrus scripts bug!");
	}

 

Would be nice if someone could let me know whether this did or did not work for them.

 

I posted the same post in the cursed loot SE thread, once I have enough positive feedback I'll make an actual mod posting on LL and/or on nexus.

also also: does anyone know if anniversary edition has the same bug?

dpcActivateFix.dll 506 kB · 6 downloads

Forgive this idiot who has replayed Skyrim in 6 months:

 

How do I install this? A solution to the script hang bug for 2 of my most used mods would be a god send.

Posted (edited)

Has anyone else been having trouble with ZAP? I mean, I have the AE 1.6.640 and the characters stay in T pose anque try to use FNIS but it doesn't work at all. So I will use a patch that I found and update this, I hope so. 10 GB of content does not deserve to be thrown away easily.

 

edit: I made it work, but when I am defeated my character is crawling without doing anything else, but when I recharge my game, I become invincible with a life bar that never diminishes regardless of the blows.

Edited by eInDaCluib
Posted (edited)
9 hours ago, yeahhowaboutnooo said:

@Lucci213 put the file inside 

Skyrim Special Edition\Data\SKSE\Plugins

 

Many thanks!

I did some testing on both Naked Defeat 4.81 and Cursed Loot 9.0. Both are more responsive now and the timers on ND are way more accurate.

 

Sidenote: I do have the same script mods as you do (SSE engine fixes + papyrus tweaks + etc) so that could be a minor requirement.

Edited by Lucci213
Posted
16 hours ago, JackChurch187 said:

sexlab tool not working when i use nacked defeat instead of defeat does someone know a solution?

That’s what the entire conversation on this page is about. Find the part about the patch and try installing it

Posted (edited)
On 1/22/2023 at 10:00 PM, JackChurch187 said:

hey do you guys now a fix for Babodialogue with ND? Because both starting at the bleedout.

just like with all defeat mods pick the settings in a way so that they start with different conditions. For example set ND to start on bleedout and set Babodialogue start between between 1-10% health or any other value so they dont start at the same time. In that case if your health drops in the range you get babo and if you get hit from lets say 15% health to 0 with one hit you get ND, so you have some kinda variation. Alternative is do Babo on bleedout and disable automatic defeat for ND and use its hotkey to manually trigger the defeat when you are on low health and feel like you lost the fight.
You get the idea got to try and see what conditions fit what you want.
There is no other way to make them compatible if they trigger on the same condition.
Not ideal, but its your only option until someone bothers to do a mod that can send you to the various defeat mods outcomes and handles the bleedout defeat. Its the same with all defeat mods like SL Defeat, Death alternative, Cursed loots combat defeat etc.
The only other option is to simply disable one bleedout defeat option and only use the other.
I personally use ND to handle bleedout as it has the options that I want, to be bound or send to slavery, set babodialogue options to trigger on 1-50% hp because the scenes are rare and I actually dont want to win if they appear and I use SL defeat on manual/hotkey defeat if I want only the defeat and sex scene without the additional slavery/bondage outcomes that I set in ND.

Edited by Deoxyribonucleic_acid
Posted

Just wondering if you anyone could provide some good settings for the extra "Public Punishment" feature that (1) reduces triggering that feature and/or (2) prevents it from being triggered where other mods, such as for example Sexual Fame - Comments, are in progress.  I love the Public Punishment feature but would prefer slower triggers and I'm just too dim to figure out the proper settings on my own.

 

Absolutely love Naked Defeat.  Wouldn't play without it.

Posted

Is anyone else dealing with an issue with reloading saves?

Naked Defeat would occur, and I would go and access a previous save but then my health would refuse to go down afterwards?

Posted
27 minutes ago, xorea said:

Is anyone else dealing with an issue with reloading saves?

Naked Defeat would occur, and I would go and access a previous save but then my health would refuse to go down afterwards?

I've been able to "fix" this in my MO2.

 

For right now, if I plan to access and old save (auto/quick/manual) then I have been closing Skyrim, unchecking Naked Defeat in MO2, and rechecking Naked Defeat and my saves dont have infinite HP.

Posted
17 hours ago, xorea said:

I've been able to "fix" this in my MO2.

 

For right now, if I plan to access and old save (auto/quick/manual) then I have been closing Skyrim, unchecking Naked Defeat in MO2, and rechecking Naked Defeat and my saves dont have infinite HP.


You don't have to do any of that. God mode is just carrying over between saves. Just open up the console (~) and type tgm to disable it.

Posted

Anyone know why ND and conditional expressions extended wouldn't play well together?  Sexlab expressions work properly outside of ND, but with ND they are getting interrupted every few seconds and reset to no expression, seemingly by conditional expressions but I'm not certain.  Anyone else having this issue?

Posted
12 hours ago, no_way said:

Anyone know why ND and conditional expressions extended wouldn't play well together?  Sexlab expressions work properly outside of ND, but with ND they are getting interrupted every few seconds and reset to no expression, seemingly by conditional expressions but I'm not certain.  Anyone else having this issue?

 

I remember it used to work in the past but not anymore for some reason. I did a lot of testing on it without conditional expressions but the issue remains.

 

Disabling ND's pain expressions fixes the bug, so it's definitely something from this mod. 

Posted
7 hours ago, crumppppp said:

 

I remember it used to work in the past but not anymore for some reason. I did a lot of testing on it without conditional expressions but the issue remains.

 

Disabling ND's pain expressions fixes the bug, so it's definitely something from this mod. 

Ah perfect k I’ll just do that.  
 

On a related note, is Nymra ok?  Radio silence for a while 

Posted

Sorry if this has been solved before, I've been flitting around the pages for hours trying to find a fix and nothing. Whenever my PC gets captured after a scene the description makes it sound like she's tied to furniture of some sort, but nothing happens. She's just sort of on all fours in the middle of the field where I've been testing and then mysteriously springs free. I had SL Kidnap installed for a bit and saw that had been conflicting, so I deleted that. Got DDE up and running after some tinkering there. As far as I can tell everything is installed right, it's just not doing the full furniture animation. Any help would be awesome! Thanks so much!

 

P.S. Pretty new to modding so if I left anything out let me know and I'll be happy to post it.

Posted
On 2/2/2023 at 6:30 AM, xorea said:

Is anyone else dealing with an issue with reloading saves?

Naked Defeat would occur, and I would go and access a previous save but then my health would refuse to go down afterwards?

 

for me the fix is to save and exit skyrim. upon new launch the health is depleting normally. If you suspect you are frozen in capture mode (inifnite health) shoot a bow. if after 5 seconds you get an arrow back in inventory it means you are in a freeze mode. Save. Exit. Launch again. After playing extensively with the mod I've found the following issues

- you never leave capture mode if you are rescued and wake up in an inn

- transition from escape to normal takes much longer than set timer (maybe it has to do something with the internal clock). It happens instantly if escape timer is set to 0 (this is correct though)

Posted

Asking here since I didn't see anything after searching the existing posts.  Is there an easy way to incorporate the showers and baths from Mini Needs into this mod?  I've got Bathing in Skyrim up and running, but it seems silly that I can shower using the Mini Needs showers, my character is clean, but this mod still registers me at filthy and forces a surrender when I'm walking around Windhelm just minding my own business.  I get that mods don't always play nicely together, but if it can be done in xEdit, that's perfect.  If it requires scripting or something more complex then I guess I'm stuck. If not, then it is what it is.  Just curious.

Posted (edited)
On 12/10/2022 at 9:53 AM, Nessa said:

Annnd reporting back already. With extremely positive result. Papyrus Tweaks speeds the literal hell out of everything ND related to amazing warp speeds. In fact it's so fast I have to increase the crawl time now as otherwise it's over with before I can move! (This is fine considering the wait times from before!)

 

What I did:

  • Grabbed Papyrus Tweaks.
  • Grabbed the reference .ini and threw it in the right spot. (SKSE/Plugins folder!)
  • Switched bRunScriptsOnMainThreadOnly from false to true in the .ini.

My only caution is this might be for non-potato machine as the author indicates it can affect framerates. (My framerates are always at max and I haven't noticed any drops with this active. So might be machine dependent!)

 

EDIT: I should also note that while FreeFlyCam worked, it had some annoying (to me) side effects like super fast mouse sensitivity when in free fly mode. With Papyrus Tweaks I can toss FreeFlyCam and get back to normal! :cool: Also seems to speed up -everything- Sexlab included!

 

I'll keep testing with it but I'm very impressed so far!

 

This is such a great thing to know, my other mods work great now with this! Even the game itself is much faster.

 

 

However, ND is still... not behaving. After the crawl scene, nothing happens.... I just wait, and wait. And crawl some more even though my time limit is set low. Any ideas? :( I don't have any conflicting mods as far as I am aware!

 

Also it never gets me out of godmode and I don't understand that....

Edited by Splintered_Lizard
Posted
3 hours ago, Splintered_Lizard said:

 

This is such a great thing to know, my other mods work great now with this! Even the game itself is much faster.

 

 

However, ND is still... not behaving. After the crawl scene, nothing happens.... I just wait, and wait. And crawl some more even though my time limit is set low. Any ideas? :( I don't have any conflicting mods as far as I am aware!

 

Also it never gets me out of godmode and I don't understand that....

 

The god mode thing never worked for me in all my testing. Maybe it works in LE, but I couldn't ever get it to work in SE/AE. Even using Alex's new patch that still fails. No matter the MCM setting, I will stay in god mode after every scene. (I can say Alex's patch does improve matters even without Papyrus Tweaks. But PT is so useful might as well keep it! Speeds up SL as well.)

 

The rest is quite functional though. The only advice I can give is watch what you're loading. If there's anything invasive (like a mod that won't respect scenes) that can bork the heck out of ND.

Posted (edited)
3 hours ago, Nessa said:

 

The god mode thing never worked for me in all my testing. Maybe it works in LE, but I couldn't ever get it to work in SE/AE. Even using Alex's new patch that still fails. No matter the MCM setting, I will stay in god mode after every scene. (I can say Alex's patch does improve matters even without Papyrus Tweaks. But PT is so useful might as well keep it! Speeds up SL as well.)

 

The rest is quite functional though. The only advice I can give is watch what you're loading. If there's anything invasive (like a mod that won't respect scenes) that can bork the heck out of ND.

 

The only other mods I have from this sight that *maybe* would interfere, is SL Defeat (but I saw you say that it can work well together, also, at the moment I have it not enabled in game), Flower Girls SE (from nexus), SexLab Aroused.  I also have SL Fame (and Fame Comments) SLAL (animation loader), and SL Simple Dialogue and JailRape but I don't see those interfering at all. Any of those might be it?

 

I also have this issue where 2 things will try to load at once... for example a pole will show up after a couple minutes of waiting after the crawl, but so will another object, and either an animation will play for the second item, maybe, or I'm stuck in the crawl... and no messages to indicate what's going on. I also kept my clothes during the last test. On another test my character got assaulted by the remaining bandit but then I was stuck in a crawl after and nothing happened. I finally punched the banit to death and just exited the game XD

 

And oh yes, I'm definitely keeping PT because... WOW. :)

 

 

Edited by Splintered_Lizard

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