Jump to content

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


steve40

Recommended Posts

mindw0rk2

 

Are you using the updated esp for Real wildlife? Realistic wildlife is like over a year old so might be causing you're freezing? You could always try keeping real wildlife and use the light version of SkyTest so that the new ai will apply (theoretically lol) to real wildlife. Freezing like that is my issue too, though in my case it was monster wars the updated version, which have since removed. Freezing like that as i understand it is generally caused by mod conflicts or just pushing you're pc too hard.

 

Updated? I see only files dated 2012

Link to comment
Share on other sites

  • Replies 100
  • Created
  • Last Reply

Top Posters In This Topic

Still getting errors with script. I have SkyTest, Immersive Creatures 6.1 and Monster Mod installed, all with compatibility patches.

This one was before crash near Riverwood Stones:

 

[WI (00035D64)].wifunctionsscript.RegisterDragonAttack() - "WIFunctionsScript.psc" Line ?
[ (00032AC2)].dragonactorscript.OnLocationChange() - "dragonActorSCRIPT.psc" Line ?
[07/21/2013 - 03:00:09AM] warning: Assigning None to a non-object variable named "::temp33"
stack:
[WI (00035D64)].wifunctionsscript.RegisterDragonAttack() - "WIFunctionsScript.psc" Line ?
[ (00032AC2)].dragonactorscript.OnLocationChange() - "dragonActorSCRIPT.psc" Line ?
[07/21/2013 - 03:00:25AM] [skyBirds]Updated 1302 factions.
[07/21/2013 - 03:01:35AM] Error: Cannot call SendStoryEvent() on a None object, aborting function call
stack:
[ (0008F62D)].WETriggerScript.StartEncounter() - "WETriggerScript.psc" Line ?
[ (0008F62D)].WETriggerScript.OnCellLoad() - "WETriggerScript.psc" Line ?
[07/21/2013 - 03:02:11AM] warning: (6F038BB2): Ref is in an unloaded cell, so it cannot cast spells..
stack:
[ (7101F222)].SPELL.Cast() - "<native>" Line ?
[Active effect 2 on (6F038BB2)].zbloodnpcbleed.OnHit() - "zbloodnpcbleed.psc" Line ?
[07/21/2013 - 03:02:12AM] warning: (00105A19): Ref is in an unloaded cell, so it cannot cast spells..
stack:
[ (7101F222)].SPELL.Cast() - "<native>" Line ?
[Active effect 3 on (00105A19)].zbloodnpcbleed.OnHit() - "zbloodnpcbleed.psc" Line ?
[07/21/2013 - 03:02:19AM] Error: (000FA2E1): cannot disable an object with an enable state parent.
stack:
[ (000FA2E1)].lvlpredatorscript.Disable() - "<native>" Line ?
[ (000FA2E1)].lvlpredatorscript.OnCellLoad() - "LvlPredatorScript.psc" Line ?
[07/21/2013 - 03:02:19AM] Error: (000FA2E2): cannot disable an object with an enable state parent.
stack:
[ (000FA2E2)].lvlpredatorscript.Disable() - "<native>" Line ?
[ (000FA2E2)].lvlpredatorscript.OnCellLoad() - "LvlPredatorScript.psc" Line ?
Link to comment
Share on other sites

USKP has been updated and includes a lvlpredator script fix. I'm hoping/presuming it's Steve's. From the changelog:

 

  • The LvlPredatorScript has been corrected so that it will no longer fill the logs with errors about enable parents. The addition of two new USKP-specific keywords was required for this in addition to editing several world records for the placed creatures the script was intended to run for. In an 100% vanilla game, this completely eradicates these error messages and the predator/prey setups now work as they were intended to. Mods which edit these references will cancel out the fixes for them and we cannot correct for this.
Link to comment
Share on other sites

I've used your fix with excellent results until I installed the newest USKP version that is... I thought by using the USKP I wouldn't need this fix anymore which is why I deactivated it. Unfortunately the USKP is normally the lowest ESP in BOSS which makes other mods overwrite its changes if there are alterations. Now I believe that one of my other mods that add animal life like Realistic Animals and Predators or maybe Skyrim Immersive Creatures might have caused an overwrite in my new save game, because now I repeatedly crash south of Riverwood, with the last lines in the Papyrus being the lvlpredatorscript.psc.

 

