Jump to content

Help with a game crash


imajester

Recommended Posts

Posted

hullo all,

 

I have a game crash that I am hoping some genius here can help me solve. 

 

First off, I am playing Enderal and have SexLab installed and a couple other mods.  What I am seeing is that whenever an animation is played that has the player as the victim, the game crashes.  I tracked it down to this function in sslActorAlias:

 

function SetVictim(bool Victimize)
    Actor[] Victims = Thread.Victims
    ; Make victim
    if Victimize && (!Victims || Victims.Find(ActorRef) == -1)
        Victims = PapyrusUtil.PushActor(Victims, ActorRef)
        Thread.Victims = Victims
        Thread.IsAggressive = true
    ; Was victim but now isn't, update thread
    elseIf IsVictim && !Victimize
        Victims = PapyrusUtil.RemoveActor(Victims, ActorRef)
        Thread.Victims = Victims
        if !Victims || Victims.Length < 1
            Thread.IsAggressive = false
        endIf
    endIf
    IsVictim = Victimize
endFunction

specifically the line:

 

Victims = PapyrusUtil.PushActor(Victims, ActorRef)

 

Catching it in the debugger shows me that PapyrusUtil.PushActor is null.

 

I have reinstalled the game, the mods, manually installed PapyrusUtils, ran vcredist_x86.exe just about everything I can think of but I still get the crash when the player is the victim.  No crash if I use MatchMaker or when I comment out that single line.

 

God I hope someone has an idea, I don't have anymore.

 

 

Edit:

 

Actually, I am not sure I am correct that PushActor is null....this is the code that is failing....obviously what EAX is pointing to has a null entry....

 

image.png.729687c6e540e4aa7c0c004ba7fe1fa4.png

 

 

Archived

This topic is now archived and is closed to further replies.

  • Recently Browsing   0 members

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