Jump to content

nre after kill npc

Pending 2.1.11

LAGZYA
LAGZYA

Posted

```
[2025.03.26 13:29:10] [ERRO] Unhandled error occurred (NullReferenceException)
  at UnityEngine.Component.GetComponentInParent (System.Type t, System.Boolean includeInactive) (at <bbfcdb8e91a44ae79d53e845fd06b4b5>:0)
  at UnityEngine.Component.GetComponentInParent[T] () (at <bbfcdb8e91a44ae79d53e845fd06b4b5>:0)
  at Oxide.Plugins.Loottable+LootableManager.GetSpawnPointId (BaseEntity npc) (at /home/container/carbon/plugins/Loottable.cs:2296)
  at Oxide.Plugins.Loottable+LootableManager.GetConfigId (BaseEntity entity, System.Boolean isNpc) (at /home/container/carbon/plugins/Loottable.cs:2241)
  at Oxide.Plugins.Loottable+TheManagerThatManagesEverything.GetConfig (NPCPlayer npc) (at /home/container/carbon/plugins/Loottable.cs:5674)
  at Oxide.Plugins.Loottable.OnCorpseApplyLoot (HumanNPC npc, NPCPlayerCorpse corpse) (at /home/container/carbon/plugins/Loottable.cs:368)
  at Oxide.Plugins.Loottable+HumanNPC_ApplyLoot.Prefix (NPCPlayerCorpse corpse, HumanNPC __instance) (at /home/container/carbon/plugins/Loottable.cs:1249)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.HumanNPC.ApplyLoot_Patch1(HumanNPC,NPCPlayerCorpse)
  at NPCPlayer.CreateCorpse (BasePlayer+PlayerFlags flagsOnDeath, UnityEngine.Vector3 posOnDeath, UnityEngine.Quaternion rotOnDeath, System.Collections.Generic.List`1[T] triggersOnDeath, System.Boolean forceServerSide) (at <91b60f48d47248f6ac2cbd0d5e1535e7>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BasePlayer.OnDied_Patch1(BasePlayer,HitInfo)
  at ScientistNPC.OnDied (HitInfo info) (at <91b60f48d47248f6ac2cbd0d5e1535e7>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BaseCombatEntity.Die_Patch0(BaseCombatEntity,HitInfo)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BasePlayer.Die_Patch0(BasePlayer,HitInfo)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BaseCombatEntity.Hurt_Patch0(BaseCombatEntity,HitInfo)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BasePlayer.Hurt_Patch0(BasePlayer,HitInfo)
  at HumanNPC.Hurt (HitInfo info) (at <91b60f48d47248f6ac2cbd0d5e1535e7>:0)
  at BaseCombatEntity.OnAttacked (HitInfo info) (at <91b60f48d47248f6ac2cbd0d5e1535e7>:0)
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.BasePlayer.OnAttacked_Patch0(BasePlayer,HitInfo)
  at ScientistNPC.OnAttacked (HitInfo info) (at <91b60f48d47248f6ac2cbd0d5e1535e7>:0)
  at BasePlayer.OnProjectileAttack (BaseEntity+RPCMessage msg) (at <91b60f48d47248f6ac2cbd0d5e1535e7>:0)
  at BasePlayer.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) (at <91b60f48d47248f6ac2cbd0d5e1535e7>:0)
  at UnityEngine.Debug:LogException(Exception)
  at BasePlayer:OnRpcMessage(BasePlayer, UInt32, Message)
  at BaseEntity:SV_RPCMessage(UInt32, Message)
  at ServerMgr:OnRPCMessage(Message)
  at ServerMgr:OnNetworkMessage(Message)
  at Facepunch.Network.Raknet.Server:ProcessRead(NetRead)
  at Network.BaseNetwork:Cycle()
  at ServerMgr:Update()
```

The_Kiiiing

Posted

I'm gonna fix this problem with the next update

About Us

Codefling is the largest marketplace for plugins, maps, tools, and more, making it easy for customers to discover new content and for creators to monetize their work.

Downloads
2.4m
Total downloads
Customers
10.7k
Customers served
Files Sold
155.1k
Marketplace sales
Payments
3.3m
Processed total
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.