RimWorld

RimWorld

[OLD B18] Children, school and learning
This topic has been locked
Dylan  [developer] Dec 12, 2017 @ 2:48pm
Lovin Chances Investigation
Previously in the comments:

@SuperSchokoKeks - do you have Psychology installed aswell? I mean I didn't see any Problems but with that mod I noticed it aswell. I don't think that the mods disable something when they are both on, but who knows.

@Dylan - yeah I had first following mod order: Psychology, then children. because of less lovin' I swapped it to have it more like you, but still. I'm not sure what caused it. I have to look into your code to see that. While testing this in dev mode I don't find anything odd. If you changed something to the lovin' routine its possible it could stack, so less chance of lovin. for example going through two if-cases with 40% of having loving

@SuperSchokoKeks - Thanks for the infos, I only hook into it after its done not when the job is given and I also don't change those chances at all, but it seems I have to look through Psychology and maybe Birds&Bees again

@Dylan - okay, that's very strange. so it shouldn't happen at all - I mean less lovin'. I only use Children and Psychology no birds and bees. so the conflict has to be between this two. I have no idea, what can cause it. Something with lovin-ticks? Can they do lovin' while pregnant? if not then there's can be a issue, but you said, you did nothing to job-giving. If I'm in the mood I look into both mods, but I can't write in c# - I do know the basic-structure/syntax of programming and I don't know the structure of the core. I only read into a little bid. so don't think I find anything. If I can somehow help, I'll do it
< >
Showing 1-15 of 30 comments
Dylan  [developer] Dec 12, 2017 @ 2:52pm 
Its interesting that you don't use Birds&Bees, because that whould have been my only other theory, they both manipulate those chances. I just started a game with Hugslib, Children, Psychology and Prepare Carefully only and had 2 couples with relationships married and it worked right away, pretty hard to find out when there is no easy way to reproduce the problem
Dylan  [developer] Dec 12, 2017 @ 2:57pm 
I am also not sure that I could do anything about it even if we find out whats going on, I mean who knows maybe its a general problem (with Psychology only) but nobody paid attention before because it wasn't really important. What's for sure is that Psychology does its whole thing in the JobGiver routine and I do nothing there.
Last edited by Dylan; Dec 12, 2017 @ 2:58pm
Dylan  [developer] Dec 12, 2017 @ 3:00pm 
The age seems to be very relevant for how this is handled (In Psychology), so maybe one thing is to make all pawns 20 years old to eliminate one factor in testing. (My test-case above was like this)
Last edited by Dylan; Dec 12, 2017 @ 3:03pm
Btw. I use Prepare Carefully too. I have this issue since I use your Children-Mod. I find it very easy to reproduce. I started a new game, made 5 couples, made them tired and watch.. like porn. two nights the same couple got lovin'. the other 4 didn't. I'll test it again
Dylan  [developer] Dec 12, 2017 @ 3:13pm 
And with children off and the exact same people it is not a problem?
seems fine. most active was a couple with 36 and 46 year old and kinsey rating 0. I got a yellow debug message with children, which is lacking now. I'll test is now with children to reproduce this message

edit: I don't get any error message anymore.. strange. and loving seems fine for now. I can't see any pattern. well, I watch a little more and try some homosexuell people

edit2: with children again mainly 1 couple. one instance two, but 6 couple and no further bang
edit3: yeah. 9 days and 1 couple who lovin often and.. eh 1 couple once. and no other. looking into your mod folder shows only a .dll to disassemble, so I can't look further into it. It's just strange
edit4: how does pregnancy work? I'm kinda feel stupid for asking this question <.< Do should see its state in health instantly or show it up after some time?
edit5: oh I misunderstand your question.. jeez I should read what people write and not what I think they write ... I'm testing it again.
edit6: So i reloaded a savegame without children and.. yes A LOT of failure messages: https://gist.github.com/HugsLibRecordKeeper/367baf8dcf1a68473d2672fd81b64104 scroll down for the essential part. I get this a 1130 times and it keeps going. I think you should not remove the mod, if someone is pregnant
edit7: I tested it with the same pawns without children and it seems to work normal.. well except those errors
Last edited by SuperBritishQuokka; Dec 12, 2017 @ 5:58pm
Dylan  [developer] Dec 13, 2017 @ 9:32am 
Hm, yeah when you disassemble some of my code is under references in another assembly because I wrote some of it in VB.net and not ugly, semicolon ridden C# :D

Yeah nothing solid yet then on what/if/when somethings going on, I just may look into Psychology more and see if I can give an option to artifically turn up the chances of it to help out (and maybe also see if there is something going on when I am at those parts).
SuperBritishQuokka Dec 13, 2017 @ 10:53am 
I get it know, because pawns are more complex in psychology their think twice to have unprotected sex!!!!!!!!
SuperBritishQuokka Dec 15, 2017 @ 11:36am 
Did you change something with lovin' if someone is pregnant? My only couple, who do lovin' stopped do it while being pregnant. Interesting enough as long one of the partner was half potato (brain damage) no lovin' happen. After I healed him, everything goes back to normal for the couple
Dylan  [developer] Dec 15, 2017 @ 11:38am 
No, I only do things after it happenes nothing to influence or change when/if. It has to be another mod, or the base game itself.
SuperBritishQuokka Dec 15, 2017 @ 11:45am 
And you did nothing with the loverticks`?
Dylan  [developer] Dec 15, 2017 @ 11:52am 
I hang in GenerateRandomMinTicksToNextLovin after its done to generate the chance for pregnancy, I mean I could put in a debug option in the next version to completly disable that part to test if it makes a difference
SuperBritishQuokka Dec 15, 2017 @ 11:56am 
It's possible the minimum value gets to big for some reason, but I didn't see a unreasonable number while I was testing, but I don't really know what is a high value. I just saw 15k ticks has past/1 Day and the minimum was 4k. .. sadly I didn't watch it more closely
Dylan  [developer] Dec 15, 2017 @ 11:58am 
I will put the option in the next version, maybe we get some more info then ^^
SuperBritishQuokka Dec 15, 2017 @ 12:03pm 
hopefully. I post this bug in Psychology Compability thread and I'm hoping the dev can give some insights
< >
Showing 1-15 of 30 comments
Per page: 1530 50