Skip to content

Instantly share code, notes, and snippets.

View file.error
[V1024-EBF][ERR] Failed to apply Harmony patches for V1024.EBFramework. Exception was: HarmonyLib.HarmonyException: Patching exception in method static System.Void Verse.HealthUtility::GiveRandomSurgeryInjuries(Verse.Pawn p, System.Int32 totalDamage, Verse.BodyPartRecord operatedPart) ---> System.Exception: Wrong null argument: ldfld NULL
at HarmonyLib.MethodBodyReader+<>c__DisplayClass21_0.<FinalizeILCodes>b__2 (HarmonyLib.CodeInstruction codeInstruction) [0x0015c] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.CollectionExtensions.Do[T] (System.Collections.Generic.IEnumerable`1[T] sequence, System.Action`1[T] action) [0x00014] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.MethodBodyReader.FinalizeILCodes (HarmonyLib.Emitter emitter, System.Collections.Generic.List`1[T] transpilers, System.Collections.Generic.List`1[T] endLabels, System.Boolean& hasReturnCode) [0x001f7] in <2161c8330234450b8141397c32c11571>:0
at HarmonyLib.MethodCopier.Finalize (HarmonyLib.Emitter emitter, System.Co
@Neceros
Neceros / file.error
Created Mar 31, 2020
error for rimworld/rimpy
View file.error
Mono path[0] = 'C:/Program Files (x86)/Steam/steamapps/common/RimWorld/RimWorldWin64_Data/Managed'
Mono config path = 'C:/Program Files (x86)/Steam/steamapps/common/RimWorld/MonoBleedingEdge/etc'
Initialize engine version: 2019.2.17f1 (8e603399ca02)
[XR] Discovering subsystems at path C:/Program Files (x86)/Steam/steamapps/common/RimWorld/RimWorldWin64_Data/UnitySubsystems
GfxDevice: creating device client; threaded=1
Direct3D:
Version: Direct3D 11.0 [level 11.1]
Renderer: NVIDIA GeForce RTX 2060 (ID=0x1f08)
Vendor:
VRAM: 5980 MB
@Neceros
Neceros / file.cs
Last active Mar 12, 2020
givememeat
View file.cs
using UnityEngine;
using Verse;
namespace GiveMeMeat
{
public class GiveMeMeatSettings : ModSettings
{
public static float MeatAmountToMultiply => meatATM;
// DON'T reference these following var(s) except from inside this class; Reference the above variables instead. ExposeData requires them to be public
@Neceros
Neceros / file.xml
Created Mar 9, 2020
Pawnrules error
View file.xml
Could not do PostLoadInit on PawnRules.Data.Binding: PawnRules.Mod+Exception: [Pawn Rules v1.4.2] Unable to load rules for binding
at PawnRules.Data.Binding.ExposeData () [0x0014c] in <9e0144628b60495e92cc69993d7ccca2>:0
at Verse.PostLoadIniter.DoAllPostLoadInits () [0x00032] in <000153db58284aa38698b9c41ca1154b>:0
Verse.Log:Error(String, Boolean)
Verse.PostLoadIniter:DoAllPostLoadInits()
Verse.ScribeLoader:DMD<DMD<FinalizeLoading_Patch1>?-517248512::FinalizeLoading_Patch1>(ScribeLoader)
Verse.Game:LoadGame()
Verse.SavedGameLoaderNow:DMD<DMD<LoadGameFromSaveFileNow_Patch2>?-1390252800::LoadGameFromSaveFileNow_Patch2>(String)
Verse.<>c:<Start>b__1_1()
Verse.LongEventHandler:RunEventFromAnotherThread(Action)
View storyteller.xml
<StorytellerDef Name="BaseStoryteller" Abstract="True">
<populationIntentFactorFromPopCurve>
<points>
<li>0, 8.0</li>
<li>1, 2.0</li>
<li>4, 1.0</li>
<li>7, 0.35</li>
<li>11, 0.0</li>
<li>20,-1.0</li>
</points>
View research.xml
<ResearchProjectDef>
<tab>SRTSE</tab>
<defName>Research_SRTSMkIII</defName>
<label>The Phoenix</label>
<description>After years of research we finally discovered something special: a new technique originally used by an ancient exctinct alien civilization used in the process of ship making.\n\nThis process infuses the ship with a "mystical" neuromesh technology while using fewer materials in the build. The new model is light, spacious, and hauls serious ass compared to the Albatross.\n\nThe schematic shows serious military capability.</description>
<baseCost>12000</baseCost>
<techLevel>Ultra</techLevel>
<prerequisites>
<li>Research_SRTSMkII</li>
</prerequisites>
View turret.xml
<ThingDef ParentName="BuildingBase">
<defName>Turret_HeavyTurret</defName>
<label>heavy turret</label>
<description>A portable automatic turret designed to hurt heavy targets. Fires continuously. Requires a lot of steel to refurbish its barrel after use. Might explode out to 6 tiles when damaged.</description>
<thingClass>Building_TurretGun</thingClass>
<graphicData>
<texPath>Things/Building/Security/TurretMini_Base</texPath>
<graphicClass>Graphic_Single</graphicClass>
<drawSize>(3,3)</drawSize>
<damageData>
View file.error
Part is null. It should be set before PostAdd for MakeshiftRArm.
Verse.Log:Error(String, Boolean)
Verse.Hediff_AddedPart:PostAdd(Nullable`1)
Verse.HediffSet:AddDirect_Patch0(Object, Hediff, Nullable`1, DamageResult)
Verse.Pawn_HealthTracker:AddHediff_Patch2(Object, Hediff, BodyPartRecord, Nullable`1, DamageResult)
Verse.Pawn_HealthTracker:AddHediff(HediffDef, BodyPartRecord, Nullable`1, DamageResult)
AlienRace.<>c__DisplayClass25_0:<GenerateInitialHediffsPostfix>b__3(HediffDef)
System.Collections.Generic.List`1:ForEach(Action`1)
AlienRace.HarmonyPatches:GenerateInitialHediffsPostfix(Pawn)
Verse.PawnGenerator:GenerateInitialHediffs_Patch1(Pawn, PawnGenerationRequest)
View error.log
Log uploaded on Sunday, December 01, 2019, 1:28:10 AM
Loaded mods:
ModCheck: 0Harmony(1.2.0.1), ModCheck(1.8.1.0)
Core: (no assemblies)
RimThemes: 0Harmony(1.2.0.1), LibAPNG(0.2.6979.15011), RimThemes(2019.3.4.1)
SRTS Expanded: 0Harmony(1.2.0.1), SRTS(1.0.0.0)
Startup impact: 0Harmony(1.2.0.1), StartupImpact(1.1.7027.12912)
RIMMSAssemble: RIMMSAssemble(1.0.7115.1013)
HugsLib[ov:6.1.3]: 0Harmony(1.2.0.1), HugsLib(av:1.0.0.0,fv:6.1.3)
JecsTools: 0Harmony(1.0.9.1), 0JecsTools(1.0.8.0), AbilityUser(1.18.0.0), AbilityUserAI(1.18.0.0), CompActivatableEffect(1.18.0.0), CompAnimated(1.18.0.0), CompBalloon(1.18.0.0), CompBigBox(1.18.0.0), CompDeflector(1.18.0.0), CompDelayedSpawner(1.18.0.0), CompExtraSounds(1.18.0.0), CompInstalledPart(1.18.0.0), CompLumbering(1.18.0.0), CompOverlays(1.18.0.0), CompOversizedWeapon(1.18.0.0), CompSlotLoadable(1.18.0.0), CompToggleDef(1.18.0.0), CompVehicle(1.17.0.1), PawnShields(1.0.0.0), ThinkNodes(1.0.0.0)
View ShipComponents.xml
<?xml version="1.0" encoding="utf-8" ?>
<Defs>
<ThingDef Name="SRTSCompBase" Abstract="True">
<thingClass>ThingWithComps</thingClass>
<category>Item</category>
<resourceReadoutPriority>Middle</resourceReadoutPriority>
<useHitPoints>true</useHitPoints>
<selectable>true</selectable>
<altitudeLayer>Item</altitudeLayer>