边缘世界 RimWorld

边缘世界 RimWorld

RimTalk
Marcuslief 9 月 15 日 上午 12:44
Bug Report: Conflict with Combat Extended Turrets
love your mod! and I would like to report a compatibility issue with Combat Extended.
When a CE turret fires, its bullets cause a NullReferenceException right before impact. The bullet freezes and does no damage. This only happens with turrets; pawn-fired shots work fine.
Log: The error seems to be caused by RimTalk trying to get a pawn name from a non-pawn turret.

Exception ticking Bullet_40x311mmR_AP51151 (at (133, 0, 104)): System.NullReferenceException: Object reference not set to an instance of an object
[Ref 835A772B]
at RimTalk.Service.PawnService.GetPawnName (Verse.Pawn pawn, Verse.Pawn nearbyPawn) [0x00042] in /Users/chris/RiderProjects/RimTalk/Source/Service/PawnService.cs:114
at RimTalk.Patches.BattleLogPatch.Postfix (Verse.LogEntry entry) [0x00072] in /Users/chris/RiderProjects/RimTalk/Source/Patch/BattleLogPatch.cs:25
at Verse.BattleLog.Add (Verse.LogEntry entry) [0x0012d] in <24d25868955f4df08b02c73b55f389fe>:0
- POSTFIX cj.rimtalk: Void RimTalk.Patches.BattleLogPatch:Postfix(LogEntry entry)
at CombatExtended.BulletCE.LogImpact (Verse.Thing hitThing, Verse.LogEntry_DamageResult& logEntry) [0x0004d] in <ef95c7fee60245c1bd12b73a9a032109>:0
at CombatExtended.BulletCE.Impact (Verse.Thing hitThing) [0x00048] in <ef95c7fee60245c1bd12b73a9a032109>:0
at CombatExtended.ProjectileCE.TryCollideWith (Verse.Thing thing) [0x0020e] in <ef95c7fee60245c1bd12b73a9a032109>:0
at CombatExtended.ProjectileCE.CheckCellForCollision (Verse.IntVec3 cell) [0x003f9] in <ef95c7fee60245c1bd12b73a9a032109>:0
at CombatExtended.ProjectileCE.CheckForCollisionBetween () [0x001ae] in <ef95c7fee60245c1bd12b73a9a032109>:0
at CombatExtended.ProjectileCE.Tick () [0x002a5] in <ef95c7fee60245c1bd12b73a9a032109>:0
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_Patch2 (Verse.TickManager)
Verse.TickManager:TickManagerUpdate ()
(wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition:Verse.Game.UpdatePlay_Patch1 (Verse.Game)
Verse.Root_Play:Update ()
Thank you again for your time and for all the hard work you put into this mod.
< >
正在显示第 1 - 2 条,共 2 条留言
Juicy  [开发者] 9 月 16 日 上午 1:35 
Thanks for reporting! This should now be fixed. Let me know if you’re still experiencing the issue.
Kimiza 9 月 16 日 下午 6:40 
Exception ticking Bullet_556x45mmNATO_HP460507 (at (95, 0, 135)). Suppressing further errors. Exception: System.NullReferenceException: Object reference not set to an instance of an object [Ref E7D9A1FF] at RimTalk.Service.PawnService.GetPawnName (Verse.Pawn pawn, Verse.Pawn nearbyPawn) [0x00042] in /Users/chris/RiderProjects/RimTalk/Source/Service/PawnService.cs:114 at RimTalk.Patches.BattleLogPatch.Postfix (Verse.LogEntry entry) [0x00057] in /Users/chris/RiderProjects/RimTalk/Source/Patch/BattleLogPatch.cs:24 at Verse.BattleLog.Add (Verse.LogEntry entry) [0x0012d] in <24d25868955f4df08b02c73b55f389fe>:0 - POSTFIX cj.rimtalk: Void RimTalk.Patches.BattleLogPatch:Postfix(LogEntry entry) at CombatExtended.BulletCE.LogImpact (Verse.Thing hitThing, Verse.LogEntry_DamageResult& logEntry) [0x0004d] in <ef95c7fee60245c1bd12b73a9a032109>:0 at CombatExtended.BulletCE.Impact (Verse.Thing hitThing) [0x00048] in <ef95c7fee60245c1bd12b73a9a032109>:0 at CombatExtended.ProjectileCE.TryCollideWith (Verse.Thing thing) [0x0020e] in <ef95c7fee60245c1bd12b73a9a032109>:0 at CombatExtended.ProjectileCE.CheckCellForCollision (Verse.IntVec3 cell) [0x003f9] in <ef95c7fee60245c1bd12b73a9a032109>:0 at CombatExtended.ProjectileCE.CheckForCollisionBetween () [0x001ae] in <ef95c7fee60245c1bd12b73a9a032109>:0 at CombatExtended.ProjectileCE.Tick () [0x002a5] in <ef95c7fee60245c1bd12b73a9a032109>:0 at Verse.Thing.DoTick () [0x0007b] in <24d25868955f4df08b02c73b55f389fe>:0 at Verse.TickList.Tick () [0x00139] in <24d25868955f4df08b02c73b55f389fe>:0

Appears to still be an issue, unfortunately.
< >
正在显示第 1 - 2 条,共 2 条留言
每页显示数: 1530 50