[A16] Psychology (2017-5-14)

Started by System.Linq, August 19, 2016, 07:16:38 AM

Previous topic - Next topic

Danetta

I have a lot of mods installed, not sure what causing this.
Console spammed with this error just after starting new game.

Exception ticking Sanford: System.NullReferenceException: Object reference not set to an instance of an object
  at Psychology.Pawn_PsycheTracker.GetPersonalityRating (Psychology.PersonalityNodeDef def) [0x00000] in <filename unknown>:0
  at Psychology.Detour._NegativeInteractionUtility.NegativeInteractionChanceFactor (Verse.Pawn initiator, Verse.Pawn recipient) [0x00000] in <filename unknown>:0
  at RimWorld.InteractionWorker_Slight.RandomSelectionWeight (Verse.Pawn initiator, Verse.Pawn recipient) [0x00000] in <filename unknown>:0
  at RimWorld.Pawn_InteractionsTracker+<TryInteractRandomly>c__AnonStorey2F4.<>m__2BC (RimWorld.InteractionDef x) [0x00000] in <filename unknown>:0
  at Verse.GenCollection.TryRandomElementByWeight[InteractionDef] (IEnumerable`1 source, System.Func`2 weightSelector, RimWorld.InteractionDef& result) [0x00000] in <filename unknown>:0
  at RimWorld.Pawn_InteractionsTracker.TryInteractRandomly () [0x00000] in <filename unknown>:0
  at RimWorld.Pawn_InteractionsTracker.InteractionsTrackerTick () [0x00000] in <filename unknown>:0
  at Verse.Pawn.Tick () [0x00000] in <filename unknown>:0
  at Verse.TickList.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()


mesrune

Hello guy,

I have a little problem with the new feature (personnality), only three of my pawn are the new UI, the other pawn have the new tab, but he's dont have the information like (sensitive, etc...).
I think is prepare carefully the responsible of the bug, i create much than three pawn with him.

thanks!

PS : i'm french and i don't speak english perfectly.

System.Linq

Quote from: Danetta on January 29, 2017, 02:01:51 PM
I have a lot of mods installed, not sure what causing this.
Console spammed with this error just after starting new game.

Exception ticking Sanford: System.NullReferenceException: Object reference not set to an instance of an object
  at Psychology.Pawn_PsycheTracker.GetPersonalityRating (Psychology.PersonalityNodeDef def) [0x00000] in <filename unknown>:0
  at Psychology.Detour._NegativeInteractionUtility.NegativeInteractionChanceFactor (Verse.Pawn initiator, Verse.Pawn recipient) [0x00000] in <filename unknown>:0
  at RimWorld.InteractionWorker_Slight.RandomSelectionWeight (Verse.Pawn initiator, Verse.Pawn recipient) [0x00000] in <filename unknown>:0
  at RimWorld.Pawn_InteractionsTracker+<TryInteractRandomly>c__AnonStorey2F4.<>m__2BC (RimWorld.InteractionDef x) [0x00000] in <filename unknown>:0
  at Verse.GenCollection.TryRandomElementByWeight[InteractionDef] (IEnumerable`1 source, System.Func`2 weightSelector, RimWorld.InteractionDef& result) [0x00000] in <filename unknown>:0
  at RimWorld.Pawn_InteractionsTracker.TryInteractRandomly () [0x00000] in <filename unknown>:0
  at RimWorld.Pawn_InteractionsTracker.InteractionsTrackerTick () [0x00000] in <filename unknown>:0
  at Verse.Pawn.Tick () [0x00000] in <filename unknown>:0
  at Verse.TickList.Tick () [0x00000] in <filename unknown>:0
Verse.Log:Error(String)
Verse.TickList:Tick()
Verse.TickManager:DoSingleTick()
Verse.TickManager:TickManagerUpdate()
Verse.Game:Update()
Verse.Root_Play:Update()

Hmm, not sure. Trying going into your save file and deleting <psyche>...</psyche> and everything inbetween from Sanford.

Quote from: mesrune on January 29, 2017, 06:30:17 PM
Hello guy,

I have a little problem with the new feature (personnality), only three of my pawn are the new UI, the other pawn have the new tab, but he's dont have the information like (sensitive, etc...).
I think is prepare carefully the responsible of the bug, i create much than three pawn with him.

thanks!

PS : i'm french and i don't speak english perfectly.

Ouvrez votre fichier de sauvegarde et trouvez la ligne "<psyche>" sur votre colonisateur. Retirez-le et tout le reste jusqu'à ce que "</psyche>."

hwfanatic

This attending meeting thing is getting a bit out of hand. My best doctor is venting with the mayor, while his buddies are getting infections in the sick bay.

Madman666

