Invalid IL code in RandomItemDispenser:TryAwardFixed

InvalidProgramException: Invalid IL code in RandomItemDispenser:TryAward (RandomItemDispenser/RandomItemChance,BasePlayer,UnityEngine.Vector3): IL_0009: call 0x0a000351

i got kicked when i tried to pick up hemp, or corn, I tried unloading gathermanager thinking it might have something todo with it.

This has been fixed in the latest Oxide update, thanks for the report.

I'm getting this when players are saying they are getting kicked.

InvalidProgramException: Invalid IL code in RandomItemDispenser:TryAward (RandomItemDispenser/RandomItemChance,BasePlayer,UnityEngine.Vector3): IL_0009: call 0x0a000351



Merged post

My issue was resolved with my last update of Oxide moments ago.

My players and I are getting kicked for "RPC error in pickup" when picking up hemp, pumpkins, etc. Could be related to what they're experiencing @Wavydankk.

I just reinstalled Oxide moments ago and it resolved an issue I was having.

Merged post

And the players were getting kicked when they picked up an item.

DeeZee

I just reinstalled Oxide moments ago and it resolved an issue I was having.

Merged post

And the players were getting kicked when they picked up an item.

I will try this! Thank you! 

Yep. Oxide update fixed my issue as well. Thanks!

InvalidProgramException: Invalid IL code in RandomItemDispenser:TryAward (RandomItemDispenser/RandomItemChance,BasePlayer,UnityEngine.Vector3): IL_0009: call 0x0a000351

at RandomItemDispenser.DistributeItems (BasePlayer forPlayer, UnityEngine.Vector3 distributorPosition) [0x00013] in <e79e486eb8e442fc97220fd09ce07519>:0
at CollectibleEntity.DoPickup (BasePlayer reciever) [0x000fb] in <e79e486eb8e442fc97220fd09ce07519>:0
at CollectibleEntity.Pickup (BaseEntity+RPCMessage msg) [0x0000e] in <e79e486eb8e442fc97220fd09ce07519>:0
at CollectibleEntity.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x000ce] in <e79e486eb8e442fc97220fd09ce07519>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
CollectibleEntity:OnRpcMessage(BasePlayer, UInt32, Message)
BaseEntity:SV_RPCMessage(UInt32, Message)
ServerMgr:OnRPCMessage(Message)
ServerMgr:OnNetworkMessage(Message)
Facepunch.Network.Raknet.Server:ConnectedPacket(Connection)
Facepunch.Network.Raknet.Server:Cycle()
ServerMgr:Update()

 

this is my error message. when people pick up stuff from the floor they get kicked
can anybody help me

pioneer424320

InvalidProgramException: Invalid IL code in RandomItemDispenser:TryAward (RandomItemDispenser/RandomItemChance,BasePlayer,UnityEngine.Vector3): IL_0009: call 0x0a000351

at RandomItemDispenser.DistributeItems (BasePlayer forPlayer, UnityEngine.Vector3 distributorPosition) [0x00013] in <e79e486eb8e442fc97220fd09ce07519>:0
at CollectibleEntity.DoPickup (BasePlayer reciever) [0x000fb] in <e79e486eb8e442fc97220fd09ce07519>:0
at CollectibleEntity.Pickup (BaseEntity+RPCMessage msg) [0x0000e] in <e79e486eb8e442fc97220fd09ce07519>:0
at CollectibleEntity.OnRpcMessage (BasePlayer player, System.UInt32 rpc, Network.Message msg) [0x000ce] in <e79e486eb8e442fc97220fd09ce07519>:0
UnityEngine.DebugLogHandler:Internal_LogException(Exception, Object)
UnityEngine.DebugLogHandler:LogException(Exception, Object)
UnityEngine.Logger:LogException(Exception, Object)
UnityEngine.Debug:LogException(Exception)
CollectibleEntity:OnRpcMessage(BasePlayer, UInt32, Message)
BaseEntity:SV_RPCMessage(UInt32, Message)
ServerMgr:OnRPCMessage(Message)
ServerMgr:OnNetworkMessage(Message)
Facepunch.Network.Raknet.Server:ConnectedPacket(Connection)
Facepunch.Network.Raknet.Server:Cycle()
ServerMgr:Update()

 

this is my error message. when people pick up stuff from the floor they get kicked
can anybody help me

Update Oxide.

Thanks for the update I thought it was a bad plugin at first!

nU9XxVFlxdpHfyW.jpg mic773

Thanks for the update I thought it was a bad plugin at first!

IL errors are generally always related to Oxide hooks.
kmFmz9ypRKdXIA1.png Wulf
IL errors are generally always related to Oxide hooks.

Good to know.

Locked automatically