边缘世界 RimWorld

边缘世界 RimWorld

[OUTDATED] Vanilla Skills Expanded
Tainted Soul 2024 年 10 月 11 日 下午 10:21
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 ()
< >
正在显示第 1 - 5 条,共 5 条留言
_♣Caligula♣_ 2024 年 10 月 12 日 上午 3:15 
Conflict with mad skills.
Tainted Soul 2024 年 10 月 12 日 上午 10:26 
yeah i assumed that too, shame both mods are good
Yelping Man Candy 2024 年 10 月 22 日 上午 9:28 
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
最后由 Yelping Man Candy 编辑于; 2024 年 10 月 22 日 上午 9:40
Mental 2024 年 10 月 22 日 下午 9:48 
引用自 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 2024 年 11 月 11 日 下午 6:39 
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.
< >
正在显示第 1 - 5 条,共 5 条留言
每页显示数: 1530 50