Jump to content

Critter script bugfix


steve40

Recommended Posts

Getting these errors

 

Warning: Assigning None to a non-object variable named "::temp31"
stack:
[None].critterFish.Y() - "ObjectReference.psc" Line 129
[ (FF00143A)].critterFish.PickRandomPointBehindTargetFish() - "critterFish.psc" Line 228
[ (FF00143A)].critterFish.SchoolWithOtherFish() - "critterFish.psc" Line 274
[ (FF00143A)].critterFish.OnUpdate() - "critterFish.psc" Line 136
Error: Unable to call GetAngleZ - no native object bound to the script object, or object is of incorrect type
stack:
[None].critterFish.GetAngleZ() - "<native>" Line ?
[ (FF00143A)].critterFish.PickRandomPointBehindTargetFish() - "critterFish.psc" Line 223
[ (FF00143A)].critterFish.SchoolWithOtherFish() - "critterFish.psc" Line 274
[ (FF00143A)].critterFish.OnUpdate() - "critterFish.psc" Line 136

Link to comment
Share on other sites

  • 1 month later...

This vanilla critter script is one of the biggest problems involving a functional, long-term game. After a large number of hours for whichever character I happen to be on, I would randomly freeze on the loading screen from fast travel or just transitioning to a new area. Of course, can't be 100% sure that this script alone is the culprit. But the log is filled with all sorts of errors related to critters every time a freeze occurs. Makes Skyrim pretty much completely unplayable.

 

I applied this script fix from the OP, and started a new game. Unfortunately from what I noticed it compounds the problem even more. The freezes would occur by just walking around the world. Before this adjustment was applied that would rarely ever happen, especially in the beginning areas of the game. Upon checking the logs after the freeze, the critter spam is everywhere right when Skyrim crashes. Bummer.

 

Maybe there's a conflict I'm not aware of, as Steve40's adjustments with lvlpredator and dust as well as Skyre script fixes have served me well in the past. Not to mention his advice regarding birds and flocks/fxbirdfleescript. In any case, looking forward to a final version of this critter fix (if it's still being worked on) so I can rule some things out. I love TESV, but the constant troubleshooting is really starting to wear thin.

 

Tnx btw Steve. Lots of ppl appreciate the stuff you do here-- myself included.

 

EDIT: Re-installed everything. Game + mods. Crittermoth did make an appearance again at one point or another, but I'm relatively convinced it is not the cause of my CTDs/freezes. That's why these scripts did not work for me, what they addressed had nothing to do with the issues I was having. Just wanted to clear this up. Steve40's scripts work just fine, and I believe they've already been implemented into the latest version of the unofficial skyrim patch.

Edited by Moduser336
Link to comment
Share on other sites

  • 3 weeks later...

Hi - steve40, if you're still checking this thread, I have a question about the fxfakecritterscript.pex script that is included in skyBirds, but not in your critter script fix collection here.

 

I see that fxfakecritterscript.pex is found in your mod skyBirds, which I use, and it's also included in USKP v2.0.X, but I have to assume since skyBirds' assets load after USKP's (according to the BSAs following plugin load order,) that either skyBirds makes some necessary changes over the one in USKP, or it's the same thing.

 

I'm currently getting set up to start a new game, and have seen that bluedanieru's Flora Respawn Fix v2.1 has come out of beta, so I'm planning on using it, but it also includes fxfakecritterscript.pex.

 

I asked him about it, and his reply was:

 

It's different from both. Use whichever you like. I included that so critter respawns behave like the flora respawns, where the time starts when you harvest and leaving the area or not doesn't matter.

 

Since it's a loose file, it would win the overwrite "battle" when Skyim is run, but I'm hesitant to start the game not knowing which of the three versions of this particular script is the one I should be using.

 

Could you shed any light on this?

 

TIA

Edited by keithinhanoi
Link to comment
Share on other sites

  • 2 weeks later...

hmm seems that installing this is GIVING me lotsa errors

 

