-
-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
rimatomics crafting table stack trace issue #48
Comments
yowshi
changed the title
timatomics crafting table stack trace issue
rimatomics crafting table stack trace issue
May 11, 2024
Go to the
<li>
<compClass>CompReportWorkSpeed</compClass>
</li>
<li Class="CompProperties_ReportWorkSpeed">
<workSpeedStat>WorkTableWorkSpeedFactor</workSpeedStat>
</li> or you can make a Patch to do that: make a here an example xml: <?xml version="1.0" encoding="UTF-8"?>
<Patch>
<Operation Class="PatchOperationFindMod">
<success>Always</success>
<mods>
<li>Dubs Rimatomics</li>
</mods>
<match Class="PatchOperationSequence">
<success>Always</success>
<operations>
<li Class="PatchOperationReplace">
<xpath>Defs/ThingDef[defName="TableRimatomicsMachining"]/comps/li[compClass="CompReportWorkSpeed"]</xpath>
<value>
<li Class="CompProperties_ReportWorkSpeed">
<workSpeedStat>WorkTableWorkSpeedFactor</workSpeedStat>
</li>
</value>
</li>
</operations>
</match>
</Operation>
</Patch> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
GetInspectString exception on TableRimatomicsMachining822439:
System.InvalidCastException: Specified cast is not valid.
[Ref B7FE9FFD]
at RimWorld.CompReportWorkSpeed.CompInspectStringExtra () [0x000d4] in <2bfa0c274f854b5095bb30bd48706ce7>:0
at Verse.ThingWithComps.InspectStringPartsFromComps () [0x00020] in <2bfa0c274f854b5095bb30bd48706ce7>:0
at Verse.ThingWithComps.GetInspectString () [0x00015] in <2bfa0c274f854b5095bb30bd48706ce7>:0
- POSTFIX com.Replimat.patches: Void Replimat.Harmony_Thing_GetInspectString:Postfix(ThingWithComps __instance, String& __result)
at RimWorld.InspectPaneFiller.DrawInspectStringFor (Verse.ISelectable sel, UnityEngine.Rect rect) [0x00000] in <2bfa0c274f854b5095bb30bd48706ce7>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch1 (string)
RimWorld.InspectPaneFiller:DrawInspectStringFor (Verse.ISelectable,UnityEngine.Rect)
RimWorld.InspectPaneFiller:DoPaneContentsFor (Verse.ISelectable,UnityEngine.Rect)
RimWorld.MainTabWindow_Inspect:DoPaneContents (UnityEngine.Rect)
RimWorld.InspectPaneUtility:InspectPaneOnGUI (UnityEngine.Rect,RimWorld.IInspectPane)
RimWorld.MainTabWindow_Inspect:DoWindowContents (UnityEngine.Rect)
Verse.Window:InnerWindowOnGUI (int)
UnityEngine.GUI:CallWindowDelegate (UnityEngine.GUI/WindowFunction,int,int,UnityEngine.GUISkin,int,single,single,UnityEngine.GUIStyle)
i didn't see this posted here but the table has a duplicate stacktrace issue.
The text was updated successfully, but these errors were encountered: