Would it be possible for a VR version? I don't know how feasible that is but I read that you need the offset. I found this in the old version's comments:
If you're up for it, I'd be happy to help. I don't know anything about how to find offsets, or what to do with them, but I'd be willing to be your eyes if you told me how to do it, and beta test any solution you'd come up with.
Damn, I really need this for my VR setup. Stealth Skills Rebalanced locks are kicking my ass, and fewer lockpicks with scarcity mods makes lockpicking a real risk XD
the base offset is in the VR Address Library, it's 0x8c6080, but I think the angle offset is different. the mov instruction that the original mod NOPed out is +0x242. I put a working fork of the original on my github (same username) but it doesn't have your ini features. Uhh and I'm not sure how to make yours work for the VR version or I'd make a PR :)
Hey nevermind, this feature was already included in PO3 Tweaks VR
Just tested with SKSE 2.2.6, Address Library 11, and Remember Lockpick Angle 4.2 on Skyrim SE 1.6.1170 and it injected correctly and is working. Do you have anything in your log file? (Documents\My Games\Skyrim\SKSE\Remember Lockpick Angle.log)
The perk requirement option was actually a request from Simon for Hand to Hand. The integration is in his optional files. By default, your character is just too dumb to remember where the pick was across the board.
Investigating. At a quick glance, everything looks like it's injected correctly.
EDIT: Unable to reproduce, just tested. Plugin is injecting, everything writes to the log correctly, even the more complicated config file-based functions work correctly. What happens when you try, do you get any output from RememberLockpickAngle.log or SKSE logs? Do you have any other SKSE mods that may be interfering with lockpicking code?
My apologies. I tried it out again and it does work. The problem was my own stupidity. I was testing it out in Riverwood on a locked door and the issue was that I was being detect by an NPC so the game was kicking me out of the minigame every time I broke a lock. For some dumb reason, I forgot the sweet spot resets every time you leave and re-enter the minigame. Sorry about that. On the bright side, I now know it's working, which makes me very happy.
107 comments
static RelocAddr<uintptr_t> resetPickAngle_offset = (0x008C62C2);
the base offset is in the VR Address Library, it's 0x8c6080, but I think the angle offset is different. the mov instruction that the original mod NOPed out is +0x242. I put a working fork of the original on my github (same username) but it doesn't have your ini features. Uhh and I'm not sure how to make yours work for the VR version or I'd make a PR :)
Hey nevermind, this feature was already included in PO3 Tweaks VRBy default, your character is just too dumb to remember where the pick was across the board.
At this time, it does not work on the new Skyrim update, 1.6.1130.
I'm stupid. It works.EDIT: Unable to reproduce, just tested. Plugin is injecting, everything writes to the log correctly, even the more complicated config file-based functions work correctly. What happens when you try, do you get any output from RememberLockpickAngle.log or SKSE logs? Do you have any other SKSE mods that may be interfering with lockpicking code?