sidfu Posted August 9, 2014 Posted August 9, 2014 so basicaly was a typo lol. about to test it once i switch my enb and remove a few old mods
Halstrom Posted August 9, 2014 Author Posted August 9, 2014 so basicaly was a typo lol. about to test it once i switch my enb and remove a few old modsNo typo, was a mathematical screwup, basically: Set TokenCountDiff to NewTokenCount - CurrentTokenCount if TokenCountDiff > 0 <Add TokenCountDiff Tokens> endif if TokenCountDiff < 0 <Remove TokenCountDiff Tokens> endif in the second "if" I needed to add so I wasn't removing a negative amount of tokens: Set TokenCountDiff to (TokenCountDiff * -1)
sidfu Posted August 9, 2014 Posted August 9, 2014 just tested it and its fixed now. so what now something like how on skyrim the hentai preg where the children inherit traiits from the parents?
Halstrom Posted August 9, 2014 Author Posted August 9, 2014 just tested it and its fixed now. so what now something like how on skyrim the hentai preg where the children inherit traiits from the parents?Very complex to do that, it may never happen, got enough to do just finishing all the stuff currently in Preg, now with UDF's I can simplify a lot of things and reduce the number of scripts & tokens further.
Sleepy_Soul Posted August 9, 2014 Posted August 9, 2014 Script / token reduction might help me out a bit; seems that the Pregnancy v3 stable version v7.07.4 and later versions cause micro-stutter for me a few minutes into gameplay. I've managed to jury rig v6.26 script-wise to get rid of its previous bugs, so it's what I'm stuck with for the time being. Haven't heard any other reports of stuttering, so I'm chalking it up to a local prob and a massively sized / dated TTW save file.
jerrydrake Posted August 16, 2014 Posted August 16, 2014 Hello, I think that now my saves are screwed up a bit. I cannot manage anymore to empty the udf information exchanged by spunk and preg... is there a way to reset all the variables? I tried with a clean save (preg and spunk) but seems that the variables are not reset...May I ask you a bit of help?
Halstrom Posted August 16, 2014 Author Posted August 16, 2014 Hello, I think that now my saves are screwed up a bit. I cannot manage anymore to empty the udf information exchanged by spunk and preg... is there a way to reset all the variables? I tried with a clean save (preg and spunk) but seems that the variables are not reset...May I ask you a bit of help? The array data and NX_Variables are saved in a different file to the save game file by NVSE, so they don't clear with a clean save, you can find & delete that file, where ever it is, I've never looked for it. But before you try that SCR is set up to zero all Spunk /Pregnancy / Offspring / Drugging / Wear & Tear variables if it starts up and detects them no loaded after 20 seconds, so start the game with SCR enabled but not Spunk & Preg and that should clear them.
jaam Posted August 17, 2014 Posted August 17, 2014 Arrays will be deleted if you delete a save. NX variables won't but they cannot be reused without the original save unless you recreate a save with the same.
jerrydrake Posted August 17, 2014 Posted August 17, 2014 Ok, I followed your instructions and now the variables are ok. I.m still not able to have it working with spunk. All is ok if I disable sperm tracking in spunk. As soon as I enable it no more exchanges with preg occurs anymore. Think for now I will continue with it disabled...thanks!
SaotomeRanma Posted August 19, 2014 Posted August 19, 2014 Since the July versions of Pregnancy V3 I have massive problems with micro stuttering. The stutter appears from the load and get more and more after minutes. Using the Version 20140625 the micro stuttering appears after playing for hours. I tried a lot to solve the problem, with no results.
Halstrom Posted August 19, 2014 Author Posted August 19, 2014 Since the July versions of Pregnancy V3 I have massive problems with micro stuttering. The stutter appears from the load and get more and more after minutes. Using the Version 20140625 the micro stuttering appears after playing for hours. I tried a lot to solve the problem, with no results. Can't do a lot about that till I can reproduce the issue or others supply more information
jerrydrake Posted August 19, 2014 Posted August 19, 2014 I have a problem with the interaction between Spunk (7.2) and PregV3 (20140808.1). I've posted the request for help to doctasax in the spunk thread. It seems that spnk works ok but PregV3 fails to count any volume (even in presence of sperm). I've also made a clean save from all sexout mods but the problem is not solved. I do not know what could be the cause. May I ask you if there is some condition for first enabling of the count or it is supposed to start immediately after the first loading? Thanks, JD
SaotomeRanma Posted August 19, 2014 Posted August 19, 2014 Hello Halstrom! I finally can fix the cause of my problem and play over 2 hours without annoying lags. The cause is a missing "if iDoOnce" query in the script "SexoutP0SAddToList". [Version 20140707] ; *** if SexoutStore is loaded add stuff to Doctor & Nurse if (IsModLoaded "SexoutStore.esm") if iDoOnceXX < 1 Set iDoOnceXX to 1 Set iModIndex to GetModIndex "SexoutStore.esm" Set rNurseFormList to BuildRef iModIndex 5383 Set rDoctorFormList to BuildRef iModIndex 5380 AddFormToFormList rNurseFormList SexoutSCondom ; *** Nurse Vendor Formlist AddFormToFormList rNurseFormList SexoutSCondomFemale ; *** Nurse Vendor Formlist AddFormToFormList rNurseFormList SexoutS0Diaphram ; *** Doctor Vendor Formlist AddFormToFormList rNurseFormList SexoutSPDrugPreNatalVitamins ; *** Nurse Vendor Formlist AddFormToFormList rNurseFormList SexoutSPPregTestKit ; *** Nurse Vendor Formlist AddFormToFormList rDoctorFormList SexoutSPDrugPreNatalVitamins ; *** Doctor Vendor Formlist AddFormToFormList rDoctorFormList SexoutSPPregTestKit ; *** Nurse Vendor Formlist if SexoutP0QVAR.iDebug > 0 DebugPrint "Preg: AddToSexoutStoreFormLists OK" MessageEx "Preg: Stuff Added to SexoutStore OK" endif endif else Set iDoOnceXX to 0 Endif
Halstrom Posted August 20, 2014 Author Posted August 20, 2014 Hello Halstrom! I finally can fix the cause of my problem and play over 2 hours without annoying lags. The cause is a missing "if iDoOnce" query in the script "SexoutP0SAddToList". [Version 20140707] Hmm, weird because that script only runs once at every game start so shouldn't be causing any issues there's a debug message at the bottom that shows everytime it runs, I only use the iDoOnce's on the blocks that add to levelled lists as they remember what's added to them across game saves. The formlists clear on game end, so need to be repopulated, formlists also don't repeat things if you add something already in there, so they shouldn't be filling up. Only thing I can think of is the BuildRefs aren't setting up right and stuff is going to the wrong place. I just checked the BuidREF numbers are ok. And SCR has to start fully before it's added, so Store should be ready too by then 9 seconds after gsme start.
Halstrom Posted August 20, 2014 Author Posted August 20, 2014 I have a problem with the interaction between Spunk (7.2) and PregV3 (20140808.1). I've posted the request for help to doctasax in the spunk thread. It seems that spnk works ok but PregV3 fails to count any volume (even in presence of sperm). I've also made a clean save from all sexout mods but the problem is not solved. I do not know what could be the cause. May I ask you if there is some condition for first enabling of the count or it is supposed to start immediately after the first loading? Thanks, JD Looking at the Pregnancy debug messages in the Log in the Spunk thread you posted, I'm not seeing any debugging from the Fertility or Ova or SpermSynch scripts, does your actor have a Fertility Token and a SemenSynch Token? I'm assuming it did at some point to add the other scripts that are showing messages. The fertility scripts only run once every 30 game minutes too. So maybe we missed them in the debug. Is this actor an Android or anything non-human? Or Male?
jerrydrake Posted August 20, 2014 Posted August 20, 2014 Hello, Thank you. I have a standard Caucasian woman and in inventory I have both tokens. Regarding my problemI understood what follows: 1) if fertility is zero (i confirm that for me it is) there is no transfer from spunk. 2) fertility is updated with a low frequency task and it could be possible that it did not updated the value yet. I will therefore make the following: A) disable imp's timescale to avoid any problem on time; start the game and wait more than 30 minutes of game time without waiting (pressing T, I mean). On this point I consider game time the one that can be read on the pipboy (for example), in contrast with real time that is the time of my pc. C) see if fertility remains zero. D) report the results to you for further analysis. Is there something useful that I shall observe during the test? Thank you, JD
jerrydrake Posted August 20, 2014 Posted August 20, 2014 Ok, I made a very fast test and: 1) after half an hour of game time the fertility was around 20%. 2) still no transfer from spunk but I noted two variables reported in the console with the following values: FertMod = 0 and Ova = 0. My idea is that they could be the reason of my problem. How can I change them? Thank you, JD
Halstrom Posted August 20, 2014 Author Posted August 20, 2014 The formular for percentage of Sperm wriggling from Vagina to womb is based on fFert := ((NX_GETEVFL "SOP:fFertLevelPerc") + (10 * (NX_GETEVFL "SOP:iCurrNumOva"))) / 2 or something similar and Spunk takes 10 minutes of real time to update this. You need to look at FertLevel or FL, FertMod is just the modifier from drugs etc. Remember FertCyclePerc is where you are in the cycle, 20% doesn't necessarily mean an actor is fertile, Fert level percent is the current fertility and chance of producing an Ova
jerrydrake Posted August 20, 2014 Posted August 20, 2014 Ok, I'm understanding a bit. You confirm that, if the value of the above expression is "0" (this means that both number of ova = 0 and FertL = 0) the medical scanner will not report any semen? Furthermore, if even only the FertLevel in the above equation is different from zero (positive or negative?) but let's say for our discussion strictly > 0, the medical scanner will report the semen. And again, since I'm starting a game immediately after the complete sexout clean save, I have to wait at least 10 minutes of real time - the clock time of my PC, real-life time (I'll go out for a coffe) - before spunk will start reporting the semen to pregV3 since at start will consider fertLevel = 0, I suppose. Is all the above correct? Sorry to bother you but I think it is important to understand all the above constraints and timings in order to detect if I have a savegame problem or everything is working properly (I would suggest to report all these information somewhere so people will have a better understanding of the mechanics). Thank you again for your patience, JD
Halstrom Posted August 20, 2014 Author Posted August 20, 2014 Ok, I'm understanding a bit. You confirm that, if the value of the above expression is "0" (this means that both number of ova = 0 and FertL = 0) the medical scanner will not report any semen? Furthermore, if even only the FertLevel in the above equation is different from zero (positive or negative?) bt let's say now strictly > 0, the medical scanner will report the semen. And again, since I'm starting a game immediately after the complete sexout clean save, I have to wait at least 10 minutes of real time - the clock time of my PC, real-life time (I'll go out for a coffe) - before spunk will start reporting the semen to pregV3 since at start will consider fertLevel = 0, I suppose. Is all the above correct? Sorry to bother you but I think it is important to understand all the above constraints and timings in order to understand if I have a savegame problem or everithing is working properly (I would suggest to report all these information somewhere so people will have a better understanding of the mechanics). Thank you again for your patience, JD The Semen count is zeroed as soon as SpunkSperm is active, any SCR Semen tokens are removed, then it's calculated on the SpunkSperm count. It isn't effected by Fertility in any way. Yes, you need to wait of play for 10 real life minutes for Spunk to move the Sperm. At first new game start Fertility cycle percent is set randomly for all actors.
Odessa Posted August 25, 2014 Posted August 25, 2014 I'm getting stuttering issues every second or so, it appears to correspond to this line of debug: Preg2UDFSemenPregCount Odessa: Counting Done Semen 2, Preg 4
Halstrom Posted August 25, 2014 Author Posted August 25, 2014 I'm getting stuttering issues every second or so, it appears to correspond to this line of debug: Preg2UDFSemenPregCount Odessa: Counting Done Semen 2, Preg 4 Hmm I will have a look into that UDF and see if I can reduce it's run rate or find some issue, it does a lot of if's & bunch of GetItemCounts.
Odessa Posted August 25, 2014 Posted August 25, 2014 Hmm, I have some minor paranoia about GetItemCount. One other trivial thing: you typo'd natural a natrual in MCM:
Halstrom Posted August 26, 2014 Author Posted August 26, 2014 Hmm, I have some minor paranoia about GetItemCount. One other trivial thing: you typo'd natural a natrual in MCM: natrualtypo.jpg Cool, typo fixed, the mass of GetItemCounts is added to synch the Semen token counts for Breeder compatibility, I'm getting closer to this being another nail in the coffin for Breeder support, it's looking more like I need to Dump all Breeder support & just work exclusively on NX_Variables in this Spunk version of Pregnancy. Give this a go Update 20140826.1: Slowed down Fertility script from 199 to 499th scan Slowed down Semen Sync Script from 199 to 499th scan UDF'd Ova management out of Fertility script Adjustment to PregPercent Token management to update instantly rather than 1 token at a time Fix to Natrual typo SexoutPregnancyV3-20140826.1.zip
Odessa Posted August 28, 2014 Posted August 28, 2014 My pregnancy has stalled at 96%. SCOF attached, I also did Player.ShowVars, which prints the variables of all the tokens. I haven't done a clean save for a while and used several versions.. I have length set to 280 days though, so I'll be a little upset to lose the little fucker .
Recommended Posts