RimWorld

RimWorld

[CZK] Sex Matters
 This topic has been pinned, so it's probably important
CitizenKanye  [developer] Oct 18, 2021 @ 2:38am
Bug reports
Leave any reports on bugs and errors here

Post error logs if problem is related to red errors
Last edited by CitizenKanye; Oct 18, 2021 @ 2:40am
< >
Showing 1-15 of 40 comments
Macropod Oct 18, 2021 @ 8:50am 
I don't get any mood modifiers at all, even when starting a new game. Perhaps this is a conflict with another mod. What changes should the mod make to the game for such a conflict to arise?
CitizenKanye  [developer] Oct 18, 2021 @ 9:03am 
Originally posted by Macropod:
I don't get any mood modifiers at all

1. Check if you're updated to the latest version of the mod. This was a problem before the last update
2. Check if the male pawns you have are in relationships or have one of the nullifying traits (gay, psychopath, etc.) That's the most likely cause, but then it's working as intended.
3. If nothing else works and this really is cause by some sort of mod incompatibility, then check your precepts. If the female presence precept is missing something is wrong
BeauJet Oct 19, 2021 @ 4:22am 
No red errors; CTD occurs if RJW and Sex Matters are in the same load order; strangely only if Sex Matters is loaded before RJW.

I'm sure the major conflict is between them, as I spent a hour or so moving/ removing mods in an attempt to figure the problem out, and had a stable mod order before adding it.

And finally discovered Sex Matters seems to not like RJW, to a serious level.

It does, however, work when I move it below RJW and its related mods, being near dead last on my load order. I'm suspecting this has something to do with pawn behavior/ mood modifications done by RJW, and whatever it changes that Sex Matters touches on base game,(Could be wrong), which leads to Sex Matters breaking if loaded before it.

Though, I'm confused as to why it does a hard crash. I don't get a crash log. At least I don't think so, cause I can't find it.

On a more clear note, the crash happens after Pawns decide to make love, occurring towards the very end. I'll provide a hugs log if needed for a full mod list.

Just wanted to let you know about the conflict.
CitizenKanye  [developer] Oct 19, 2021 @ 7:34am 
Originally posted by beaujet:
No red errors; CTD occurs if RJW and Sex Matters are in the same load order; strangely only if Sex Matters is loaded before RJW.

Did some tests with various load orders and features of RJW but couldn't replicate any crashes or errors. Sex Matters doesn't use any code structures that aren't already in vanilla as far as I'm aware. The moodlet and hediff appliers work like any other. I thought about it for a while but have no idea where there might be overlap causing the two mods to directly conflict with each other.
Last edited by CitizenKanye; Oct 19, 2021 @ 7:37am
Slyuxx Oct 19, 2021 @ 1:39pm 
RJW specifically asks that it and its sub-mods be last in the mod order (with the exception of Rocketman and other performance or simple/text mods). So likely speaking this is not so much a Sex Matters and RJW issue, more a RJW load order issue. Loading most any mod after RJW is often not going to end well.
Last edited by Slyuxx; Oct 19, 2021 @ 1:41pm
BeauJet Oct 19, 2021 @ 4:08pm 
Originally posted by Slyuxx:
RJW specifically asks that it and its sub-mods be last in the mod order (with the exception of Rocketman and other performance or simple/text mods). So likely speaking this is not so much a Sex Matters and RJW issue, more a RJW load order issue. Loading most any mod after RJW is often not going to end well.

Yea I'm aware, so I'm kinda stumped by why it was occurring, as my RJW related mods were dead last in my list. Who knows, maybe something isn't right despite it being ''stable'' in all my testing when I first put my modlist together. And I placed a mod where it shouldn't be.

I'll try to look into it again, and see if it occurs more.

Because whatever it is, it's a ugly conflict being sparked alive. Hell, I should get a hughs log and present my load order so you guys could point out my stupid mistake.

Anyhow, again, this only happens when I attempted to load Sex Matters before all RJW mods(Like it should be). Loading it after all RJW mods, seems to remove the crash. Very strange. Maybe I'm dead wrong about what's conflicting with it. Which is going to be annoying if it is, as I don't really know what it could be.



Non less, I love this mod, and what changes it brings. Citizen Kanye, keep it up.
Slyuxx Oct 19, 2021 @ 7:09pm 
Originally posted by beaujet:
Originally posted by Slyuxx:
RJW specifically asks that it and its sub-mods be last in the mod order (with the exception of Rocketman and other performance or simple/text mods). So likely speaking this is not so much a Sex Matters and RJW issue, more a RJW load order issue. Loading most any mod after RJW is often not going to end well.

