yeahhowaboutnooo Posted January 16, 2023 Posted January 16, 2023 CrosshairRefEvents script hang fix View File SKSE64 plugin which fixes script hang in e.g. Naked Defeat and Deviously Cursed Loot: Spoiler When any mod disables the activate/use key via DisablePlayerControls(), then the game sends an OnCrosshairRefChange Event to every Form which registered for said event. This event keeps being sent for every frame, until the activate/use key is re-enabled. Which in turn results in some script being seemingly stuck and refusing to execute (such as Naked Defeat or Cursed Loot) This plugin fixes this by no longer sending the OnCrosshairRefChange Event just because the activate/use key has been disabled. (Now said Event is only sent, when the Crosshair actually changes targets) Requires Address Lib. Tested with Special Edition v1.5.97 and Anniversary Edition v1.6.640 (but "should" be compatibly with anything inbetween aswell *fingers crossed* *no guarantees* *use at your own risk* ) source code on GitHub Special thanks to: alex77r4: for helping me understand this bug a bit better in the Naked Defeat SE forum. mrowrpurr: for creating the SKSE plugin template the CommonlibSSE-NG creators/coders (including, but not limited to Ryan, powerof3, CharmedBaryon) the SKSE team (standing on the shoulders of giants) Submitter yeahhowaboutnooo Submitted 01/16/2023 Category Regular Mods Requires Address Library for SKSE Plugins Regular Edition Compatible No 14
NismoMan Posted January 16, 2023 Posted January 16, 2023 I've been having an issue with Naked Defeat where the quest sequence won't progress and seem to hang unless I pause / open console and close it again, is this related to that?
yeahhowaboutnooo Posted January 16, 2023 Author Posted January 16, 2023 @NismoMan that bug is exactly what this mod fixes 3
NismoMan Posted January 16, 2023 Posted January 16, 2023 9 minutes ago, yeahhowaboutnooo said: @NismoMan that bug is exactly what this mod fixes Amazing! Thank you for your work ?
ShalaxiHelbane Posted January 17, 2023 Posted January 17, 2023 If this stops the bug I got earleir today where DCL triggered then spent about 3 minutes unequipping and requiping items before it gave back control you have my gratitude.
Herowynne Posted January 17, 2023 Posted January 17, 2023 (edited) I'm using this mod with SE 1.5.97. I just wanted to say that this mod is working very well for me. The hangs with DCL have been eliminated. Thanks so much! Edited November 17, 2024 by Herowynne 1
Lucci213 Posted February 3, 2023 Posted February 3, 2023 FYI: this also fixes the script hang when opening packages from Devious Lore Usually you need to open/close the console to fix it, but this mod makes it run smooth
petterparker09 Posted March 6, 2023 Posted March 6, 2023 after installing this mod, the cursed loot events from DCL (and events from many other mods) don't start anymore... so I uninstalled it but the error continues (even when starting a new game)... could someone help me to fix it?
yeahhowaboutnooo Posted March 6, 2023 Author Posted March 6, 2023 highly doubt it's my mod that's causing this issue then, considering you both uninstalled my mod and started a new game. if i find the time i might look into it.
Herowynne Posted March 6, 2023 Posted March 6, 2023 14 hours ago, petterparker09 said: after installing this mod, the cursed loot events from DCL (and events from many other mods) don't start anymore... so I uninstalled it but the error continues (even when starting a new game)... could someone help me to fix it? When you begin a new game and rescue Chloe from the Helgen prison, that starts her quest and prevents any DCL cursed loot events from occurring, until you have completed several of the DCL quests in sequence.
Luka10 Posted March 15, 2023 Posted March 15, 2023 So i have this wierd black screen stuck when going into or out of the great lift at aftland or whatever it's called and this file did not change anything I have address library installed but still nothing it's as if i never installed it at all.
Nymra Posted December 31, 2023 Posted December 31, 2023 (edited) is there anything I can do from Naked Defeats Script side to avoid this from even happening? Thx for making this fix dunno if this is also an LE issue. I ve seen Stack Dumps with "OnCrossHairReference" but never in my own Logs (I m on LE) But from what I read on how this works I guess the problem is only on LE... (EDIT; without having to enable the Use Key of course ) Edited December 31, 2023 by Nymra
Tlam99 Posted December 31, 2023 Posted December 31, 2023 On 3/15/2023 at 8:52 AM, Luka10 said: nothing it's as if i never https://www.nexusmods.com/skyrimspecialedition/mods/66117
Guest Posted August 4, 2024 Posted August 4, 2024 On 12/31/2023 at 8:02 AM, Nymra said: is there anything I can do from Naked Defeats Script side to avoid this from even happening? Thx for making this fix dunno if this is also an LE issue. I ve seen Stack Dumps with "OnCrossHairReference" but never in my own Logs (I m on LE) But from what I read on how this works I guess the problem is only on LE... (EDIT; without having to enable the Use Key of course ) I've found that this script fix makes NADE perform incredibly better, so honestly I'd just link to it - but the new Deviously Helpless Redux refers to one possible workaround: Quote Replaced DisablePlayerControls with SetPlayerAIDriven not to run into Skyrim’s bug about CrosshairRefEvents script hang I of course don't know if that will have undesirable side effects - the author of that mod may have a better idea.
Nymra Posted August 25, 2024 Posted August 25, 2024 On 8/4/2024 at 7:04 PM, transfer said: I've found that this script fix makes NADE perform incredibly better, so honestly I'd just link to it - but the new Deviously Helpless Redux refers to one possible workaround: I of course don't know if that will have undesirable side effects - the author of that mod may have a better idea. SetPlayerAIDriven I used this since day 1 of Naked Defeat, so this seems not to change anything.
Guest Posted August 26, 2024 Posted August 26, 2024 1 hour ago, Nymra said: SetPlayerAIDriven I used this since day 1 of Naked Defeat, so this seems not to change anything. Good to know, scratch that!
Nikett7 Posted November 17, 2024 Posted November 17, 2024 Is it possible to update it to version 161170?
yeahhowaboutnooo Posted November 23, 2024 Author Posted November 23, 2024 On 11/17/2024 at 12:41 PM, Nikett7 said: Is it possible to update it to version 161170? huh? is this no longer working with the current release of skyrim ae?
redhat42 Posted February 12, 2025 Posted February 12, 2025 It does work perfectly on 1170 Baka's defeat was deadlocking the game Man, you saved my modpack from butchering mid playthrough. 1
crajjjj Posted August 5, 2025 Posted August 5, 2025 (edited) This mod is underrated. Why the heck it is not in the engine fixes. Fixes FHU also Edited August 5, 2025 by crajjjj 4
muhavaux33 Posted February 5 Posted February 5 I wonder if this would still work on latest versions of naked defeat. I think Nymra disabled this to prevent the issues that this mod fixes so it might not be needed anymore
Nymra Posted February 5 Posted February 5 (edited) 13 minutes ago, muhavaux33 said: I wonder if this would still work on latest versions of naked defeat. I think Nymra disabled this to prevent the issues that this mod fixes so it might not be needed anymore this mod is indeed no longer needed for naked defeat, hence it is no longer listed in the requirements. As I understand it, I removed the cause of this issue some time after this fix was released. But it is still usefull also for other mods and it might be that the crosshair ref is required in the future to be reimplemented, but that would appear in big red letters in the changelog. Edited February 5 by Nymra 2
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