Jump to content

Photo

fxDustDropRandomSCRIPT errors *FIXED*


  • Please log in to reply
68 replies to this topic

#1
steve40

steve40

    Proud new dad.

  • Members
  • PipPipPipPipPip
  • 2,692 posts
Anyone who's had a look in their Papyrus logs has probably found that fxDustDropRandomSCRIPT.psc is spamming the log with errors like this every 30 seconds or so:

[08/02/2012 - 11:59:48PM] error: Object reference has no 3D
stack:
[ (0001E68C)].Sound.Play() - "<native>" Line ?
[ (00072EF6)].fxDustDropRandomSCRIPT.OnLoad() - "<savegame>" Line ?
[08/02/2012 - 11:59:53PM] error: Object reference has no 3D

This is due to the script having a timed loop, with the possibility of the cell unloading while the script is still waiting for the timer to finish. If the cell unloads while the loop is running it will bug out because you cannot call some Papyrus functions on an object that has no 3D loaded.

The references that can generate these errors are located in the following cells:

Spoiler

I've fixed the bug by adding some extra safety checks to test if the 3D is still loaded before the loop tries to run.

INSTALLATION
============

1) copy the file "fxDustDropRandomSCRIPT.pex" to your Skyrim "DATA\SCRIPTS" folder, overwriting any existing script.
2) copy the file "fxDustDropRandomSCRIPT.psc" to your Skyrim "DATA\SCRIPTS\SOURCE" folder, overwriting any existing script.

The above steps will prevent any new locations from bugging out.
To fix any existing locations that are generating errors, follow these extra steps:

3) You will need to identify the game location(s) where the buggy script is running. Look at the Papyrus log example above. The number in front of "fxDustDropRandomSCRIPT.OnLoad()" is "00072EF6". If you look up this number in the table in the "spoiler" above, you will see that the buggy script is in cell "BrokenTowerRedoubt01". So in this case, at STEP 4 below, you will need to COC to that location.

4) start the game, enter the console and type "COC BrokenTowerRedoubt01" to fast travel to the cell that contains the faulty activator.
5) explore the area for a couple of minutes (this is just to make sure that the random dust drop effect script has loaded in that area).

Repeat steps 4 and 5 for any other locations that have buggy "fxDustDropRandomSCRIPT" scripts running.

6) enter the console and type "COW Tamriel 0 0" to leave the area, then save your game.
7) quit the game then start the game again and load your new savegame.
8 ) play the game for a few minutes, then check your papyrus logs. The "fxDustDropRandomSCRIPT.pex" errors should be gone.
9 ) note that if you ever reinstall the CK or update it, you will need to recopy my fixed scripts to your scripts folders.

Edit: note that after applying this fix, it is still possible that you will find an occasional (rare) "fxDustDropRandomSCRIPT.psc" error in your log when the reference to which the script is attached unloads its 3D. However this is OK as the script will trap the error almost immediately and stop the loop from running indefinitely.

Edit: [7 Aug 2012] updated instructions giving a list of all the potential buggy references. Updated the README file in the rar archive.

Attached Files


Edited by steve40, 13 September 2012 - 10:04 AM.


#2
HerrBaron

HerrBaron

    Old hand

  • Premium Member
  • 591 posts
Nice Job! The papyrus log spam has been very annoying, particularly when trying to debug my own script. Thanks for this!

-HB




#3
steve40

steve40

    Proud new dad.

  • Members
  • PipPipPipPipPip
  • 2,692 posts
You're welcome.

I've also managed to fix the "dunBluePalaceArenaSCRIPT.pex" log spams. I'll post that solution later. Now my error log is only about 9kB after more than 30 minutes of playing :)

Edited by steve40, 24 July 2012 - 12:25 AM.


#4
steve40

steve40

    Proud new dad.

  • Members
  • PipPipPipPipPip
  • 2,692 posts
I've posted my fix for the "dunBluePalaceArenaSCRIPT.pex" errors here.

#5
hangarspace

hangarspace

    Enthusiast

  • Supporter
  • PipPip
  • 108 posts
Nice one.

Chris

#6
gaunti

gaunti

    Journeyman

  • Members
  • Pip
  • 49 posts
