Installer Steam
log på
|
sprog
简体中文 (forenklet kinesisk)
繁體中文 (traditionelt kinesisk)
日本語 (japansk)
한국어 (koreansk)
ไทย (thai)
Български (bulgarsk)
Čeština (tjekkisk)
Deutsch (tysk)
English (engelsk)
Español – España (spansk – Spanien)
Español – Latinoamérica (spansk – Latinamerika)
Ελληνικά (græsk)
Français (fransk)
Italiano (italiensk)
Bahasa indonesia (indonesisk)
Magyar (ungarsk)
Nederlands (hollandsk)
Norsk
Polski (polsk)
Português (portugisisk – Portugal)
Português – Brasil (portugisisk – Brasilien)
Română (rumænsk)
Русский (russisk)
Suomi (finsk)
Svenska (svensk)
Türkçe (tyrkisk)
Tiếng Việt (Vietnamesisk)
Українська (ukrainsk)
Rapporter et oversættelsesproblem
환경:
RimWorld 1.6.4566 rev607, XmlExtensions 1.7, AncotLibrary 최신,
Mechanoid Tweaks + DMS + Chougou + Milira + Wolfein
Ancot 자체는 잘 작동하지만, Tweaks가 이 노드를 찾지 못해 XML 에러가 계속 남습니다.
영문과 한글 모두 chatGPT를 사용하였습니다.
댓글을 여러개 작성하여 죄송합니다.
Ancot Library를 사용할 때 Mechanoid Tweaks(2880154462)에서
다음과 같은 XML 패치 실패 로그가 반복됩니다:
XmlExtensions.ForEachDescendant xpathParent='/Defs/ThingDef[@Name="BaseMechanoid"]'
Ancot Library가 기존 RimWorld/VFE의 BaseMechanoid 구조를 완전히 대체한 것 같으며,
그 결과 Tweaks처럼 해당 노드를 찾는 모드가 전부 실패합니다.
로드 순서를 Ancot 위로 올려도 마찬가지이며, 단순히 노드 자체가 존재하지 않는 상태입니다.
제안: Ancot Library 쪽에서 BaseMechanoid를 Ancot_MechanoidBase에 alias 형태로 연결하거나,
더미 추상 노드를 추가하면 완벽히 호환될 것 같습니다:
or provide an alias that resolves /Defs/ThingDef[@Name='BaseMechanoid']
for compatibility with mods expecting the vanilla structure.
Environment:
RimWorld 1.6.4566 rev607
Ancot Library (latest)
XmlExtensions v1.7
Mechanoid Tweaks (2880154462)
DMS, Chougou, Milira, Wolfein
Note:
This is not a crash — it’s a patch failure caused by XML node mismatch.
Ancot works fine otherwise, but the error floods the log and breaks compatibility with Tweaks.
Use chatGPT
What seems to happen:
Ancot Library appears to redefine or replace the vanilla/VFE “BaseMechanoid” ThingDef structure.
Because of this, any mod that searches for /Defs/ThingDef[@Name="BaseMechanoid"] (like Mechanoid Tweaks) can’t find the node and fails its patch operation.
Changing the load order (above or below Ancot) doesn’t help — the node simply doesn’t exist under Ancot’s XML schema.
Why it matters:
Ancot Library is increasingly used as the base for Milira, Wolfein, DMS Synthetic, etc.
Many mech-related balancing or QoL mods (like Mechanoid Tweaks) rely on the “BaseMechanoid” node.
A small compatibility alias or dummy BaseMechanoid def in Ancot could make it fully compatible.
Possible fix suggestion:
<ThingDef Name="BaseMechanoid" ParentName="Ancot_MechanoidBase" Abstract="True" />
Title: Compatibility issue with Mechanoid Tweaks – “BaseMechanoid” definition missing under Ancot Library
Description:
When using Ancot Library together with Mechanoid Tweaks (Steam ID: 2880154462),
the log shows repeated XML patch failures like this:
[Mechanoid Tweaks - Start of stack trace]
XmlExtensions.ForEachDescendant xpathParent='/Defs/ThingDef[@Name="BaseMechanoid"]'
[Mechanoid Tweaks] Patch operation XmlExtensions.ForEachDescendant failed
file: ...\2880154462\Patches\Patch.xml
Tried to use an uninitialized DefOf of type DamageDefOf. DefOfs are initialized right after all defs all loaded. Uninitialized DefOfs will return only nulls. (hint: don't use DefOfs as default field values in Defs, try to resolve them in ResolveReferences() instead)
多半不是什么冲突导致的问题,因为我把能拔掉的MOD全拔掉了只留下猫和米还是有这条黄字。另外只有这个库不会跳这个黄字,但是启用了绮罗和米之后,每打一个族多一条,都打了会多两个一摸一样的黄字。我想咨询一下,这个黄字没问题吗?我问DEEPSEEK说这黄字可能导致崩溃,如果没问题我就不管了
好像是SEC的东西和安科特的东西出问题了
有好长一大串文字,ai说是什么哈希值一样了
美狐星环那边我也去说了
Exception filling window for RimWorld.Dialog_BillConfig: System.NullReferenceException: Object reference not set to an instance of an object
[Ref 6564E97D]
at AncotLibrary.AncotBillDialogUtility+<>c__DisplayClass0_0.<GetMechRestrictionOptionsForBill>b__3 (Verse.Pawn pawn) [0x00000] in <8009fbae33e54deb80af200ae94a1db8>:0
at System.Linq.EnumerableSorter`2[TElement,TKey].ComputeKeys (TElement[] elements, System.Int32 count) [0x00010] in <1f993cbf88314b1baa1e10ca917bdc64>:0
at AncotLibrary.AncotBillDialogUtility+<GetMechRestrictionOptionsForBill>d__0.MoveNext () [0x00572] in <8009fbae33e54deb80af200ae94a1db8>:0
at Milira.MiliraPatch_MechRestrictionOptionsForBill+<Postfix>d__0.MoveNext () [0x0016e] in <3d6b02737c1b4480ab427240bb8dab95>:0
确实,我的小人到了太空地图就变成一块棕色的正方形,然后小人就卡在那里动不了。地图没有办法正常生成。
https://gist.github.com/HugsLibRecordKeeper/f0c86b01c53f75220b487bc789f5a8a4
AncotLibrary.ScenPart_StartDrones 类中,字段名称是 droneKind(小写开头),但在 XML 中使用了 DroneKind(大写开头)。
<li Class="AncotLibrary.ScenPart_StartDrones">
<def>Ancot_StartingDrone</def>
<DroneKind>Milira_DroneFreight</DroneKind> <!-- 错误的大小写 -->
<DroneAmount>2</DroneAmount> <!-- 可能也是错误的大小写 -->
</li>
该bug在仅仅依次加载了 Harmony,全dlc,Humanoid Alien Races,Ancot Library,Milira Race 的情况下仍能稳定复现。
穿戴其它的米莉拉衣物似乎不会触发该bug,至少瓦尔基里头盔和和代达罗斯头盔是这样的。
报错信息为:
Exception setting up dynamic nodes for 阿加特: System.MissingMethodException: Constructor on type 'AncotLibrary.PawnRenderNode_ApparelAddition' not found.
[Ref A29F926A]
令人奇怪的是,AncotLibrary.PawnRenderNode_ApparelAddition.ctor() 这一符号在mod的 .dll 文件中是存在的,由于本人并不了解 rimworld 的 mod 加载机制,所以无从提供更多信息了。
Would you mind fixing it :)
Exception loading def from file Apparel_ConceptWeaponry.xml: System.ArgumentException: Could not find type named AncotLibrary.CompProperties_WeaponAbility from node <li Class="AncotLibrary.CompProperties_WeaponAbility"><abilityDef>Milira_LaunchRocketSwarmInAreaA</abilityDef></li>
Parameter name: node
Could not resolve cross-reference to Verse.ThingDef named Milira_ConceptWeaponry_Paris (wanter=apparelList)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
Could not resolve cross-reference: No Verse.ThingDef named Milira_ConceptWeaponry_Paris found to give to AncotLibrary.CompProperties_AbilityCheckApparelReloadable AncotLibrary.CompProperties_AbilityCheckApparelReloadable
UnityEngine.StackTraceUtility:ExtractStackTrace ()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.ParseHelper:ParseType (string)
Verse.ParseHelper/Parsers`1/<>c__DisplayClass2_0<System.Type>:<Register>b__0 (string)
Verse.ParseHelper:FromString (string,System.Type)
(wrapper dynamic-method) Verse.DirectXmlToObjectNew/DummyTypeToHoldDynamicMethods:ParseAndSetComplexTypeField_System_Type (object,System.Reflection.FieldInfo,System.Xml.XmlNode,System.Type)
(wrapper dynamic-method)
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.ParseHelper:ParseType (string)
Verse.ParseHelper/Parsers`1/<>c__DisplayClass2_0<System.Type>:<Register>b__0 (string)
Verse.ParseHelper:FromString (string,System.Type)
(wrapper dynamic-method) V
Verse.LoadedModManager:LoadAllActiveMods (bool)
Verse.PlayDataLoader:DoPlayLoad ()
Verse.PlayDataLoader:LoadAllPlayData (bool)
Verse.Root/<>c:<Start>b__10_1 ()
Verse.LongEventHandler:RunEventFromAnotherThread (System.Action)
Verse.LongEventHandler/<>c:<UpdateCurrentAsynchronousEvent>b__28_0 ()
System.Threading.ThreadHelper:ThreadStart_Context (object)
System.Threading.ExecutionContext:RunInternal (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object,bool)
System.Threading.ExecutionContext:Run (System.Threading.ExecutionContext,System.Threading.ContextCallback,object)
System.Threading.ThreadHelper:ThreadStart ()
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
Verse.ParseHelper:ParseType (string)
Verse.ParseHelper/Parsers`1/<>c__DisplayClass2_0<System.Type>:<Register>b__0 (string)
Verse.ParseHelper:FromString (string,System.Type)
(wrapper dynamic-method) Verse.DirectXmlToObjectNew/DummyTypeToHoldDynamicMethods:ParseAndSetComplexTypeField_System_Type (object,System.Reflection.FieldInfo,System.Xml.XmlNode,System.Type)
(wrapper dynamic-method) Verse.DirectXmlToObjectNew/DummyTypeToHoldDynamicMethods:ParseAndReturnDef_Verse_ThingDef (int,int,System.Xml.XmlNode,System.Type)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.DirectXmlToObjectNew.DefFromNodeNew_Patch3 (System.Xml.XmlNode,Verse.LoadableXmlAsset)
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.LoadedModManager.ParseAndProcessXML_Patch0
[Ref 3FC367F0]
at AncotLibrary.CompAbilityIntegrationWeaponSystem.get_ShouldHideGizmo () [0x00006] in <2f545bf9b8294daf82202d6b04573be0>:0
at RimWorld.Ability.GizmosVisible () [0x00022] in <ed371ab4349b419183d9be3af652e6dc>:0
at RimWorld.Pawn_AbilityTracker+<GetGizmos>d__13.MoveNext () [0x0013c] in <ed371ab4349b419183d9be3af652e6dc>:0
at System.Collections.Generic.List`1[T].AddEnumerable (System.Collections.Generic.IEnumerable`1[T] enumerable) [0x00059] in (后面省略)