jerrydrake Posted March 1, 2014 Posted March 1, 2014 Hello,Sorry if I open a new thread for this but I've searched in the forum for this problem. I've found some people reporting it (also for older versions) but no answer on the problem (or I lost it in the big amount of posts that were following)...I've tried several times to reset my player diary in SL1.39 but without success.I was wondering if it is a corruption of my save game or it is a known problem of SL.I would also know if the re is a workaround (like console command or other procedure) to reset the player stats not using MCM.Edit 1: Ok, I used creation kit and modified a bit two files in the script sources, recompiled and now it works like a charm.Here are the details of my modifications: In sslActorStats.psc from line 520 I've added the reset of LastSex stats: function _ClearStats() SetFloat(PlayerRef, "LastSex.GameTime", 0.0) SetFloat(PlayerRef, "LastSex.RealTime", 0.0) SetFloat(PlayerRef, "TimeSpent", 0.0) SetFloat(PlayerRef, "Purity", 0.0) SetInt(PlayerRef, "Males", 0) SetInt(PlayerRef, "Females", 0) SetInt(PlayerRef, "Creatures", 0) SetInt(PlayerRef, "Masturbation", 0) SetInt(PlayerRef, "Anal", 0) SetInt(PlayerRef, "Vaginal", 0) SetInt(PlayerRef, "Oral", 0) SetInt(PlayerRef, "Victim", 0) SetInt(PlayerRef, "Aggressor", 0) string[] StrDel1 StatName = StrDel1 string[] StrDel2 StatValue = StrDel2 string[] StrDel3 StatPrepend = StrDel3 string[] StrDel4 StatAppend = StrDel4 SendModEvent("SexLabRegisterStats") endFunction And then, in sslConfigMenu from line 1246 I've modified the event ResetPlayerSexStats to call the service _ClearStats before recomputing the ststistics on purity: state ResetPlayerSexStats event OnSelectST() if ShowMessage("$SSL_WarnResetStats") Stats._ClearStats() Stats._Setup() Debug.Notification("$SSL_RunResetStats") endIf endEvent endState Hereafter is the patch I've made for it. Tested and working...Enjoy,JD SexLabFramework.v139 - Fix for Stats cleaning.zip
Recommended Posts
Archived
This topic is now archived and is closed to further replies.