umping stack 3277396:
[12/18/2013 - 07:28:02PM] Frame count: 2 (Page count: 1)
[12/18/2013 - 07:28:02PM] State: Waiting on latent function (Freeze state: Freezing)
[12/18/2013 - 07:28:02PM] Type: Normal
[12/18/2013 - 07:28:02PM] Return register: False
[12/18/2013 - 07:28:02PM] Has stack callback: No
[12/18/2013 - 07:28:02PM] Stack trace:
[12/18/2013 - 07:28:02PM] .utility.Wait() - "" Line ?
[12/18/2013 - 07:28:02PM] IP: 0
[12/18/2013 - 07:28:02PM] [param1]: 2.000000
[12/18/2013 - 07:28:02PM] [ (00108FBB)].critterSpawn01.OnLoad() - "CritterSpawn.psc" Line 48
[12/18/2013 - 07:28:02PM] IP: 134 Instruction: 5 Line: 48
[12/18/2013 - 07:28:02PM] [::temp0]: True
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] Dumping stack 3277350:
[12/18/2013 - 07:28:02PM] Frame count: 2 (Page count: 1)
[12/18/2013 - 07:28:02PM] State: Waiting on latent function (Freeze state: Freezing)
[12/18/2013 - 07:28:02PM] Type: Normal
[12/18/2013 - 07:28:02PM] Return register: False
[12/18/2013 - 07:28:02PM] Has stack callback: No
[12/18/2013 - 07:28:02PM] Stack trace:
[12/18/2013 - 07:28:02PM] .utility.Wait() - "" Line ?
[12/18/2013 - 07:28:02PM] IP: 0
[12/18/2013 - 07:28:02PM] [param1]: 2.000000
[12/18/2013 - 07:28:02PM] [ (00108FBE)].critterSpawn01.OnLoad() - "CritterSpawn.psc" Line 48
[12/18/2013 - 07:28:02PM] IP: 134 Instruction: 5 Line: 48
[12/18/2013 - 07:28:02PM] [::temp0]: True
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] Dumping stack 3281789:
[12/18/2013 - 07:28:02PM] Frame count: 2 (Page count: 1)
[12/18/2013 - 07:28:02PM] State: Running (Freeze state: Freezing)
[12/18/2013 - 07:28:02PM] Type: Normal
[12/18/2013 - 07:28:02PM] Return register: None
[12/18/2013 - 07:28:02PM] Has stack callback: No
[12/18/2013 - 07:28:02PM] Stack trace:
[12/18/2013 - 07:28:02PM] [ (FF000994)].Actor.AddToFaction() - "Actor.psc" Line 569
[12/18/2013 - 07:28:02PM] IP: 0 Instruction: 0 Line: 569
[12/18/2013 - 07:28:02PM] [akFaction]: [Faction < (6803D3F3)>]
[12/18/2013 - 07:28:02PM] [::temp17]: False
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] [ (680588D0)].PF_TweakFollowerSandboxChatt_020588D0.Fragment_0() - "PF_TweakFollowerSandboxChatt_020588D0.psc" Line 8
[12/18/2013 - 07:28:02PM] IP: 0 Instruction: 0 Line: 8
[12/18/2013 - 07:28:02PM] [akActor]: [Actor < (FF000994)>]
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] Dumping stack 3277441:
[12/18/2013 - 07:28:02PM] Frame count: 2 (Page count: 1)
[12/18/2013 - 07:28:02PM] State: Waiting on latent function (Freeze state: Freezing)
[12/18/2013 - 07:28:02PM] Type: Normal
[12/18/2013 - 07:28:02PM] Return register: False
[12/18/2013 - 07:28:02PM] Has stack callback: No
[12/18/2013 - 07:28:02PM] Stack trace:
[12/18/2013 - 07:28:02PM] .utility.Wait() - "" Line ?
[12/18/2013 - 07:28:02PM] IP: 0
[12/18/2013 - 07:28:02PM] [param1]: 2.000000
[12/18/2013 - 07:28:02PM] [ (00108FB4)].critterSpawn01.OnLoad() - "CritterSpawn.psc" Line 48
[12/18/2013 - 07:28:02PM] IP: 134 Instruction: 5 Line: 48
[12/18/2013 - 07:28:02PM] [::temp0]: True
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] Dumping stack 3101681:
[12/18/2013 - 07:28:02PM] Frame count: 4 (Page count: 2)
[12/18/2013 - 07:28:02PM] State: Waiting on latent function (Freeze state: Freezing)
[12/18/2013 - 07:28:02PM] Type: Normal
[12/18/2013 - 07:28:02PM] Return register: -12084.621094
[12/18/2013 - 07:28:02PM] Has stack callback: No
[12/18/2013 - 07:28:02PM] Stack trace:
[12/18/2013 - 07:28:02PM] .utility.Wait() - "" Line ?
[12/18/2013 - 07:28:02PM] IP: 0
[12/18/2013 - 07:28:02PM] [param1]: 5.000000
[12/18/2013 - 07:28:02PM] [ (FF000DE3)]._APBTestBirdScript01.Heartbeat() - "_APBTestBirdScript01.psc" Line ?
[12/18/2013 - 07:28:02PM] IP: 6454 Instruction: 199
[12/18/2013 - 07:28:02PM] [idlecount]: 0
[12/18/2013 - 07:28:02PM] [::temp28]: True
[12/18/2013 - 07:28:02PM] [::temp29]: None
[12/18/2013 - 07:28:02PM] [::temp30]: False
[12/18/2013 - 07:28:02PM] [::temp31]: None
[12/18/2013 - 07:28:02PM] [::temp32]: None
[12/18/2013 - 07:28:02PM] [::temp33]: 5.000000
[12/18/2013 - 07:28:02PM] [::temp34]: -11618.438477
[12/18/2013 - 07:28:02PM] [::temp37]: 0
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] [::temp35]: True
[12/18/2013 - 07:28:02PM] [::temp36]: [Cell ]
[12/18/2013 - 07:28:02PM] [::temp38]: True
[12/18/2013 - 07:28:02PM] [bSleepCheck]: False
[12/18/2013 - 07:28:02PM] [::temp39]: True
[12/18/2013 - 07:28:02PM] [::temp40]: False
[12/18/2013 - 07:28:02PM] [::temp41]: False
[12/18/2013 - 07:28:02PM] [::temp42]: -12134.621094
[12/18/2013 - 07:28:02PM] [::temp43]: False
[12/18/2013 - 07:28:02PM] [iTest]: 0
[12/18/2013 - 07:28:02PM] [::temp44]: None
[12/18/2013 - 07:28:02PM] [Enemy]: [_APBTestBirdScript01 < (FF000DE3)>]
[12/18/2013 - 07:28:02PM] : 0
[12/18/2013 - 07:28:02PM] [ (FF000DE3)]._APBTestBirdScript01.InitBird() - "_APBTestBirdScript01.psc" Line 228
[12/18/2013 - 07:28:02PM] IP: 1254 Instruction: 33 Line: 228
[12/18/2013 - 07:28:02PM] [::temp22]: 0.800000
[12/18/2013 - 07:28:02PM] [::temp23]: True
[12/18/2013 - 07:28:02PM] [::temp24]: [ObjectReference < (FF00127B)>]
[12/18/2013 - 07:28:02PM] [::temp25]: False
[12/18/2013 - 07:28:02PM] [::temp26]: [sTATIC < (2100F06E)>]
[12/18/2013 - 07:28:02PM] [::temp27]: False
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] [ (FF000DE3)]._APBTestBirdScript01.OnUpdate() - "_APBTestBirdScript01.psc" Line 198
[12/18/2013 - 07:28:02PM] IP: 106 Instruction: 3 Line: 198
[12/18/2013 - 07:28:02PM] [::temp20]: 0.930000
[12/18/2013 - 07:28:02PM] [::temp21]: ""
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] Dumping stack 3277444:
[12/18/2013 - 07:28:02PM] Frame count: 2 (Page count: 1)
[12/18/2013 - 07:28:02PM] State: Waiting on latent function (Freeze state: Freezing)
[12/18/2013 - 07:28:02PM] Type: Normal
[12/18/2013 - 07:28:02PM] Return register: False
[12/18/2013 - 07:28:02PM] Has stack callback: No
[12/18/2013 - 07:28:02PM] Stack trace:
[12/18/2013 - 07:28:02PM] .utility.Wait() - "" Line ?
[12/18/2013 - 07:28:02PM] IP: 0
[12/18/2013 - 07:28:02PM] [param1]: 2.000000
[12/18/2013 - 07:28:02PM] [ (00108FB7)].critterSpawn01.OnLoad() - "CritterSpawn.psc" Line 48
[12/18/2013 - 07:28:02PM] IP: 134 Instruction: 5 Line: 48
[12/18/2013 - 07:28:02PM] [::temp0]: True
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] Dumping stack 3101794:
[12/18/2013 - 07:28:02PM] Frame count: 4 (Page count: 2)
[12/18/2013 - 07:28:02PM] State: Waiting on latent function (Freeze state: Freezing)
[12/18/2013 - 07:28:02PM] Type: Normal
[12/18/2013 - 07:28:02PM] Return register: 0
[12/18/2013 - 07:28:02PM] Has stack callback: No
[12/18/2013 - 07:28:02PM] Stack trace:
[12/18/2013 - 07:28:02PM] .utility.Wait() - "" Line ?
[12/18/2013 - 07:28:02PM] IP: 0
[12/18/2013 - 07:28:02PM] [param1]: 5.000000
[12/18/2013 - 07:28:02PM] [ (FF001275)]._APBTestBirdScript01.Heartbeat() - "_APBTestBirdScript01.psc" Line ?
[12/18/2013 - 07:28:02PM] IP: 6454 Instruction: 199
[12/18/2013 - 07:28:02PM] [idlecount]: 1
[12/18/2013 - 07:28:02PM] [::temp28]: True
[12/18/2013 - 07:28:02PM] [::temp29]: None
[12/18/2013 - 07:28:02PM] [::temp30]: True
[12/18/2013 - 07:28:02PM] [::temp31]: None
[12/18/2013 - 07:28:02PM] [::temp32]: None
[12/18/2013 - 07:28:02PM] [::temp33]: 5.000000
[12/18/2013 - 07:28:02PM] [::temp34]: -8545.445313
[12/18/2013 - 07:28:02PM] [::temp37]: 0
[12/18/2013 - 07:28:02PM] [::NoneVar]: None
[12/18/2013 - 07:28:02PM] [::temp35]: True
[12/18/2013 - 07:28:02PM] [::temp36]: [Cell ]
[12/18/2013 - 07:28:02PM] [::temp38]: False
[12/18/2013 - 07:28:02PM] [bSleepCheck]: True
[12/18/2013 - 07:28:02PM] [::temp39]: True
[12/18/2013 - 07:28:02PM] [::temp40]: False
[12/18/2013 - 07:28:02PM] [::temp41]: True
[12/18/2013 - 07:28:02PM] [::temp42]: -8508.119141
[12/18/2013 - 07:28:02PM] [::temp43]: True
[12/18/2013 - 07:28:02PM] [iTest]: -1
[12/18/2013 - 07:28:02PM] [::temp44]: None
[12/18/2013 - 07:28:02PM] [Enemy]: [Actor < (42034C94)>]

 

