Jump to content

Bugfix for "LvlPredatorScript" errors. No more log spam.


steve40

Recommended Posts

  • Replies 100
  • Created
  • Last Reply

Top Posters In This Topic

Error: (00085CCC): cannot disable an object with an enable state parent.

stack:

[ (00085CCC)].lvlpredatorscript.Disable() - "<native>" Line ?

[ (00085CCC)].lvlpredatorscript.OnCellLoad() - "LvlPredatorScript.psc" Line 28

Didn't read my first post, huh :armscrossed: .

Link to comment
Share on other sites

  • 4 weeks later...

I see this was already mentioned but was brushed off as not caused by this. However, strange as it is. Hadvar does "disappear" when this script is included at brand new game start.

 

It is repeatable and only solvable by renaming or removing the PEX file. I tested this several times and watched Hadvar to see when he would "disappear". What is happening is that when this script is installed at the start of a brand new game, several elk/deer and at least one wolf are spawned along the route. Hadvar dismounts and fights the wolf. This causes him to sometimes be stuck outside Helgen.

 

Without this version of the script, no elk/deer or wolves are spawned. While I do have mods installed, I have none that would affect animal spawns. For what it is worth there were no errors associated with the script displayed in the log in either scenario.

 

I see no reason, at initial glance, as to why this would happen. Perhaps this should be one of those things that should not be installed till after exiting Helgen.

Link to comment
Share on other sites

  • 2 weeks later...
  • 4 weeks later...

Thanks for the script, Steve40. Most useful! I saw earlier on this thread the appeal for something to tackle the HelgenRandomSoundScript (onupdate and psc) and wondered if you may have any advice on it? Have you plans for one of your script killers? I have suddenly started getting this mangling my game, and yet I am on a vanilla Helgen start and play-through. I cannot think where it has come from, and I don't have the script anywhere to be found where I can just delete it. Please, any tips or advice gratefully received. I also used your critters script to great effect - thanks!

Update - the repeating script killed my game :sad:. It seems that the script and a controller feedback vibration was permanently looping from Helgen onwards. I tried everything to get rid of it. I've since reloaded but I'd love to know of any solutions for future use.

Link to comment
Share on other sites

  • 6 months later...
  • 4 weeks later...

This didn't change any thing at all for me. i still get a CTD and the last thing in my papyrus is this:

 

[08/02/2014 - 09:28:34PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000848F8) cannot be initialized because the script no longer contains that property

[08/02/2014 - 09:28:34PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000848F8) cannot be initialized because the script no longer contains that property
[08/02/2014 - 09:29:14PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC566) cannot be initialized because the script no longer contains that property
[08/02/2014 - 09:29:14PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC566) cannot be initialized because the script no longer contains that property

Link to comment
Share on other sites

hey i installed this fix and look what fun stuff i got before my game locked up solid

 

08/02/2014 - 10:30:06PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (00081CF9) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:30:06PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (00081CF9) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:30:06PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (00081CFB) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:30:06PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (00081CFB) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:30:07PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (00081CFD) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:30:07PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (00081CFD) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:30:50PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000820AC) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:30:50PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000820AC) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:32:22PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (0008478D) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:32:22PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (0008478D) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:32:49PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC58D) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:32:49PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC58D) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:32:49PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC58E) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:32:49PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC58E) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:32:49PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (00105992) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:32:49PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (00105992) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:33:29PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000846FE) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:33:29PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000846FE) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:33:29PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC564) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:33:29PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC564) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:33:29PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC589) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:33:29PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC589) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:34:45PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (00084700) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:34:45PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (00084700) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:36:35PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (00084712) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:36:35PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (00084712) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:36:46PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC584) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:36:46PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC584) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:36:46PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC591) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:36:46PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC591) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:36:58PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC57A) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:36:58PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC57A) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:37:58PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (000DC57A) cannot be initialized because the script no longer contains that property
[08/02/2014 - 10:37:58PM] Warning: Property LinkCustom10 on script lvlpredatorscript attached to (000DC57A) cannot be initialized because the script no longer contains that property
Link to comment
Share on other sites

  • 3 months later...

hey i installed this fix and look what fun stuff i got before my game locked up solid

 

