zunath / SWLOR_NWN

Star Wars: Legends of the Old Republic server code, a persistent world for Neverwinter Nights
40 stars 98 forks source link

AI / Enmity error #304

Closed zunath closed 6 years ago

zunath commented 6 years ago

Something in the AI is complaining about the following exceptions. It could be related to a timing issue when a creature is dead because it disappears after a while. Need to research more.


EVENT ERROR (C#) SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity


EXCEPTION:

Exception type: System.Exception Message : Only NPCs have enmity tables. Stacktrace: at SWLOR.Game.Server.Service.EnmityService.GetEnmityTable (SWLOR.Game.Server.GameObject.NWCreature npc) [0x0000e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity.Run (System.Object[] args) [0x0000a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00024] in <353130a6a2bf4cf48fcfc90c0074fe89>:0


EVENT ERROR (C#) ObjectProcessingService. EventID = a09d363d4c8940cc9c672b71ff54ceb5


EXCEPTION:

Exception type: System.Exception Message : Only NPCs have enmity tables. Stacktrace: at SWLOR.Game.Server.Service.EnmityService.GetEnmityTable (SWLOR.Game.Server.GameObject.NWCreature npc) [0x0000e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity.Run (System.Object[] args) [0x0000a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00079] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Extension.BehaviourTreeBuilderExtensions+<>cDisplayClass0_0`1[T].b0 (FluentBehaviourTree.TimeData t) [0x00001] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at FluentBehaviourTree.ActionNode.Tick (FluentBehaviourTree.TimeData time) [0x00001] in <8b8aae6df35c455b8f99097c87bbb15c>:0 at FluentBehaviourTree.ParallelNode.Tick (FluentBehaviourTree.TimeData time) [0x0001d] in <8b8aae6df35c455b8f99097c87bbb15c>:0 at SWLOR.Game.Server.Processor.BehaviourProcessor.Run (System.Object[] args) [0x0003e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Service.ObjectProcessingService+<>cDisplayClass7_0.b0 (SWLOR.Game.Server.Processor.Contracts.IEventProcessor processor) [0x00012] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Service.ObjectProcessingService.RunProcessor () [0x0009a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0


EVENT ERROR (C#) SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity


EXCEPTION:

Exception type: System.Exception Message : Only NPCs have enmity tables. Stacktrace: at SWLOR.Game.Server.Service.EnmityService.GetEnmityTable (SWLOR.Game.Server.GameObject.NWCreature npc) [0x0000e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity.Run (System.Object[] args) [0x0000a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00024] in <353130a6a2bf4cf48fcfc90c0074fe89>:0


EVENT ERROR (C#) ObjectProcessingService. EventID = a09d363d4c8940cc9c672b71ff54ceb5


EXCEPTION:

Exception type: System.Exception Message : Only NPCs have enmity tables. Stacktrace: at SWLOR.Game.Server.Service.EnmityService.GetEnmityTable (SWLOR.Game.Server.GameObject.NWCreature npc) [0x0000e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity.Run (System.Object[] args) [0x0000a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00079] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Extension.BehaviourTreeBuilderExtensions+<>cDisplayClass0_0`1[T].b0 (FluentBehaviourTree.TimeData t) [0x00001] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at FluentBehaviourTree.ActionNode.Tick (FluentBehaviourTree.TimeData time) [0x00001] in <8b8aae6df35c455b8f99097c87bbb15c>:0 at FluentBehaviourTree.ParallelNode.Tick (FluentBehaviourTree.TimeData time) [0x0001d] in <8b8aae6df35c455b8f99097c87bbb15c>:0 at SWLOR.Game.Server.Processor.BehaviourProcessor.Run (System.Object[] args) [0x0003e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Service.ObjectProcessingService+<>cDisplayClass7_0.b0 (SWLOR.Game.Server.Processor.Contracts.IEventProcessor processor) [0x00012] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Service.ObjectProcessingService.RunProcessor () [0x0009a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0


EVENT ERROR (C#) SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity


EXCEPTION:

Exception type: System.Exception Message : Only NPCs have enmity tables. Stacktrace: at SWLOR.Game.Server.Service.EnmityService.GetEnmityTable (SWLOR.Game.Server.GameObject.NWCreature npc) [0x0000e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity.Run (System.Object[] args) [0x0000a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00024] in <353130a6a2bf4cf48fcfc90c0074fe89>:0


EVENT ERROR (C#) ObjectProcessingService. EventID = a09d363d4c8940cc9c672b71ff54ceb5


EXCEPTION:

Exception type: System.Exception Message : Only NPCs have enmity tables. Stacktrace: at SWLOR.Game.Server.Service.EnmityService.GetEnmityTable (SWLOR.Game.Server.GameObject.NWCreature npc) [0x0000e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.AI.AIComponent.CleanUpEnmity.Run (System.Object[] args) [0x0000a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.RunEvent[T] (System.Object[] args) [0x00079] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Extension.BehaviourTreeBuilderExtensions+<>cDisplayClass0_0`1[T].b0 (FluentBehaviourTree.TimeData t) [0x00001] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at FluentBehaviourTree.ActionNode.Tick (FluentBehaviourTree.TimeData time) [0x00001] in <8b8aae6df35c455b8f99097c87bbb15c>:0 at FluentBehaviourTree.ParallelNode.Tick (FluentBehaviourTree.TimeData time) [0x0001d] in <8b8aae6df35c455b8f99097c87bbb15c>:0 at SWLOR.Game.Server.Processor.BehaviourProcessor.Run (System.Object[] args) [0x0003e] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Service.ObjectProcessingService+<>cDisplayClass7_0.b0 (SWLOR.Game.Server.Processor.Contracts.IEventProcessor processor) [0x00012] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.App.ResolveByInterface[T] (System.String typeName, SWLOR.Game.Server.App+AppResolveDelegate`1[T] action) [0x0006d] in <353130a6a2bf4cf48fcfc90c0074fe89>:0 at SWLOR.Game.Server.Service.ObjectProcessingService.RunProcessor () [0x0009a] in <353130a6a2bf4cf48fcfc90c0074fe89>:0

zunath commented 6 years ago

Was due to DMs possessing creatures.