Jump to content

Script Lag


stilllogicz

Recommended Posts

Lately I've noticed that a lot of active scripts are lagging badly. Trying to place a shield on a display or a weapon on a rack takes upwards of 3-7 mins. Hiring a follower, the gold won't be removed until a few minutes later. Certain quests won't update until after a few minutes. I've uninstalled all mods and reverted to a save from 2 days ago, even reinstalled the game and it's still there. My save file is only 10mb. Any ideas on what could be causing this? Edited by stilllogicz
Link to comment
Share on other sites

I have a pretty good idea what is causing this, but your'e not going to like it.

 

There were a lot of changes with the new Papyrus language. Two of them are really important to understand this problem.

1. Each script now has an allotted run-time. If a script doesn't finish runnung during this time, it is "paused" untill it's turn comes back around.

2. Scripts are now referenced in your save, and unless you remove them they will continue to run even after you uninstall the corresponding esp.

 

The first it the biggest problem. Say you have a script that doesn't finish running and gets paused. Before it gets a chance to finish, it gets called to run again. Now you have two instances of the same script in the que. Some scripts can be called quite often, so it is easy for them to stack up. This is further aggravated by the fact that everyone is still learning Papyrus, so there is a lot of inefficent (or downright bad) script out there. Now when a lot of scripts are running at once, the script manager could either shorten the ammount of time alloted to each script, compounding the stacking problem. Or each script will wait a lot longer for it's next chunk of run-time. This is why you are seeing the delayed reactions from scripts.

 

As for why uninstalling all mods didn't help, see #2 above. Fortunately this is fixable. If you do not have the CK installed, you can just delete the whole "scripts" folder. What is stored in your save is just a reference to a script, if you remove the script itself it can no longer run. If you do have the CK, it needs some of the files in this folder. You will need to go thru each mod you installed, comparing the script folder that came with each against your script folder and removing thier scripts one at a time.

 

If you want more info about this, look here.

Link to comment
Share on other sites

  • Recently Browsing   0 members

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