Jump to content

Script differs from the in-game resource files - using version from save


Recommended Posts

Posted

When loading my save I get errors like this:
WARNING: Function slaMainScr..OnSexLabOrgasmSeparate in stack frame 0 in stack 18983873 differs from the in-game resource files - using version from save

slaMainScr is SL Aroused, but overwritten by SL Separate Orgasm.

 

I have made changes to slaMainScr using Skyrim Script Compiler Pro.
The changes has been working as intended, so compiling it and making it run on existing save has not been an issue prviously.

At some point, it stopped working, as if no functions from slaMainScr are running at all. Papyrus log shows error like these:
 

Spoiler

[06/08/2023 - 05:03:21AM] Suspended stack count is over our warning threshold, dumping stacks:
[06/08/2023 - 05:03:21AM] VM is freezing...
[06/08/2023 - 05:03:21AM] VM is frozen
[06/08/2023 - 05:03:21AM] Dumping stack 23179541:
[06/08/2023 - 05:03:21AM]     Frame count: 0 (Page count: 0)
[06/08/2023 - 05:03:21AM]     State: Waiting on other stack for call (Freeze state: Freezing)
[06/08/2023 - 05:03:21AM]     Type: Normal
[06/08/2023 - 05:03:21AM]     Return register: None
[06/08/2023 - 05:03:21AM]     Has stack callback: No
[06/08/2023 - 05:03:21AM]     Stack trace:
[06/08/2023 - 05:03:21AM]         [sla_Main (07042D62)].slaMainScr.OnKeyUp() - (requested call)
[06/08/2023 - 05:03:21AM]             [param 0]: 49
[06/08/2023 - 05:03:21AM]             [param 1]: 0.082833
[06/08/2023 - 05:03:21AM] Dumping stack 23331942:
[06/08/2023 - 05:03:21AM]     Frame count: 0 (Page count: 0)
[06/08/2023 - 05:03:21AM]     State: Waiting on other stack for call (Freeze state: Freezing)
[06/08/2023 - 05:03:21AM]     Type: Normal
[06/08/2023 - 05:03:21AM]     Return register: None
[06/08/2023 - 05:03:21AM]     Has stack callback: No
[06/08/2023 - 05:03:21AM]     Stack trace:
[06/08/2023 - 05:03:21AM]         [sla_Main (07042D62)].slaMainScr.OnCrosshairRefChange() - (requested call)
[06/08/2023 - 05:03:21AM]             [param 0]: [Actor < (091F2A56)>]

 

So any scripts calling functions from slaMainScr will fail.

I do not know if I have accidentaly made errors when compiling slaMainScr or if there's other causes for this script to fail, and don't have saves to roll back to try figure it out.

 

What I hope to get help with is to understand better how this works when papyrus log shows: 
WARNING: Function slaMainScr..OnSexLabOrgasmSeparate in stack frame 0 in stack 18983873 differs from the in-game resource files - using version from save

- It detects something different with the script and choose to run a previous version of the same script from the save file?

--- When I have made changes before, it never had such errors, so jsut being different doesn't seem to be the cause of this from my understanding.

- Does it detect errors with the script and therefor choose to run a previous version?

--- I have tried to roll it back to the original script, same error.

 

I have tried to use ReSaver to remove unattached instances and unidentified elements, yet this does not make any improvements to the issue.

 

When I load the save with ReSaver, it does report errors with slaMainScr:

Quote

There are 4265 stacks and 4916 frames, which probably indicates a problem.
slaMainScr occurs the most often (4261 occurrences)

 

So I tried to remove the script file from the save, loaded the game and everything related to this script worked flawlessly.

However, any time I try to save, it instantly CTO.
When loading the save, I do get a lot of errors in papyrus:

Quote

[06/08/2023 - 04:45:52AM] Error: Object handle 0x70B58400 is missing from the object table - variable value will be cleared
[06/08/2023 - 04:45:52AM] Error: Failed to read suspended stack from save game

 

But those errors only occurs when loading the save, everything else works perfectly fine.

 

Is there another way to force Skyrim to use slaMainScr from scripts folder, instead of running the seemingly broken version inside the save file?

I do not know how to use creation kit in any sensible way, I have no modding knowledge in Skyrim, only learned how to compile scripts to adjust them to my liking.

Any assistance to the matter is highly appreciated!

 

 

 

 

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