RimWorld

RimWorld

Xenobionic Patcher
This topic has been locked
RutraNickers 19 Nov, 2019 @ 9:55pm
Can't install bionic animal parts on my colonists
Medical/body parts related mods:
- Pharmacist
- Smart Medicine
- RBSE Normal Edition
- The Birds & The Bees
- QualitySurgeon
- Questionable Ethics Enhanced
- Androids
- [1.0]Android Tiers
- Call of Cthulhu - Cults
- Cyber Fauna 1.0


Here is the error I get when starting the game in Developer Mode:

[HugsLib][ERR] XenobionicPatcher caused an exception during OnDefsLoaded: System.NullReferenceException: Object reference not set to an instance of an object
at XenobionicPatcher.DefInjectors+<>c__DisplayClass1_2.<CleanupSurgeryRecipes>b__3 (Verse.ThingDef p) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Verse.ThingDef].MoveNext () [0x00000] in <filename unknown>:0
at Harmony.CollectionExtensions.Do[ThingDef] (IEnumerable`1 sequence, System.Action`1 action) [0x00000] in <filename unknown>:0
at XenobionicPatcher.DefInjectors.CleanupSurgeryRecipes (IEnumerable`1 surgeryList, IEnumerable`1 pawnList) [0x00000] in <filename unknown>:0
at XenobionicPatcher.Base.DefsLoaded () [0x00000] in <filename unknown>:0
at HugsLib.HugsLibController.OnDefsLoaded () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.HugsLibController:OnDefsLoaded()
HugsLib.HugsLibController:LoadReloadInitialize()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
Last edited by RutraNickers; 19 Nov, 2019 @ 10:00pm
< >
Showing 1-11 of 11 comments
SineSwiper  [developer] 20 Nov, 2019 @ 6:15am 
Thanks. The full stack trace was useful. I think I have a fix.
SineSwiper  [developer] 20 Nov, 2019 @ 6:27am 
Do you mind testing it out before I push out a new version? I have the compiled mod on GitHub already.

Go here[github.com] and hit Download. Move the downloaded DDL file, and replace the old one, at:

C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\1911273785\Assemblies

Or wherever Steam is installing your mods. (FYI, 294100 is RimWorld's steam ID and 1911273785 is Xenobionic Patcher's steam ID.)

Then restart RimWorld.
Last edited by SineSwiper; 20 Nov, 2019 @ 6:28am
RutraNickers 20 Nov, 2019 @ 8:03am 
Originally posted by SineSwiper:
Do you mind testing it out before I push out a new version? I have the compiled mod on GitHub already.

Go here[github.com] and hit Download. Move the downloaded DDL file, and replace the old one, at:

C:\Program Files (x86)\Steam\steamapps\workshop\content\294100\1911273785\Assemblies

Or wherever Steam is installing your mods. (FYI, 294100 is RimWorld's steam ID and 1911273785 is Xenobionic Patcher's steam ID.)

Then restart RimWorld.

That dll solved the starting error, but unfortunately I still can't put any animal parts in my colonists, not even a bionic animal leg that I installed in one of then some real life days ago, maybe it's something related with your last live patch?
RutraNickers 20 Nov, 2019 @ 8:12am 
those are some prints I took in my main game to give a little more context of my problem. All animal parts can be installed in animals though

xenobionic settings:
https://i.imgur.com/7UnozEA.jpg

example of animal part:
https://i.imgur.com/e3HZTvM.jpg

the surgery list of one of my colonists (that lung is a humanlike lung):
https://i.imgur.com/ALh1z9c.jpg

the mod priority list:
https://i.imgur.com/0s8YQXx.jpg
Last edited by RutraNickers; 20 Nov, 2019 @ 8:17am
SineSwiper  [developer] 20 Nov, 2019 @ 9:03pm 
Female Dra... Which race are these?
RutraNickers 21 Nov, 2019 @ 8:13am 
I have installed: Dragonian Race, Kurin Race and Ratkin Race (besides the Android ones cited above). The problem extends to the vanilla colonists too though
Last edited by RutraNickers; 21 Nov, 2019 @ 8:19am
RutraNickers 21 Nov, 2019 @ 8:17am 
oh yeah, for some reason I can't transplant vanilla arms into at least dragonians and kurins, probably because their original arms/hands have modded stats.
SineSwiper  [developer] 21 Nov, 2019 @ 8:16pm 
I have a few different fixes that may solve the problem. Can you try out the new DDL file on GitHub?
RutraNickers 22 Nov, 2019 @ 11:03am 
Originally posted by SineSwiper:
I have a few different fixes that may solve the problem. Can you try out the new DDL file on GitHub?

hell yeah, now it's working! Thanks for your time mate
SineSwiper  [developer] 22 Nov, 2019 @ 6:55pm 
Awesome! I'll put it out officially this weekend. Thanks for your testing!
It looks like I might be having some variation of this issue, still.

Surgery/Bionics Mods:

Pharmacist
A Dog Said...
QualitySurgeon
Android Tiers++ Extension
Chill Out, Body Purist
Genetic Rim (+Alpha Animals, Dinosauria, and Megafauna patches)
Glitter Tech
Harvest Everything!
Harvest Organs Post Mortem
Less Arbitrary Surgery
SF Priority Treatment
Sparkling Worlds - Full Mod
LBE's A Dog Said Easy Patcher
Spidercamp Dog Genetics Rim Patch
Ryndren Augmentations
Questionable Ethics Enhanced
Cybernetic Organism and Neural Network
EPOE
[EPOE] Craftable Power Claws
EPOE - Trader and Archotech patch
CyberNet
Crude Bionics
Medical Dissection
Drug Response
Medical System Expanded
Animal Cybernetics


Trace:

[HugsLib][ERR] XenobionicPatcher caused an exception during OnDefsLoaded: System.ArgumentNullException: Argument cannot be null.
Parameter name: key
at System.Collections.Generic.Dictionary`2[System.String,System.String].ContainsKey (System.String key) [0x00000] in <filename unknown>:0
at XenobionicPatcher.Helpers.SimplifyBodyPartLabel (System.String label) [0x00000] in <filename unknown>:0
at XenobionicPatcher.Helpers.DoesBodyPartMatch (Verse.BodyPartRecord bpr, System.String match) [0x00000] in <filename unknown>:0
at XenobionicPatcher.DefInjectors+<>c__DisplayClass0_3.<InjectSurgeryRecipes>b__5 (Verse.BodyPartRecord bpr) [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateWhereIterator>c__Iterator1D`1[Verse.BodyPartRecord].MoveNext () [0x00000] in <filename unknown>:0
at System.Linq.Enumerable+<CreateSelectIterator>c__Iterator10`2[Verse.BodyPartRecord,Verse.BodyPartDef].MoveNext () [0x00000] in <filename unknown>:0
at XenobionicPatcher.DefInjectors.InjectSurgeryRecipes (IEnumerable`1 surgeryList, IEnumerable`1 pawnList) [0x00000] in <filename unknown>:0
at XenobionicPatcher.Base.DefsLoaded () [0x00000] in <filename unknown>:0
at HugsLib.HugsLibController.OnDefsLoaded () [0x00000] in <filename unknown>:0
Verse.Log:Error(String, Boolean)
HugsLib.Utils.ModLogger:ReportException(Exception, String, Boolean, String)
HugsLib.HugsLibController:OnDefsLoaded()
HugsLib.HugsLibController:LoadReloadInitialize()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
Verse.LongEventHandler:<UpdateCurrentAsynchronousEvent>m__1()
< >
Showing 1-11 of 11 comments
Per page: 1530 50