I installed your fix again as the last thing in my mod order but the crash is still there. So now to my question: Is it possible to fix cells/animals retroactively with your fix or another method? Or does my problem fall under the 5% of crashes which were still possible, like you wrote in your first post?

 

Anyway thank you very much!

 

EDIT: Just noticed that mindw0rk2 has the same problem at the same location too! Might be a general problem in that area?

Edited by Chrischn89
Link to comment
Share on other sites


I've looked at the USKP lvlpredatorscript and it is implemented differently than my fix. Tbh, from looking at the USKP fix I don't see that it will stop the errors in the logs, but I haven't tested it, so I could be wrong. However, the USKP fix will not apply to any mod that adds its own creatures unless the mod author incorporates the new USKP script into their mod and sets it up correctly. I'll re-upload the "hack" version of my lvlpredatorscript script which completely disables the script's functionality. That should help you diagnose if the script errors are related to your crashes or not.


Link to comment
Share on other sites

 

I've looked at the USKP lvlpredatorscript and it is implemented differently than my fix. Tbh, from looking at the USKP fix I don't see that it will stop the errors in the logs, but I haven't tested it, so I could be wrong. However, the USKP fix will not apply to any mod that adds its own creatures unless the mod author incorporates the new USKP script into their mod and sets it up correctly. I'll re-upload the "hack" version of my lvlpredatorscript script which completely disables the script's functionality. That should help you diagnose if the script errors are related to your crashes or not.

 

 

This is awesome! I've just tested the new hack version (btw your archive is missing the "Scripts" subfolder but I installed it manually anyway) and it worked on every save file where I could reproduce the CTD reliably! Before, I used to crash immediately when encoutering a pack of wolves but with your script replacement the game stops for half a second and then just continues normally. I should notice that the log now creates two or three entries of this:

 

warning: Property USKPPredatorEnableParent on script lvlpredatorscript attached to (0003F8B4) cannot be initialized because the script no longer contains that property

 

But I think this is no big deal right?

 

I did crash once during my tests though but according to the log it was caused by the critter.psc because it was full with messages about it and none of the lvlpredatorscript.psc. I think this is the result of me playing without your scripts from the start, meaning that I probably spawned faulty critters already when I first came through that area without your other critter-fix.

 

Anyway I'm going to start a new game with your fixes in place (damn you USKP for letting me feel falsey secure!) and test this extensively.

 

Thank you so much steve40 for your outstanding work! :smile:

Link to comment
Share on other sites

I'm currently using the final v2 version in an attempt to fix the CTD's i've been experiencing with the lvlpredatorscript. However, I also have UKSP installed, and now my papyrus logs are being spammed hundreds of times with this:

 

[07/24/2013 - 10:17:13AM] warning: Property USKPPredatorEnableParent on script lvlpredatorscript attached to (00083E88) cannot be initialized because the script no longer contains that property
[07/24/2013 - 10:17:13AM] warning: Property USKPPredatorInverseEnableParent on script lvlpredatorscript attached to (00082645) cannot be initialized because the script no longer contains that property
[07/24/2013 - 10:17:13AM] warning: Property USKPPredatorEnableParent on script lvlpredatorscript attached to (00082645) cannot be initialized because the script no longer contains that property
[07/24/2013 - 10:17:13AM] warning: Property USKPPredatorInverseEnableParent on script lvlpredatorscript attached to (00081CEF) cannot be initialized because the script no longer contains that property

 

Is there any way to stop this from happening?

Link to comment
Share on other sites

@Lyceaon

 

Two options that I know of...

 

#1 Roll USKP back prior to their lvlpredatorscript changes and stick with steve40's script -- also roll your saves back to where they were prior to updating USKP

 

#2 Load the USKP plugin in the Creation Kit while steve40's script is properly installed (both PEX & PSC versions). Load every form that uses the lvlpredatorscript, click on the properties button, click on the OK button, click on OK to close the form, when all done save the plugin.

 

Option 2 is tedious but is probably the best bet in maintaining your save files as they are now.

Link to comment
Share on other sites

  • Recently Browsing   0 members

    • No registered users viewing this page.

×
×
  • Create New...