Link to comment
Share on other sites

hmm seems that installing this is GIVING me lotsa errors

You have Stack Thrashing. Read here. Either your iMaxAllocatedMemoryBytes setting has been set to an insane value, or if it is at default, try increasing it a little (eg. up to about 10x the default value, but don't overdo it). Edited by steve40
Link to comment
Share on other sites

  • 2 months later...

Sorry to revive this but I'd like to know if this script is still useful along with the others you made when starting a new game. The ones I'm talking about are:

 

Critters
dunBluePalaceArenaSCRIPT
fxDustDropRandomSCRIPT)

lvlpredator

 

Reason I'm asking is that i see there are conflicts with Unofficial skyrim patch, so maybe they are using your fixes/added the same fixes?

Edited by DenVildeHest
Link to comment
Share on other sites

I had a lot of critter related errors in my papyrus log before i tried the scripts the OP provided. I copied the lot into the folders mentioned, however that exacerbated the problem . I then removed all those scripts and only copied the ones mentioned as errors in my logs, into the appropiate folders. The errors related to those scripts disappeared. So for me only copying the ones mentioned in the log seem to help fix the issue. Hope this helps someone.

Btw does anyone know if the latest USKP actually has these scripts now?? (if it does sure didnt help me).

Link to comment
Share on other sites

  • 2 weeks later...

 

