Jump to content

SexLab.ValidateActor fails on PlayerRef


Recommended Posts

Posted

Somehow, many SexLab scenes in my game are failing because ValidateActor returning -10 for the player.

SexLab.ValidateActor( SexLab.PlayerRef ) = -10

This happens while the player is at rest, not in combat, not engaged in any activity.

 

I tried restarting animations using the housekeeping functions of SexLab... no results.

 

Do you know what can be causing ValidateActor to return -10 and how I can fix it?

 

Edit:

 

After reading this - http://git.loverslab.com/sexlab/framework/wikis/function-validateactor - it is clear the player is considered to be part of an active thread.

 

I suppose my question now is: how can I track down the thread currently 'stuck' and stop it?

Posted

Assuming you've run Clean & Rebuild, there is no stuck thread because that resets them all. So just remove yourself from the faction.

  • Open console in game
  • Type "help SexLabAnimatingFaction 4" without the quotes
  • Find the id of faction in the resulting list, should be xx0E50F, depending on load order.
  • Type "player.addtofaction xx0E50F -1" without the quotes, replace xx0E50F with the id of the mod found above, the -1 will remove them from faction so don't worry about the "addto"
  • Do stuff.
Posted

 

Assuming you've run Clean & Rebuild, there is no stuck thread because that resets them all. So just remove yourself from the faction.

  • Open console in game
  • Type "help SexLabAnimatingFaction 4" without the quotes
  • Find the id of faction in the resulting list, should be xx0E50F, depending on load order.
  • Type "player.addtofaction xx0E50F -1" without the quotes, replace xx0E50F with the id of the mod found above, the -1 will remove them from faction so don't worry about the "addto"
  • Do stuff.

 

 

Thanks. 

 

One last thing if you get to it.

 

Is there a way to detect by script that a thread went off tracks?

 

Like maybe test if the player belongs to that faction and < insert something else >.

 

Maybe another way to test if the player is not current engaged in a SexLab action that does not involve looking at the faction?

 

I would like to add some housekeeping to remove the player from the faction automatically if that happens again.

Archived

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

  • Recently Browsing   0 members

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