Yea I'm aware...
Have you got everything up to date with RJW? It had a major update a little bit ago, and the 1.3 update may have tossed some things around. Personally I have my Sex Matters loaded before my RJW, without issue might I add. Could there be other mods in between the two or are they literally one right before the other? Please and thank you for your mod order.
BeauJet Oct 20, 2021 @ 1:32am 
Originally posted by Slyuxx:
Originally posted by beaujet:

Yea I'm aware...
Have you got everything up to date with RJW? It had a major update a little bit ago, and the 1.3 update may have tossed some things around. Personally I have my Sex Matters loaded before my RJW, without issue might I add. Could there be other mods in between the two or are they literally one right before the other? Please and thank you for your mod order.


Honestly, everything that's after Sex Matters---is purely RJW related. Asides Babies and Children, Rocketman, Runtime GC, Complex Jobs, Research Pal Forked, and What's That Mod. Pretty confused on what was causing it.

Here's a Hughs Log for my load order: [[[https://gist.github.com/1f18f46630696d45e0ccc4fe67246b90]]]

Quite frankly, I don't use too many complex mods; best I could suggest, maybe it's got something to do with a patching related task.

Currently testing a new run, going to see if I can go a full hour, or longer without a crash.

Slyuxx Oct 20, 2021 @ 3:05am 
Babies and Children and Complex jobs should both probably be loaded before RJW in the list. My Sex Matters is almost in the middle of my load order, so try moving it closer to the beginning. Also it seems you're getting some DirectX 11 errors; probably unrelated though it can't hurt to update your DirectX drivers.

I can look more into this later, though I'm no substitute for the real deal (the mod makers themselves).
Last edited by Slyuxx; Oct 20, 2021 @ 3:07am
CitizenKanye  [developer] Oct 20, 2021 @ 3:54am 
Originally posted by beaujet:
Here's a Hughs Log for my load order:
I think I know what might be causing problems. Delete the Sex Matters mod folder and install it again. There's a leftover assembly that no longer has to be there.
Last edited by CitizenKanye; Oct 20, 2021 @ 3:57am
Macropod Oct 20, 2021 @ 12:05pm 
1.
Mod settings are not saved after exiting the game. After entering the game, you must press the "Apply settings" button. If this is not done, then there will be an equal share of women and men in the raids.

2.
An exception must be made for the Revia race in the raid spawn.
https://steamcommunity.com/sharedfiles/filedetails/?id=2020041005
This race consists only of women, men of this race are not provided for by the mod. Although, according to the author, sometimes, for unknown reasons, men of the Revia race do appear in small numbers, this is the result of the imperfection of the mod.
Therefore, in the raids of factions of this race, men should not be.
BeauJet Oct 20, 2021 @ 6:21pm 
Originally posted by CitizenKanye:
Originally posted by beaujet:
Here's a Hughs Log for my load order:
I think I know what might be causing problems. Delete the Sex Matters mod folder and install it again. There's a leftover assembly that no longer has to be there.

I'm not sure what it did, but things to seem to be working now. Loading before RJW. No errors have been encountered during my first 15 minutes of gameplay, and even tested this for loving which did not give, nor commit a crash like last time. I'll update this in an hour or so; maybe sooner if things fall apart once more.

Compared to last time though, I'm not seeing errors for patching from Rocketman, and I'm not getting a whole bunch of exception ticks. Deleting and reinstalling seems to have fixed it for now.

Edit: Able to play for more than 1 hour, without crashing, let alone errors being thrown. It's working much better than before. I guess the assem left behind screwed up things in a really bad way, breaking all kinds of things. Thanks CitizenKanye.