[03/11/2014 - 03:47:44PM] warning: Assigning None to a non-object variable named "::temp26"

stack:
[ (FF000A7B)].critterMoth.PickNextPlant() - "crittermoth.psc" Line 243
[ (FF000A7B)].critterMoth.WarpToNewPlant() - "crittermoth.psc" Line 307
[ (FF000A7B)].critterMoth.OnStart() - "crittermoth.psc" Line 68
[ (FF000A7B)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] error: Method CheckFor3D not found on critterMoth. Aborting call and returning None
stack:
[ (FF000A7B)].critterMoth.OnStart() - "crittermoth.psc" Line 74
[ (FF000A7B)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] warning: Assigning None to a non-object variable named "::temp3"
stack:
[ (FF000A7B)].critterMoth.OnStart() - "crittermoth.psc" Line 74
[ (FF000A7B)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] error: Argument variable "::PlayerRef_var" was not successfully looked up
stack:
[ (FF000B1E)].critterMoth.PickNextPlant() - "crittermoth.psc" Line 243
[ (FF000B1E)].critterMoth.WarpToNewPlant() - "crittermoth.psc" Line 307
[ (FF000B1E)].critterMoth.OnStart() - "crittermoth.psc" Line 68
[ (FF000B1E)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] warning: Assigning None to a non-object variable named "::temp26"
stack:
[ (FF000B1E)].critterMoth.PickNextPlant() - "crittermoth.psc" Line 243
[ (FF000B1E)].critterMoth.WarpToNewPlant() - "crittermoth.psc" Line 307
[ (FF000B1E)].critterMoth.OnStart() - "crittermoth.psc" Line 68
[ (FF000B1E)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] error: Method CheckFor3D not found on critterMoth. Aborting call and returning None
stack:
[ (FF000B1E)].critterMoth.OnStart() - "crittermoth.psc" Line 74
[ (FF000B1E)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] warning: Assigning None to a non-object variable named "::temp3"
stack:
[ (FF000B1E)].critterMoth.OnStart() - "crittermoth.psc" Line 74
[ (FF000B1E)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] error: Argument variable "::PlayerRef_var" was not successfully looked up
stack:
[ (FF000EE9)].critterMoth.PickNextPlant() - "crittermoth.psc" Line 243
[ (FF000EE9)].critterMoth.WarpToNewPlant() - "crittermoth.psc" Line 307
[ (FF000EE9)].critterMoth.OnStart() - "crittermoth.psc" Line 68
[ (FF000EE9)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] warning: Assigning None to a non-object variable named "::temp26"
stack:
[ (FF000EE9)].critterMoth.PickNextPlant() - "crittermoth.psc" Line 243
[ (FF000EE9)].critterMoth.WarpToNewPlant() - "crittermoth.psc" Line 307
[ (FF000EE9)].critterMoth.OnStart() - "crittermoth.psc" Line 68
[ (FF000EE9)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] error: Method CheckFor3D not found on critterMoth. Aborting call and returning None
stack:
[ (FF000EE9)].critterMoth.OnStart() - "crittermoth.psc" Line 74
[ (FF000EE9)].critterMoth.OnUpdate() - "Critter.psc" Line 270
[03/11/2014 - 03:47:44PM] warning: Assigning None to a non-object variable named "::temp3"
stack:
[ (FF000EE9)].critterMoth.OnStart() - "crittermoth.psc" Line 74
[ (FF000EE9)].critterMoth.OnUpdate() - "Critter.psc" Line 270

Same with CritterMoth.
First CTD after 1h30 of a fresh new game (1h30 it's not bad ^^).
I'm trying to put only the script for CritterMoth, if it doesn't work I tried another new party, and if it doesn't work for the same reason I'll be back ^^.
Link to comment
Share on other sites

  • 1 month later...
  • Recently Browsing   0 members

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