Jump to content

Devious Devices scripts causing major script and fps lag, log included


Guest GuyWhoAbruptlyDisappeared

Recommended Posts

Guest GuyWhoAbruptlyDisappeared
Posted

Hi,

 

I have a problem with Devious Devices Assets and Integration. A few scripts, namely zadNPCQuestScript and the player equivalent are bugging out and bogging down the game, forcing me to remove the scripts via Save Tool and disable Devious Devices entirely. 

 

This a sample of the log. I can't include the full log file because it's over 100 megabytes.

 

 

 

 
[06/14/2014 - 12:51:19PM] Dumping stack 1555368:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1555320:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1555283:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1555238:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1555200:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1555158:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1555074:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1555040:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1555004:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1554964:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadConfigQuest (1601A282)].zadconfig.OnConfigManagerReady() - (requested call)
[06/14/2014 - 12:51:19PM] [param 0]: "SKICP_configManagerReady"
[06/14/2014 - 12:51:19PM] [param 1]: ""
[06/14/2014 - 12:51:19PM] [param 2]: 0.000000
[06/14/2014 - 12:51:19PM] [param 3]: [sKI_QF_ConfigManagerInstance <SKI_ConfigManagerInstance (17000802)>]
[06/14/2014 - 12:51:19PM] Dumping stack 1554933:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1554893:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1554850:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - (requested call)
[06/14/2014 - 12:51:19PM] Dumping stack 1554830:
[06/14/2014 - 12:51:19PM] Frame count: 0 (Page count: 0)
[06/14/2014 - 12:51:19PM] State: Waiting on other stack for call (Freeze state: Freezing)
[06/14/2014 - 12:51:19PM] Type: Normal
[06/14/2014 - 12:51:19PM] Return register: None
[06/14/2014 - 12:51:19PM] Has stack callback: No
[06/14/2014 - 12:51:19PM] Stack trace:
[06/14/2014 - 12:51:19PM] [zadConfigQuest (1601A282)].zadconfig.OnConfigManagerReady() - (requested call)
[06/14/2014 - 12:51:19PM] [param 0]: "SKICP_configManagerReady"
[06/14/2014 - 12:51:19PM] [param 1]: ""
[06/14/2014 - 12:51:19PM] [param 2]: 0.000000
[06/14/2014 - 12:51:19PM] [param 3]: [sKI_QF_ConfigManagerInstance <SKI_ConfigManagerInstance (17000802)>]

 

 

 

There's hundreds of those every second.

 

Does anyone know what might cause this and how I can fix it?

Posted

I have a similar problem.  I was using 1.39 until today and started a new game and decided to upgrade to the latest sexlab.  I went through and updated everything, disabling the old mods as I went.  Now things are real sluggish when it comes to scripts.  I looked at my save cleaner and I see a ton of these:

 

zadnpcquestscript

zadnpcquestscript

zadnpcquestscript

 

At first I thought it was ZaZanimation 5.53, but save cleaner says it's Devious Devices Integration.  I decided to try to restart ZaZanimation, but it won't let me do anything with Zazanimation inthe mod config.

 

Just so you know, everything worked fine under 1.39.  

 

Glad someone else out there is having this same problem.  Wish the first responder did more than give us the equivalent of "turn your computer off for 5 seconds" kind of answer.

Posted

I had that happen a couple of weeks ago too, gives you papyrus logs with thousands of pages in less than 5 minutes. Same script looping. Though can't say I tracked the reason down, simply nuked the Data folder and started setting up mods from scratch. While I still use DD Assets / Integration / Expansion, it hasn't happened again. Only thing I didn't install again from that "family" is Captured Dreams. Doesn't have to mean it has anything to do with it though.

Guest GuyWhoAbruptlyDisappeared
Posted

Reinstalling DD Assets / Integration and cleaning the rogue scripts out with save tool typically fixes the problem. However, restarting Skyrim usually restores the problem. 

 

 

Glad to hear I'm not the only one.

Posted

So did you ever find a fix to this problem? I'm having the exact same problem where Devious Devices appear to just be spamming up my log and pretty much breaking everything. 

Guest GuyWhoAbruptlyDisappeared
Posted

So did you ever find a fix to this problem? I'm having the exact same problem where Devious Devices appear to just be spamming up my log and pretty much breaking everything. 

 

Unfortunately, no. I had to uninstall DD and its dependencies entirely and remove the scripts from my save with save tool, then delete the scripts from my folder to make the game playable at all.

Posted

I was able to fix the problem only by starting a new game, though I did still have Devious Devices installed (Integration and Assets only). I found some reference to the problem having to do with Deviously Helpless, so after I got a clean log to start with, I saved the game, exited, and added back all the DD addons except Helpless and things appear to still be OK.

 

Of course, simply uninstalling Deviously Helpless didn't fix anything because the scripts were still in my save, and I can't use that script remover because Nexus sucks so bad and won't let me download it.

Posted