Yeah, priority of the meeting should be a bit adjusted. Kinda strange seeing a pawn rushing the mayor's room without an arm, bleeding all over the floor. Could be valid if the mayor was a medic, I guess, but alas mine is absolutely worthless with medicine.

System.Linq

I've already pushed a fix for that to the Workshop, but I'm wary of releasing such frequent updates for this version, where people have to come and download it manually. I'd rather release bundles of fixes here.

Is it possible for you to click on your doctor and prioritize treating your wounded with him?

Madman666

Manual micromanagement works, but otherwise, they seem to neglect pretty much everything to go and have a few words with a mayor. Not critical, but somewhat incovenient if you tend to forget about it after a particularly nasty raid.

I don't think frequent bug squashes is bad... Redowloading can be annoying for some people, but the fixes are worth it in my opinion.

hwfanatic

I can prioritise my doctor to treat wounds. I shouldn't have to, though.  :)

Madman666

#413
Yeah - same - if you prioritize treating manually - he'll go and do it, but after all wounds are treated he'll immediately return to meeting, while usually he proceeds to feed the wounded person after treating him. Doctoring was on priority 1. They also can undraft themselves pretty quickly to attend a meeting and that can be actually quite nasty in certain circumstances, but maybe that was just my own inattentiveness and I left him without orders for too long, can't be sure.

System.Linq

Quote from: Madman666 on January 30, 2017, 05:50:45 PM
Manual micromanagement works, but otherwise, they seem to neglect pretty much everything to go and have a few words with a mayor. Not critical, but somewhat incovenient if you tend to forget about it after a particularly nasty raid.

I don't think frequent bug squashes is bad... Redowloading can be annoying for some people, but the fixes are worth it in my opinion.

If you think the fixes are worth it, subscribe to the mod on the Workshop! That's why I recommend people do it. I don't want to have to deal with a bunch of outdated versions when bug reports come in.

Quote from: Madman666 on January 30, 2017, 06:30:54 PM
Yeah - same - if you prioritize treating manually - he'll go and do it, but after all wounds are treated he'll immediately return to meeting, while usually he proceeds to feed the wounded person after treating him. Doctoring was on priority 1. They also can undraft themselves pretty quickly to attend a meeting and that can be actually quite nasty in certain circumstances.

Yes, the undrafting has been fixed. Meetings will be cancelled when you draft one of the pawns. That fix has just not been distributed to the forums here.

Quote from: hwfanatic on January 30, 2017, 06:14:59 PM
I can prioritise my doctor to treat wounds. I shouldn't have to, though.  :)

Visiting a meeting is a duty, and as with all duties, pawns prioritize them above normal work. If you want them to do something they don't prioritize, you have to tell them to prioritize it. Give your doctor more Work time if you want him to focus on his work. So yes, you should have to.

Techgenius

Whats the difference to using Romance diversified and the latest update? yeah, I see the big red letters in the Psych tab, but whose to use better now?

Madman666

#416
Thanks, I'll do just that. I used it from here because steam downloads and subscription\unsubscription mechanics can be a bit crazy at times.

I disagree about having to micromanage it though. Behavior, causing wounded fool spraying blood everywhere to go see a mayor first instead of telling a doctor to stitch his arm back is not that logical. As is with a doctor, who goes and does same thing, while his patients bleed out in hospital. And restricting more of their time to work is inconvenient, because raids, fires and other incidents often change their schedule and they skip their joy and sleep time. So I leave their time free save for sleep hours, so that they can have joy if they getting unhappy and sleep if they are tired.

System.Linq

Quote from: Techgenius on January 30, 2017, 06:38:11 PM
Whats the difference to using Romance diversified and the latest update? yeah, I see the big red letters in the Psych tab, but whose to use better now?

Please read the OP on Romance & Sexuality, you can use that information to decide for yourself which you want to use.

Techgenius

Quote from: Linq on January 30, 2017, 06:41:42 PM
Quote from: Techgenius on January 30, 2017, 06:38:11 PM
Whats the difference to using Romance diversified and the latest update? yeah, I see the big red letters in the Psych tab, but whose to use better now?

Please read the OP on Romance & Sexuality, you can use that information to decide for yourself which you want to use.

Honestly, I don't know Linq, Romance Diversified adds features such as debuffing disfigured negative moods and adds cultural attraction scales, casual hookups, and a 4th trait, while Psychology kinsey scale has this huge pool of variables to draw attraction from. Why the two can't coexist and supplement each other?

System.Linq

Because they perform the same role. Psychology's Kinsey scale supplants the 4th trait entirely, and might use it for something like Desensitized that would break with Romance Diversified. Psychology also models casual hookups with the personality system and the existing Lover relationship rather than a special job. Fluffy also has plans to allow cultural tweaking of personality variables, so cultural attraction scales would be modeled as well. One or the other, not both. You wouldn't put two sets of tires on your car's wheels.