And Slyuxx, I'm thankful for your attempts to help out.
Last edited by BeauJet; Oct 21, 2021 @ 1:05am
Interloper Oct 23, 2021 @ 1:02am 
There seems to be some kind of incompatibility with Android Tiers (or no, I'm not sure), despite them being non-human. High tiers still get the effect from Sex Matters [i.imgur.com], while low tiers get red text spamming infinitely in debug log, when I use dev mode:
Exception while recalculating GenderRatioOne thought state for pawn Roland: System.NullReferenceException: Object reference not set to an instance of an object at HediffApplier.ThoughtWorker_GenderRatio.CurrentThoughtState (Verse.Pawn p) [0x00057] in <5748ae54b0394a6e91b20e95b8fc7620>:0 at HediffApplier.ThoughtWorker_GenderRatio.CurrentStateInternal (Verse.Pawn p) [0x00017] in <5748ae54b0394a6e91b20e95b8fc7620>:0 at RimWorld.ThoughtWorker.CurrentState (Verse.Pawn p) [0x00000] in <b64badbf3c3d41018b3ca5d3e8c77771>:0 at (wrapper dynamic-method) RimWorld.SituationalThoughtHandler.RimWorld.SituationalThoughtHandler.TryCreateThought_Patch1(RimWorld.SituationalThoughtHandler,RimWorld.ThoughtDef) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39) Exception while recalculating GenderRatioTwo thought state for pawn Roland: System.NullReferenceException: Object reference not set to an instance of an object at HediffApplier.ThoughtWorker_GenderRatio.CurrentThoughtState (Verse.Pawn p) [0x00057] in <5748ae54b0394a6e91b20e95b8fc7620>:0 at HediffApplier.ThoughtWorker_GenderRatio.CurrentStateInternal (Verse.Pawn p) [0x00017] in <5748ae54b0394a6e91b20e95b8fc7620>:0 at RimWorld.ThoughtWorker.CurrentState (Verse.Pawn p) [0x00000] in <b64badbf3c3d41018b3ca5d3e8c77771>:0 at (wrapper dynamic-method) RimWorld.SituationalThoughtHandler.RimWorld.SituationalThoughtHandler.TryCreateThought_Patch1(RimWorld.SituationalThoughtHandler,RimWorld.ThoughtDef) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39) Exception while recalculating GenderRatioThree thought state for pawn Roland: System.NullReferenceException: Object reference not set to an instance of an object at HediffApplier.ThoughtWorker_GenderRatio.CurrentThoughtState (Verse.Pawn p) [0x00057] in <5748ae54b0394a6e91b20e95b8fc7620>:0 at HediffApplier.ThoughtWorker_GenderRatio.CurrentStateInternal (Verse.Pawn p) [0x00017] in <5748ae54b0394a6e91b20e95b8fc7620>:0 at RimWorld.ThoughtWorker.CurrentState (Verse.Pawn p) [0x00000] in <b64badbf3c3d41018b3ca5d3e8c77771>:0 at (wrapper dynamic-method) RimWorld.SituationalThoughtHandler.RimWorld.SituationalThoughtHandler.TryCreateThought_Patch1(RimWorld.SituationalThoughtHandler,RimWorld.ThoughtDef) (Filename: C:\buildslave\unity\build\Runtime/Export/Debug/Debug.bindings.h Line: 39)
Is the problem on your side or on Android tiers? Is this critical or may be ignored? I really like the idea of your mod and don't want to choose between two :stress:
Last edited by Interloper; Oct 23, 2021 @ 1:03am
Slyuxx Oct 23, 2021 @ 1:58am 
So specifically 'high tiers' (T3 and up) are able to be included in the ideoligion due to them being intelligent enough to understand such concepts. So that's probably part of the disparity.
Basic androids have had their ideos set to "null" but seem to still attempt some thoughts. On pawn spawn basic androids can be included in ideos briefly before having it set to null, the error only occurs on the regular after this point.

It should be possible to patch the mod to disable the sex matters thoughts. Surrogates, T1's, and T2's already have a laundry list of disabled thoughts as they're supposed to be basic androids.
These keywords may help in developing a patch for android tiers: "IsBasicAndroidTier", "IgnoredThoughtsByBasicAndroids", "AndroidLike".

Optionally the thought could be removed from all androids on account that they are by definition machines and gender isn't really a thing (outside of gynoids but that's a whole 'nother thing). Android tiers also already has a pair of traits for humans: Loves Humanity & Hates Humanity. So Sex Matters applying here is moot in my opinion.
Last edited by Slyuxx; Oct 23, 2021 @ 4:43am
CitizenKanye  [developer] Oct 23, 2021 @ 1:43pm 
Originally posted by Interloper:
There seems to be some kind of incompatibility with Android Tiers
Going to look into this sometime next week. I agree with the solution Slyuxx suggested - simply disabling the thoughts for androids makes the most sense.
Last edited by CitizenKanye; Oct 23, 2021 @ 1:44pm
< >
Showing 1-15 of 40 comments
Per page: 1530 50