边缘世界 RimWorld

边缘世界 RimWorld

Xenobionic Patcher
此主题已被锁定
RutraNickers 2019 年 11 月 19 日 下午 9:55
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()
最后由 RutraNickers 编辑于; 2019 年 11 月 19 日 下午 10:00
< >
正在显示第 1 - 11 条,共 11 条留言
SineSwiper  [开发者] 2019 年 11 月 20 日 上午 6:15 
Thanks. The full stack trace was useful. I think I have a fix.
SineSwiper  [开发者] 2019 年 11 月 20 日 上午 6:27 
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.
最后由 SineSwiper 编辑于; 2019 年 11 月 20 日 上午 6:28
RutraNickers 2019 年 11 月 20 日 上午 8:03 
引用自 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 2019 年 11 月 20 日 上午 8:12 
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
最后由 RutraNickers 编辑于; 2019 年 11 月 20 日 上午 8:17
SineSwiper  [开发者] 2019 年 11 月 20 日 下午 9:03 
Female Dra... Which race are these?
RutraNickers 2019 年 11 月 21 日 上午 8:13 
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
最后由 RutraNickers 编辑于; 2019 年 11 月 21 日 上午 8:19
RutraNickers 2019 年 11 月 21 日 上午 8:17 
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  [开发者] 2019 年 11 月 21 日 下午 8:16 
I have a few different fixes that may solve the problem. Can you try out the new DDL file on GitHub?
RutraNickers 2019 年 11 月 22 日 上午 11:03 
引用自 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  [开发者] 2019 年 11 月 22 日 下午 6:55 
Awesome! I'll put it out officially this weekend. Thanks for your testing!
[DMN N!] DamnitEbby 2019 年 12 月 3 日 下午 1:57 
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()
< >
正在显示第 1 - 11 条,共 11 条留言
每页显示数: 1530 50