08/02/2014 - 10:30:06PM] Warning: Property LinkCustom09 on script lvlpredatorscript attached to (00081CF9) cannot be initialized because the script no longer contains that property

 

First off, those warning messages have nothing to do with CTDs in your game.

 

They would appear just after loading a savegame, when there are plenty of other reasons for Skyrim to CTD, and it's just coincidence that they are the last things you see the Papyrus log. With what this script does, it's pretty much impossible to cause a CTD. I also see dozens of warnings like this when I turn on Papyrus logging for my current game, but I don't get any CTDs when loading my savegame, and they're very rare for me in general, despite having near 250 plugins in my load order and numerous script "heavy" mods.

 

The reason why this "fixed" script exists in the first place is to reduce the amount of "log spam" that lvlpredatorscript causes in the Papyrus log, which is really only helpful to people debugging their papyrus scripts, or users who are supplying their Papyrus logs to a mod creator for the purpose of debugging. Papyrus scripts serve no real purpose in helping Skyrim users troubleshoot reasons for CTDs.

 

Now that this has been cleared up, let's look at why these errors are showing up.

 

If you were in the middle of an already started game in Skyrim with the USKP (Unofficial Skyrim Patch) installed, it had already provided a "fixed" lvlpredatorscript, which was being used and attached to predators. These have references (also called FormID) which get written into your savegames for your current player character.

 

In that edited lvlpredatorscript that the USKP provides, it sets up a number properties (think: variables) for each instance of the script, and two of them are named LinkCustom09 and LinkCustom10.

 

Every time you load a savegame, Papyrus has to initialize script instances that are attached to references saved in your savegame, and the properties listed for the attached script have to match the list of properties in the master script itself.

 

If you later install steve40's version of the lvlpredatorscript, all of the predators' references that have the lvlpredatorscript attached to them in your savegame will not have a matching list of properties to the master script because steve40's version of the script does not use the LinkCustom09 and LinkCustom10 properties.

 

If this really bothers anyone, I'm pretty sure the warnings can be suppressed by adding unused LinkCustom09 and LinkCustom10 property definitions to the the source code of steve40's version of lvlpredatorscript, and then recompiling it.

 

In version 2.2 of his script, he's already added a few unused property definitions to reduce log warning spam for USKP users, so I'd suggest adding the LinkCustom09 and LinkCustom10 definitions just after the definition for USKPPredatorInverseEnableParent as follows:

Keyword Property USKPPredatorEnableParentInjected Auto	; NOT USED. Added to prevent warnings in the log if USKP is being used - STEVE40
Keyword Property USKPPredatorInverseEnableParentInjected Auto	; NOT USED. Added to prevent warnings in the log if USKP is being used - STEVE40
Keyword Property USKPPredatorEnableParent Auto	; NOT USED. Added to prevent warnings in the log if USKP is being used - STEVE40
Keyword Property USKPPredatorInverseEnableParent Auto	; NOT USED. Added to prevent warnings in the log if USKP is being used - STEVE40
Keyword Property LinkCustom09 Auto   ; NOT USED. Added to prevent warnings in the log if USKP is being used and you installed Steve40's script to an in-progress game. - keithinhanoi
Keyword Property LinkCustom10 Auto   ; NOT USED. Added to prevent warnings in the log if USKP is being used and you installed Steve40's script to an in-progress game. - keithinhanoi

Note that the above text is just the relevant section of steve40's script, not the whole thing.

 

After adding the LinkCustom09 and LinkCustom10 property definitions to my copy of steve40's script, recompiling it, installing it, and opening my current savegame, I see that all of those warnings are gone from my Papyrus log, and I now just have 3 errors like this:

[11/10/2014 - 02:43:21PM] Error: Failed to read basic script data for lvlpredatorscript attached to  (00082644)

Although that's an error instead of a warning message, it wont lead to any game-breaking problems. I could use one of the two savegame "cleaner" programs, like Papyrus Data Transfer (AKA "Savegame script scalpel") to get rid of those 3 attached script instances, but I wouldn't be too worried about it, honestly.

 

EDIT: A few savegames later, I checked and even those "Failed to read basic script data..." errors are gone, so those four attached script instances have been flushed out.

Edited by keithinhanoi
Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...