大佬,是不是我mod数值太高了,统计一会就开始飙红字了
ds说是使用 UInt16 (最大 65,535) 存储伤害值,但伤害超过此范围
Exception ticking Mech_Cyclops3555822 (at (83, 0, 137)): System.OverflowException: Arithmetic operation resulted in an overflow.
[Ref A59DC453]
at DamageStatistics.Dialog_DamageStatistics.Notify_PostApplyDamage (Verse.DamageInfo dinfo, System.UInt16 totalDamageDealt) [0x00108] in <8ba1a76d43f245d685e666a813288e93>:0
at DamageStatistics.Path_Pawn_PostApplyDamage.Postfix (Verse.Pawn __instance, Verse.DamageInfo dinfo, System.Single totalDamageDealt) [0x00083] in <8ba1a76d43f245d685e666a813288e93>:0
at Verse.Pawn.PostApplyDamage (Verse.DamageInfo dinfo, System.Single totalDamageDealt) [0x00121] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX CombatMinorhaul: Void CombatMinorhaul.Patch_Pawn_PostApplyDamage:Prefix(Single totalDamageDealt, Pawn __instance)
- POSTFIX com.damagestatistics.novsole: Void DamageStatistics.Path_Pawn_PostApplyDamage:Postfix(Pawn __instance, DamageInfo dinfo, Single totalDamageDealt)
at Verse.Thing.TakeDamage (Verse.DamageInfo dinfo) [0x00310] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX OskarPotocki.VEF: Void VEF.AnimalBehaviours.Patch_TakeDamage:Prefix(Thing __instance, DamageInfo dinfo)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Thing_TakeDamage_Patch:Postfix(Thing __instance, DamageInfo dinfo)
- POSTFIX com.CaesarV6.DamageMotes.Patch: Void DamageMotes.DamageMotes_Patch:Postfix(DamageInfo dinfo, Thing __instance, DamageResult __result)
at RimWorld.Bullet.Impact (Verse.Thing hitThing, System.Boolean blockedByShield) [0x000e1] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER CombatMinorhaul: IEnumerable`1 CombatMinorhaul.Projectile_StoppingPower_Patch:Transpiler(IEnumerable`1 instructions)
- POSTFIX fuu.bloodanimations: Void BloodAnimations.Bullet_Impact:Impact(Bullet& __instance, Thing hitThing, Boolean blockedByShield)
at Verse.Projectile.ImpactSomething () [0x001a2] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.Weapons.VanillaExpandedFramework_Projectile_SetTrueOrigin_Patch:Transpiler(IEnumerable`1 codeInstructions)
- TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.Pawns.VanillaExpandedFramework_Projectile_ImpactSomething_Patch:Transpiler(IEnumerable`1 codeInstructions, ILGenerator ilg)
- TRANSPILER SmashPhil.VehicleFramework: IEnumerable`1 Vehicles.Patch_Combat:VehicleProjectileChanceToHit(IEnumerable`1 instructions)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.TeslaProjectile+ProjectilePatches:Postfix()
at RimWorld.Beam.Launch (Verse.Thing launcher, UnityEngine.Vector3 origin, Verse.LocalTargetInfo usedTarget, Verse.LocalTargetInfo intendedTarget, Verse.ProjectileHitFlags hitFlags, System.Boolean preventFriendlyFire, Verse.Thing equipment, Verse.ThingDef targetCoverDef) [0x00090] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Verb_LaunchProjectile.TryCastShot () [0x00645] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Verb_LaunchProjectile_TryCastShot:Prefix(Verb_LaunchProjectile __instance)
- FINALIZER OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Verb_LaunchProjectile_TryCastShot:Finalizer()
at Verse.Verb_Shoot.TryCastShot () [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Verb.TryCastNextBurstShot () [0x00034] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER RunAndGun: IEnumerable`1 RunAndGun.Harmony.Verb_TryCastNextBurstShot:Transpiler(IEnumerable`1 instructions)
- TRANSPILER SprayTransfer: IEnumerable`1 SprayTransfer.SprayTransferPatch:Transpiler(IEnumerable`1 instructions)
- PREFIX com.dninemfive.chickenVOID: Boolean VoidEvents.HarmonyContainer+TryCastNextBurstShot_Patch:Prefix(Verb __instance)
- 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)
at Verse.Verb.VerbTick () [0x00056] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.VerbTracker.VerbsTick () [0x00019] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Pawn_EquipmentTracker.EquipmentTrackerTick () [0x00027] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Pawn.Tick () [0x00155] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX QING.GlobalAwareness: Void QING_Traits.GlobalAwarenessPatch:Postfix_PawnTick(Pawn __instance)
at Verse.Thing.DoTick () [0x0007b] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.TickList.Tick () [0x00139] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (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_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
Exception ticking Mech_Cyclops3555822 (at (83, 0, 137)): System.OverflowException: Arithmetic operation resulted in an overflow.
[Ref A59DC453]
at DamageStatistics.Dialog_DamageStatistics.Notify_PostApplyDamage (Verse.DamageInfo dinfo, System.UInt16 totalDamageDealt) [0x00108] in <8ba1a76d43f245d685e666a813288e93>:0
at DamageStatistics.Path_Pawn_PostApplyDamage.Postfix (Verse.Pawn __instance, Verse.DamageInfo dinfo, System.Single totalDamageDealt) [0x00083] in <8ba1a76d43f245d685e666a813288e93>:0
at Verse.Pawn.PostApplyDamage (Verse.DamageInfo dinfo, System.Single totalDamageDealt) [0x00121] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX CombatMinorhaul: Void CombatMinorhaul.Patch_Pawn_PostApplyDamage:Prefix(Single totalDamageDealt, Pawn __instance)
- POSTFIX com.damagestatistics.novsole: Void DamageStatistics.Path_Pawn_PostApplyDamage:Postfix(Pawn __instance, DamageInfo dinfo, Single totalDamageDealt)
at Verse.Thing.TakeDamage (Verse.DamageInfo dinfo) [0x00310] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX OskarPotocki.VEF: Void VEF.AnimalBehaviours.Patch_TakeDamage:Prefix(Thing __instance, DamageInfo dinfo)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Thing_TakeDamage_Patch:Postfix(Thing __instance, DamageInfo dinfo)
- POSTFIX com.CaesarV6.DamageMotes.Patch: Void DamageMotes.DamageMotes_Patch:Postfix(DamageInfo dinfo, Thing __instance, DamageResult __result)
at RimWorld.Bullet.Impact (Verse.Thing hitThing, System.Boolean blockedByShield) [0x000e1] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER CombatMinorhaul: IEnumerable`1 CombatMinorhaul.Projectile_StoppingPower_Patch:Transpiler(IEnumerable`1 instructions)
- POSTFIX fuu.bloodanimations: Void BloodAnimations.Bullet_Impact:Impact(Bullet& __instance, Thing hitThing, Boolean blockedByShield)
at Verse.Projectile.ImpactSomething () [0x001a2] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.Weapons.VanillaExpandedFramework_Projectile_SetTrueOrigin_Patch:Transpiler(IEnumerable`1 codeInstructions)
- TRANSPILER OskarPotocki.VEF: IEnumerable`1 VEF.Pawns.VanillaExpandedFramework_Projectile_ImpactSomething_Patch:Transpiler(IEnumerable`1 codeInstructions, ILGenerator ilg)
- TRANSPILER SmashPhil.VehicleFramework: IEnumerable`1 Vehicles.Patch_Combat:VehicleProjectileChanceToHit(IEnumerable`1 instructions)
- POSTFIX OskarPotocki.VEF: Void VEF.Weapons.TeslaProjectile+ProjectilePatches:Postfix()
at RimWorld.Beam.Launch (Verse.Thing launcher, UnityEngine.Vector3 origin, Verse.LocalTargetInfo usedTarget, Verse.LocalTargetInfo intendedTarget, Verse.ProjectileHitFlags hitFlags, System.Boolean preventFriendlyFire, Verse.Thing equipment, Verse.ThingDef targetCoverDef) [0x00090] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Verb_LaunchProjectile.TryCastShot () [0x00645] in <24d25868955f4df08b02c73b55f389fe>:0
- PREFIX OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Verb_LaunchProjectile_TryCastShot:Prefix(Verb_LaunchProjectile __instance)
- FINALIZER OskarPotocki.VEF: Void VEF.Weapons.VanillaExpandedFramework_Verb_LaunchProjectile_TryCastShot:Finalizer()
at Verse.Verb_Shoot.TryCastShot () [0x00000] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Verb.TryCastNextBurstShot () [0x00034] in <24d25868955f4df08b02c73b55f389fe>:0
- TRANSPILER RunAndGun: IEnumerable`1 RunAndGun.Harmony.Verb_TryCastNextBurstShot:Transpiler(IEnumerable`1 instructions)
- TRANSPILER SprayTransfer: IEnumerable`1 SprayTransfer.SprayTransferPatch:Transpiler(IEnumerable`1 instructions)
- PREFIX com.dninemfive.chickenVOID: Boolean VoidEvents.HarmonyContainer+TryCastNextBurstShot_Patch:Prefix(Verb __instance)
- 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)
at Verse.Verb.VerbTick () [0x00056] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.VerbTracker.VerbsTick () [0x00019] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Pawn_EquipmentTracker.EquipmentTrackerTick () [0x00027] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.Pawn.Tick () [0x00155] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX QING.GlobalAwareness: Void QING_Traits.GlobalAwarenessPatch:Postfix_PawnTick(Pawn __instance)
at Verse.Thing.DoTick () [0x0007b] in <24d25868955f4df08b02c73b55f389fe>:0
at Verse.TickList.Tick () [0x00139] in <24d25868955f4df08b02c73b55f389fe>:0
UnityEngine.StackTraceUtility:ExtractStackTrace ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Log.Error_Patch2 (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_Patch1 (Verse.Game)
Verse.Root_Play:Update ()