Hi and thanks a lot for the fixes! Bluepalacefix worked fine! but here I can't fasttravel there with consolecommands.... nothing happens... tried nearly every way to spell the command coc kilkreathruins2 different to see if its just a typo. Nothing. any idea?

ps: If I type coc kilkreathruins2 nothing happens and no error message or anything, with cow kilkreathruins2 it says worldparameter not found.

PSPS: it's coc kilkreathruins02 :)


mhhhh... how much do I have to explore of the catacombes? there are still 18 fxDustDropRandomSCRIPT in my log and I still got a ctd... don't know if that's still related to those scripts... is 18 times fxDustDropRandomSCRIPT in the log normal? it was all at the end of the log and the last thing in the log (before ctd)

Edited by gaunti, 01 August 2012 - 11:02 PM.


#7
steve40

steve40

    Proud new dad.

  • Members
  • PipPipPipPipPip
  • 2,692 posts
Thanks for the feedback gaunti. +1
Could you PM your log to me, there may be other references that use the same script.
Most people seem to get the errors from Kilkreath Ruins, but any other area that uses that vanilla script could potentially bug out. You might need to COC to those areas as well.
You will still sometimes get errors from these scripts, but hopefully not the constant spam that the vanilla script was giving. Cheers.

Edit: gaunti had two other locations where the script was bugging out. I've updated the installation instructions to take care of this.

Edited by steve40, 04 August 2012 - 04:55 AM.


#8
Apogee777

Apogee777

    Faithful poster

  • Members
  • PipPipPipPip
  • 1,862 posts
steve, your a legend. thanks heaps... :thumbsup:

#9
DaLin1122

DaLin1122

    Stranger

  • Members
  • Pip
  • 3 posts
[b]Hi Steve40,I'm a foreign guy from China.Eh,first please forgive my poor English.Unluckily,I also have the CTD problem:If I enter the Castle Dure in Solitude,the TESV will CTD while it
is loading.I also have found the "fxDustDropRandomSCRIPT" in the log,but I think it may or may not be the only reason??? So I give my Papyrus log to you,wishing you can help me find the key to this boring problem...if you want more infomation ,just ask me.And it is very late now on my time zone(Time~~0:09~~),I will check the page tomorrow.Thank you so much! :tongue:
<My Papyrus log>
(Deleted.)

Edited by DaLin1122, 18 August 2012 - 05:30 AM.


#10
steve40

steve40

    Proud new dad.

  • Members
  • PipPipPipPipPip
  • 2,692 posts

[b]Hi Steve40,I'm a foreign guy from China.Eh,first please forgive my poor English.Unluckily,I also have the CTD problem:If I enter the Castle Dure in Solitude,the TESV will CTD while it
is loading.I also have found the "fxDustDropRandomSCRIPT" in the log,but I think it may or may not be the only reason??? So I give my Papyrus log to you,wishing you can help me find the key to this boring problem...if you want more infomation ,just ask me.And it is very late now on my time zone(Time~~0:09~~),I will check the page tomorrow.Thank you so much! :tongue:


PLEASE don't spam this forum with error logs. Format your log data as a "spoiler".

Your fxDustDropRandomSCRIPT errors seem to be happening in these locations:

HagRockRedoubt01
KilkreathRuins02
BrokenTowerRedoubt01

Did you "COC" to those locations like I explained in the instructions?

Also I see a lot of errors due to DAWNGUARD quest script "DLC1WE02Script.psc":

[08/17/2012 - 10:17:45AM] error: Cannot calculate distance between and object and None
stack:
[ (00000014)].Actor.getDistance() - "<native>" Line ?
[DLC1WE02 (02008771)].DLC1WE02Script.OnUpdate() - "DLC1WE02Script.psc" Line 11
[08/17/2012 - 10:17:46AM] [DLC1WE02Script <DLC1WE02 (02008771)>]OnUpdate()

It is trying to do calculations on an object that doesn't exist, and it is stuck in a loop.
Unfortunately I can't fix that Dawnguard script bug until Bethesda releases the source script code in a future Creation Kit update (hopefully).

This doesn't necessarily mean that Dawnguard is causing your crash, but you could try uninstalling it to see if it cures your CTD or not.




Page loaded in: 1.116 seconds