Seeing more of the debug log would help, just posting the dump stack only shows the after effects, not what might have been going wrong before the dump occurred. 

 
As far as I know, from nothing more than a completely semi-educated guess (aka could be talking out my ass here), dump stacks like that aren't always the result of the mod it's spitting errors out for, some other mod might have crashed the papyrus vm and the zad scripts just happens to be the one trying to make use of the crashed vm.

 

Otherwise some general script related recommendations would be to Uninstall the mod completely and make a clean save with it gone, then run save game script scalpel to remove unattached instances and terminate active threads. Then reinstall the mod from scratch, taking care to ensure it's all installed properly, and load your cleaned save.

 

 

 

Posted

Try the above save cleaning suggestion if you haven't. And disable any optional devious devices plugins you might have.

Posted

 

Here's what that savegame scalpel said.

 

Analysis...
 
Warning: There are 538 active threads inside the savegame. It's a lot. This can cause performance issues and savegame bloat. If the Thread count will keep growing in a quiet location, then consider removing related mods or using the corresponding cleaning technique.
 
538 threads are associated with script instances. Consider using "Remove Unattached Instances". No luck with removing instances? Try "Terminate Active Threads".
 
490  threads ( OnUpdate) were created by one single instance with ID  3825509312, which belongs to class zadnpcquestscript from . This looks suspicious. Please, ensure that these threads are not stuck.
2  threads ( OnInit) were created by one single instance with ID  3813884400, which belongs to class zaddQuestMonitorPlayerScript from . This looks suspicious. Please, ensure that these threads are not stuck.
7  threads ( OnLoad) were created by one single instance with ID  3735975776, which belongs to class zadbaseevent from . This looks suspicious. Please, ensure that these threads are not stuck.
7  threads ( OnLoad) were created by one single instance with ID  3735956576, which belongs to class zadbaseevent from . This looks suspicious. Please, ensure that these threads are not stuck.
7  threads ( OnLoad) were created by one single instance with ID  3735972976, which belongs to class zadbaseevent from . This looks suspicious. Please, ensure that these threads are not stuck.
7  threads ( OnLoad) were created by one single instance with ID  3762446320, which belongs to class zadbaseevent from . This looks suspicious. Please, ensure that these threads are not stuck.
 
Scripts from the following resources still have active threads. It's NOT recommended to update these resources until active scripts finish their work
[Resource : Threads count]
Skyrim - Misc:  4
 
The following errors are mentioned in the papyrus log before exiting the savegame. Please, note that there are active threads inside the savegame with the same classes:
[06/21/2014 - 06:15:26PM] [zadNPC (1602F6AC)].zadnpcquestscript.OnUpdate() - "zadNPCQuestScript.psc" Line ?
 
Analysis complete

 

Posted

That's just an analysis, you have to actually perform the needed actions to. After the analysis you need to click Remove Unattached Instances, and Terminate Active Threads. Then load the cleaned save without any devious devices mods installed.

Posted

I did all that... followed the guide on the Nexus page, cleaned it up like it said, then removed all the DD mods as well as those which depended on it (like Sanguine's). When I started the game I got the message that mods were missing, but I bypassed that and got into the game, re-saved and then quit. Ran another analysis and did another round of cleaning before loading up the game one more time. Log attached.

 

You can see that there's lots of errors about stuff missing because of all the mods I uninstalled, but once all those finish, the log goes quiet for the other couple minutes I ran around before saving.

 

So is the next step to start adding mods back? I don't really wanna play without Devious Devices and Friends... I wanna stop the log spam which I never had up until the last day or so, kinda out of nowhere.

Posted

I'd do one more cleaning on that last save just to be safe. Then add the mods back one by one, waiting a couple minutes after loading each time, saving, then check debug log for any new errors, followed by adding back the next mod and repeating the install->load->wait->save->check log->next mod process.

Posted

I've added DD Integration, Assets, and Captured Dreams back, as well as Sanguine's Debauchery, and now my log is much better after playing for a time. Biggest problem I have is that I accidentally enabled the Frostfall patch for SD+, and so even after disabling it again, SD is still looking for it. Time for another small cleaning I think. ^_^

 

Mods I have not yet added back:

 

Angrim's Apprentice

DD Restrained

Devious Captures (Defeat plugin)

Devious Cidhna

 

Thank you for your help, Ashal, I very much appreciate it!

Posted

Update:

 

I've added back everything except Angrim's Apprentice, and after playing the game for a half hour, my Papyrus log was only 106kb. Much improved from the 40+MB it was the last time I played for that long! :P

 

I'm kinda nervous about adding Angrim's back since everything is running so well, but I hate to think that it's the problem without giving it a try. Then again, if I add it back and still have no problems, what the heck was causing all that?

Posted

Somewhere along the way you likely either improperly installed/upgraded/uninstalled a mod and that screwed with things or one of the mods you use wasn't able to properly handle an error because it was an unforeseen potential error by the author,  because another mod interacted with it in a bad way, or because it was simply poorly made. 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...