Jump to content

RCP error when looting

Work in Progress 0.1.5

Magnumk
Magnumk

Posted

Players get kicked when looting NPC's

 

NullReferenceException: Object reference not set to an instance of an object
  at Oxide.Plugins.ExtendedStats.Postfix_FirstLooted (LootContainer entity, BasePlayer player) [0x0006e] in <927cdac6ab80493aa08f9a6ea1d04771>:0 
  at (wrapper dynamic-method) MonoMod.Utils.DynamicMethodDefinition.Facepunch.Rust.Analytics+Azure.OnFirstLooted_Patch1(BaseEntity,BasePlayer)
  at LootableCorpse.OnStartBeingLooted (BasePlayer baseEntity) [0x00016] in <4c62dc5e480d4f6cab9c3ed3c9c9c25a>:0 
  at PlayerCorpse.OnStartBeingLooted (BasePlayer baseEntity) [0x00025] in <4c62dc5e480d4f6cab9c3ed3c9c9c25a>:0 
  at PlayerLoot.StartLootingEntity (BaseEntity targetEntity, System.Boolean doPositionChecks) [0x00017] in <4c62dc5e480d4f6cab9c3ed3c9c9c25a>:0 
  at LootableCorpse.RPC_LootCorpse (BaseEntity+RPCMessage rpc) [0x00040] in <4c62dc5e480d4f6cab9c3ed3c9c9c25a>:0 
  at LootableCorpse.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x000da] in <4c62dc5e480d4f6cab9c3ed3c9c9c25a>:0 
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
LootableCorpse:OnRpcMessage(BasePlayer, UInt32, Message)
BaseEntity:SV_RPCMessage(UInt32, Message)
ServerMgr:OnRPCMessage(Message)
ServerMgr:OnNetworkMessage(Message)
Facepunch.Network.Raknet.Server:ProcessRead(NetRead)
MonoMod.Utils.DynamicMethodDefinition:Network.BaseNetwork.Cycle_Patch0(BaseNetwork)
MonoMod.Utils.DynamicMethodDefinition:ServerMgr.Update_Patch0(ServerMgr)

xxx.xxx.xxx.xxx:xxxxx/xxxxxxxxxxxxxxxxxx/[God] magnumk kicked: RPC Error in RPC_LootCorpse

 

image.png

IIIaKa

Posted

Changed Status from Pending to Work in Progress

2.3m

Downloads

Total number of downloads.

10.5k

Customers

Total customers served.

151.8k

Files Sold

Total number of files sold.

3.2m

Payments Processed

Total payments processed.

×
×
  • 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.