pburnt Posted November 29, 2019 Posted November 29, 2019 What's the point of the the XPMSSE spam? Error: (00000014): cannot fetch variable named FNISaa_sprint of type int, returning 0. stack: [ (00000014)].Actor.GetAnimationVariableInt() - "<native>" Line ? [Active effect 3 on (00000014)].XPMSEWeaponStyleScaleEffect.GetAnimVar() - "XPMSEWeaponStyleScaleEffect.psc" Line 1622 [Active effect 3 on (00000014)].XPMSEWeaponStyleScaleEffect.SaveFNISData() - "XPMSEWeaponStyleScaleEffect.psc" Line 1628 [Active effect 3 on (00000014)].XPMSEWeaponStyleScaleEffect.Restyle() - "XPMSEWeaponStyleScaleEffect.psc" Line 1259 [Active effect 3 on (00000014)].XPMSEWeaponStyleScaleEffect.OnPlayerCameraState() - "XPMSEWeaponStyleScaleEffect.psc" Line ? When I've looked up solutions on the Nexus forum they make it sound like a feature that's free and I should be thankful. Scripts should be like children: Quiet. That's my opinion.
WolfoftheWest1 Posted November 29, 2019 Posted November 29, 2019 i am definitely not a python/CK coder, but from my understanding of Java code, what i am reading is a missing dependency or file. basically, either you didn't download something, or you downloaded something that overwrote that variable. the spam isn't so much XPMSSE's fault as it is the engine/coding language itself's fault. it is checking every script sort of line by line with multiple scripts at once, so it is printing out errors line by line. and yes, it is also my opinion that scripts should be silent until needed, but XPMSSE script is always needed, its a skeleton, it needs to be updated quite regularlly so the physics work properly. I do not play on SE edition, so i will leave you there, but that is my knowledge on this
ssskn Posted November 29, 2019 Posted November 29, 2019 18 hours ago, pburnt said: What's the point of the the XPMSSE spam? Reveal hidden contents Error: (00000014): cannot fetch variable named FNISaa_sprint of type int, returning 0. stack: [ (00000014)].Actor.GetAnimationVariableInt() - "<native>" Line ? [Active effect 3 on (00000014)].XPMSEWeaponStyleScaleEffect.GetAnimVar() - "XPMSEWeaponStyleScaleEffect.psc" Line 1622 [Active effect 3 on (00000014)].XPMSEWeaponStyleScaleEffect.SaveFNISData() - "XPMSEWeaponStyleScaleEffect.psc" Line 1628 [Active effect 3 on (00000014)].XPMSEWeaponStyleScaleEffect.Restyle() - "XPMSEWeaponStyleScaleEffect.psc" Line 1259 [Active effect 3 on (00000014)].XPMSEWeaponStyleScaleEffect.OnPlayerCameraState() - "XPMSEWeaponStyleScaleEffect.psc" Line ? When I've looked up solutions on the Nexus forum they make it sound like a feature that's free and I should be thankful. Scripts should be like children: Quiet. That's my opinion. I'm also getting this issue, but with many different mods. For example, it wont be xpmsse everytime, but different ones. I got similar stacks for OBIS and iHud... It only started happening a few days ago. I thought it was because of adding new mods and changing load order ID numbers but I tested it on a clean save and same thing. I'm trying to figure out why. Did you recompile any scripts in the CK? Did you restore skyrim data folder? Because I've done those 2 things past few days.
pburnt Posted November 30, 2019 Author Posted November 30, 2019 3 hours ago, ssskn said: I'm also getting this issue, but with many different mods. For example, it wont be xpmsse everytime, but different ones. I got similar stacks for OBIS and iHud... It only started happening a few days ago. I thought it was because of adding new mods and changing load order ID numbers but I tested it on a clean save and same thing. I'm trying to figure out why. Did you recompile any scripts in the CK? Did you restore skyrim data folder? Because I've done those 2 things past few days. It's been an annoyance forever. I never touch the FNIS or XPMSSE scripts. It probably is just the scripts looking for addons that I didn't install. Like I said, it's just annoying.
sleeping_dog Posted April 3, 2021 Posted April 3, 2021 If your spam-like log of XPMSEE means FNISaa variable-related errors with Nemesis not FNIS, in XPMSELib.psc, FNIS_aa.SetAnimGroupEX(akActor, groupName, 0, 0, mymod, 0, skipForce3D = true) changed to Nemesis_AA.SetAnimGroupEX(akActor, groupName, 0, 0, mymod, 0, skipForce3D = true) maybe make them silent. Under Nemesis, FNIS related functions should be replaced by ones in Nemesis.
blant221 Posted June 6, 2021 Posted June 6, 2021 On 4/3/2021 at 6:51 AM, sleeping_dog said: If your spam-like log of XPMSEE means FNISaa variable-related errors with Nemesis not FNIS, in XPMSELib.psc, FNIS_aa.SetAnimGroupEX(akActor, groupName, 0, 0, mymod, 0, skipForce3D = true) changed to Nemesis_AA.SetAnimGroupEX(akActor, groupName, 0, 0, mymod, 0, skipForce3D = true) maybe make them silent. Under Nemesis, FNIS related functions should be replaced by ones in Nemesis. I do this, but still have XPMSEE spam in papyrus log. Maybe another solution for that problem?
Drift91 Posted October 11, 2021 Posted October 11, 2021 I seem to have figured it out after a couple of hours of pulling my hair out. in "XPMSEWeaponStyleScaleEffect.psc" go near the end of the file and replace this return akActor.GetAnimationVariableInt("FNISaa" + animGroup) with this return akActor.GetAnimationVariableInt("Nemesis_AA" + animGroup) Unfortunately, for the script to compile you need "Nemesis_AA_Core.psc" which I had to yank out of "%localappdata%/nemesis" while Nemesis was running before it deleted it. Easiest way I found was to snap the explorer window to the side of the screen with Nemesis and the desktop both visible, run Nemesis and quickly grab it with the mouse and whip it onto the desktop. I'm sure there's some way to procure it from the source code but I couldn't find the actual .psc on the GitHub repository anywhere. 4
coolfreaky Posted October 11, 2021 Posted October 11, 2021 if you do not have or want style animations : just go to xpmse MCM (mod menu ) and uncheck all the style things ( they are on by default ) . 3
Drift91 Posted October 12, 2021 Posted October 12, 2021 On 10/10/2021 at 9:52 PM, coolfreaky said: if you do not have or want style animations : just go to xpmse MCM (mod menu ) and uncheck all the style things ( they are on by default ) . Are you referring to these? I wasn't even aware they were a thing. Guess I should disable them since I don't use them at all. Thanks for the heads up.
Illana Posted November 2, 2021 Posted November 2, 2021 XPMSELib.pexXPMSEWeaponStyleScaleEffect.pex I managed to compile both, no more papyrus spam and also weapon styles work 1
alex77r4 Posted November 2, 2021 Posted November 2, 2021 (edited) 7 hours ago, Illana said: I managed to compile both, no more papyrus spam and also weapon styles work Source code? Please? Edited November 2, 2021 by alex77r4
Scautura Posted November 2, 2021 Posted November 2, 2021 (edited) On 11/2/2021 at 10:15 AM, alex77r4 said: Source code? Please? There's a "fixed scripts" mod on Nexus that has the fixed scripts for easy install, plus a link to an article that covers the fixes. Note that these may not be the same fixes at Illana's above, but does cover cskriffin's fixes (the code changes) to the issues that he found while making All Geared Up Derivative. Edit: Although now that I look at my logs, they don't remove the spam. Probably a different fix (but also possibly helpful with other issues). Edited November 3, 2021 by Scautura
Illana Posted November 3, 2021 Posted November 3, 2021 On 11/2/2021 at 2:26 PM, Scautura said: There's a "fixed scripts" mod on Nexus that has the fixed scripts for easy install, plus a link to an article that covers the fixes. Note that these may not be the same fixes at Illana's above, but does cover cskriffin's fixes (the code changes) to the issues that he found while making All Geared Up Derivative. Edit: Although now that I look at my logs, they don't remove the spam. Probably a different fix (but also possibly helpful with other issues). the fixed scripts do not remove spam, they only address the resizing issue. I used them as a base to correct the spam though for those 2 scripts. 2
Illana Posted November 3, 2021 Posted November 3, 2021 On 11/2/2021 at 10:15 AM, alex77r4 said: Source code? Please? XPMSEWeaponStyleScaleEffect.pscNemesis_AA_Core.psc XPMSELib.psc 3
Scautura Posted November 3, 2021 Posted November 3, 2021 7 minutes ago, Illana said: the fixed scripts do not remove spam, they only address the resizing issue. I used them as a base to correct the spam though for those 2 scripts. I realised that once I took a closer look, because I'm a dummy. Having tried yours, I must commend you on your work. Papyrus spam is why I stopped using Frostfall - Seasons too (which is far worse than XPMSSE's spam). Thank you for your work.
alex77r4 Posted November 3, 2021 Posted November 3, 2021 The spam in the Papyrus Log is not a problem. You can have a script in a eternal loop constantly writing lines in the log with Debug.Trace and you can not notice it while playing the game. Sometimes i have log's files of 100 megabytes in less than half hour while i develop my tests and that is not a problem for the game. The problems of XPMSE in my game was related to the tremendous ACCUMULATION of scripts caused by XPMSEWeaponStyleScaleEffect. Sometimes, when open my save game in ReSaver, i see up to 800 active scripts all of them running XPMSEWeaponStyleScaleEffect, each one of them in different lines, causing a tremendous slow down in the Script Engine. 2
Roughrider Posted July 26, 2022 Posted July 26, 2022 (edited) On 11/3/2021 at 10:11 AM, alex77r4 said: The spam in the Papyrus Log is not a problem. You can have a script in a eternal loop constantly writing lines in the log with Debug.Trace and you can not notice it while playing the game. Sometimes i have log's files of 100 megabytes in less than half hour while i develop my tests and that is not a problem for the game. The problems of XPMSE in my game was related to the tremendous ACCUMULATION of scripts caused by XPMSEWeaponStyleScaleEffect. Sometimes, when open my save game in ReSaver, i see up to 800 active scripts all of them running XPMSEWeaponStyleScaleEffect, each one of them in different lines, causing a tremendous slow down in the Script Engine. A tremendous save game time as well. Does the new patched scripts fix the save game times? This one here: https://www.nexusmods.com/skyrimspecialedition/mods/44252?tab=files Edited July 26, 2022 by Roughrider
Just Don't Posted July 26, 2022 Posted July 26, 2022 In 2022 you can get only the meshes folder from XPMSSE and use Simple Dual Sheath + Immersive Equipment Displays for weapon positioning and a bunch of other things done without needing to worry about scripts. Or follow the instructions + get the plugin from this modpage for SOS support, SDS and IED are still needed for weapon position though. 1
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