RimWorld

RimWorld

[OUTDATED] Vanilla Skills Expanded
Tainted Soul Oct 11, 2024 @ 10:21pm
Exp gain error
Ive been having problems sometimes with this mod whenever colonists get into melee combat
from what i can gather when they gain exp for the melee skill i get barraged with error code and it lags my game to all hell from all the logs

I have another mod which helps narrow down error logs to the mod causing the issue so ill post that log after the initial one as its what helped me narrow down the issue to this mod

While im not 100% sure its this mod ive had issues with it in the past in similar situations so im mostly confident



Exception ticking Lukas (at (26, 0, 50)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 1A7BC797] Duplicate stacktrace, see ref for original
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()




Log from another mod to help find the cause of error logs


Exception ticking Lukas (at (26, 0, 50)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 1A7BC797]
at VSE.ModCompat.get_SaturatedXPMultiplier () [0x00000] in <01a0c5deb2f94ffeaefc22069c727ab1>:0
at VSE.Passions.PassionPatches.LearnRateFactor_Prefix (System.Boolean direct, RimWorld.SkillRecord __instance, System.Single& __result) [0x0006a] in <01a0c5deb2f94ffeaefc22069c727ab1>:0
at RimWorld.SkillRecord.LearnRateFactor (System.Boolean direct) [0x00033] in <2a40c3593b334f29ac3cb3d32d652351>:0
- TRANSPILER io.github.ratysz.madskills: IEnumerable`1 RTMadSkills.Patch_SkillRecordLearnRateFactor:Transpiler(IEnumerable`1 instructions)
- PREFIX PerformanceOptimizer.Main: Boolean PerformanceOptimizer.Optimization_SkillRecord_LearnRateFactor:Prefix(Pawn ___pawn, CachedValueTick`1& __state, Single& __result)
- PREFIX vanillaexpanded.skills: Boolean VSE.Passions.PassionPatches:LearnRateFactor_Prefix(Boolean direct, SkillRecord __instance, Single& __result)
- POSTFIX RedMattis.BetterChildren: Void BetterChildren.HarmonyPatches+SkillRecord_Patch:Postfix(Single& __result, SkillRecord __instance)
- POSTFIX VPEPuppeteerMod: Void VPEPuppeteer.SkillRecord_LearnRateFactor_Patch:Postfix(SkillRecord __instance, Single& __result)
- POSTFIX com.inspirationtweaks.patch: Void InspirationTweaks.InspiredLearning_BoostedLearning:Postfix(Single& __result, SkillRecord __instance, Boolean direct)
- POSTFIX PerformanceOptimizer.Main: Void PerformanceOptimizer.Optimization_SkillRecord_LearnRateFactor:Postfix(Pawn ___pawn, CachedValueTick`1 __state, Single& __result)
at RimWorld.SkillRecord.Learn (System.Single xp, System.Boolean direct, System.Boolean ignoreLearnRate) [0x000a7] in <2a40c3593b334f29ac3cb3d32d652351>:0
- TRANSPILER vanillaexpanded.achievements: IEnumerable`1 AchievementsExpanded.AchievementHarmony:LevelUpMoteHook(IEnumerable`1 instructions)
- TRANSPILER fr.slimesenpai.rimworld.endlessgrowth: IEnumerable`1 SlimeSenpai.EndlessGrowth.SkillRecord_Learn_Patch:Transpiler(IEnumerable`1 instructions)
- TRANSPILER krafs.levelup: IEnumerable`1 LevelUp.Patcher:RemoveMoteThrowCall(IEnumerable`1 instructions)
- TRANSPILER vanillaexpanded.skills: IEnumerable`1 VSE.Passions.PassionPatches:Learn_Transpiler(IEnumerable`1 instructions)
- PREFIX OskarPotocki.VFECore: Void VanillaApparelExpanded.SkillRecord_Learn_Patch:Prefix(SkillRecord __instance, Pawn ___pawn, Single& xp, Boolean direct)
- PREFIX krafs.levelup: Void LevelUp.Patcher:Prefix(Int32& __state, SkillRecord __instance)
- PREFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.Learn_Patch:Prefix(Pawn ___pawn, Int32 ___levelInt, Int32& __state, Single& xp, Boolean direct)
- POSTFIX krafs.levelup: Void LevelUp.Patcher:LearnPostfix(Int32 __state, SkillRecord __instance, Pawn ___pawn, Boolean direct)
- POSTFIX vanillaexpanded.skills: Void VSE.Expertise.ExpertisePatches:PostLearn(SkillRecord __instance, Single xp)
- POSTFIX VPEPuppeteerMod: Void VPEPuppeteer.SkillRecord_Learn_Patch:Postfix(SkillRecord __instance, Pawn ___pawn, Single xp, Boolean direct)
- POSTFIX OskarPotocki.VanillaSocialInteractionsExpanded: Void VanillaSocialInteractionsExpanded.Learn_Patch:Postfix(Pawn ___pawn, Int32 ___levelInt, Int32 __state, Single xp, Boolean direct)
at RimWorld.Pawn_SkillTracker.Learn (RimWorld.SkillDef sDef, System.Single xp, System.Boolean direct, System.Boolean ignoreLearnRate) [0x0004a] in <2a40c3593b334f29ac3cb3d32d652351>:0
- PREFIX OskarPotocki.VanillaPsycastsExpanded: Boolean VanillaPsycastsExpanded.Pawn_SkillTracker_Learn_Patch:Prefix(SkillDef sDef, Single xp, Pawn ___pawn)
- POSTFIX OskarPotocki.VFECore: Void VanillaGenesExpanded.VanillaGenesExpanded_Pawn_SkillTracker_Learn_Patch:GiveRecreation(Pawn ___pawn, SkillDef sDef, Single xp)
at CombatExtended.Verb_MeleeAttackCE.TryCastShot () [0x000e5] in <1dc467c8c68f4c6cb3dd33c143973e2e>:0
- PREFIX Krkr.Rule56: Void CombatAI.Patches.Verb_Patch+Verb_TryStartCast_Patch:Prefix(Verb __instance, Boolean& __state)
- POSTFIX Krkr.Rule56: Void CombatAI.Patches.Verb_Patch+Verb_TryStartCast_Patch:Postfix(Verb __instance, Boolean __result, Boolean __state)
at Verse.Verb.TryCastNextBurstShot () [0x00030] in <2a40c3593b334f29ac3cb3d32d652351>:0
- TRANSPILER CombatExtended.HarmonyCE: IEnumerable`1 CombatExtended.HarmonyCE.Harmony_Verb_TryCastNextBurstShot:Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- TRANSPILER legodude17.mvcf: IEnumerable`1 MVCF.PatchSets.PatchSet_VerbComps:TryCastNextBurstShot_Transpiler(IEnumerable`1 instructions, ILGenerator generator)
- TRANSPILER Krkr.Rule56: IEnumerable`1 CombatAI.Patches.Verb_Patch+Verb_TryCastNextBurstShot_Patch:Transpiler(IEnumerable`1 instructions)
- TRANSPILER roolo.RunAndGun: IEnumerable`1 RunAndGun.Harmony.Verb_TryCastNextBurstShot:Transpiler(IEnumerable`1 instructions)
- TRANSPILER PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
- POSTFIX fuu.bloodanimations: Void BloodAnimations.Verb_TryCastNextBurstShot:TryCastNextBurstShot(Verb __instance, Int32& ___burstShotsLeft)
- POSTFIX Vodka.MuzzleFlash: Void MuzzleFlash.Patch.HarmonyPatch_Verb:Postfix(Verb __instance, Int32 ___burstShotsLeft)
- POSTFIX legodude17.mvcf: Void MVCF.PatchSets.PatchSet_VerbComps:TryCastNextBurstShot_Postfix(Verb __instance)
at Verse.Verb.VerbTick () [0x00056] in <2a40c3593b334f29ac3cb3d32d652351>:0
at Verse.VerbTracker.VerbsTick () [0x00024] in <2a40c3593b334f29ac3cb3d32d652351>:0
- TRANSPILER CombatExtended.HarmonyCE: IEnumerable`1 CombatExtended.HarmonyCE.Harmony_VerbTracker_Modify_VerbsTick:Transpiler(IEnumerable`1 instructions, ILGenerator il)
at Verse.Pawn_EquipmentTracker.EquipmentTrackerTick () [0x0001a] in <2a40c3593b334f29ac3cb3d32d652351>:0
- TRANSPILER PerformanceOptimizer.Main: IEnumerable`1 PerformanceOptimizer.Optimization_FasterGetCompReplacement:Transpiler(IEnumerable`1 instructions, MethodBase method)
at Verse.Pawn.Tick () [0x001b6] in <2a40c3593b334f29ac3cb3d32d652351>:0
- POSTFIX alt4s.alliesarehelpful: Void PawnTendAndRescuePatch:Postfix(Pawn __instance)
- POSTFIX DBH_Hotspring_Compatibility: Void DBH_Hotspring_Compatibility.Patch_Pawn:AddHygieneForBathingPawns(Pawn __instance)
at Verse.TickList.Tick () [0x0015c] in <2a40c3593b334f29ac3cb3d32d652351>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch3 (string)
Verse.TickList:Tick ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.TickManager.DoSingleTick_Patch4 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch2 (Verse.Game)
Verse.Root_Play:Update ()
< >
Showing 1-5 of 5 comments
_♣Caligula♣_ Oct 12, 2024 @ 3:15am 
Conflict with mad skills.
Tainted Soul Oct 12, 2024 @ 10:26am 
yeah i assumed that too, shame both mods are good
Yelping Man Candy Oct 22, 2024 @ 9:28am 
I have just hit this as well. Mad skills author says it's a bug in VSE's compatibility patch, but that was in August ...

EDIT: Installing Mad Skills+ (a fork of the original) in the exact same place in my mod order fixed it for me. I'm not saying its one team's fault or another, but the off-shoot mod is at least compatible. I get that if you've made a mod and somebody breaks it, you would want them to fix their mistake ... however, this is a fix that works for me ... today
Last edited by Yelping Man Candy; Oct 22, 2024 @ 9:40am
Mental Oct 22, 2024 @ 9:48pm 
Originally posted by Yelping Man Candy:
I have just hit this as well. Mad skills author says it's a bug in VSE's compatibility patch, but that was in August ...

EDIT: Installing Mad Skills+ (a fork of the original) in the exact same place in my mod order fixed it for me. I'm not saying its one team's fault or another, but the off-shoot mod is at least compatible. I get that if you've made a mod and somebody breaks it, you would want them to fix their mistake ... however, this is a fix that works for me ... today

interesting, I shall test this as well
been having a similar issue
Inglix Nov 11, 2024 @ 6:39pm 
It's not that Mad Skills+ is compatible, it's that because it has a different name the compatibility patch doesn't even attempt to run, and therefore cannot throw errors. By the look of that error log, the downside to not having the compatibility patch run is that the "Over-limit multiplier" setting in that mod's settings will be ignored.
< >
Showing 1-5 of 5 comments
Per page: 1530 50