DeepBlueFrog Posted December 9, 2013 Posted December 9, 2013 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?
Ashal Posted December 9, 2013 Posted December 9, 2013 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.
DeepBlueFrog Posted December 9, 2013 Author Posted December 9, 2013 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.
Ashal Posted December 9, 2013 Posted December 9, 2013 SexLab 1.30 already does this check automatically.
DeepBlueFrog Posted December 9, 2013 Author Posted December 9, 2013 SexLab 1.30 already does this check automatically. I guess I will just have to be patient then Thanks again
DeepBlueFrog Posted December 10, 2013 Author Posted December 10, 2013 Unfortunately, removing the player from the faction wasn't enough at fixing it. I am still getting the -10 status.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.