Jump to content

Failed to call hook 'OnEntityDeath' on plugin 'RustRewards v3.0.3'

No Response 3.0.3

TheBot
TheBot

Posted

Failed to call hook 'OnEntityDeath' on plugin 'RustRewards v3.0.3' (NullReferenceException: Object reference not set to an instance of an object)
  at Oxide.Plugins.RustRewards.OnEntityDeath (BaseEntity entity, HitInfo info) [0x001a1] in <66f7a6fe203546ea82be653dc8d41d2c>:0
  at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0078a] in <66f7a6fe203546ea82be653dc8d41d2c>:0
  at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
  at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0
  at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0

BetterDeadThanZed

Posted

This error popped up when a player suicided for me:
 

09/10 19:31:02 | Failed to call hook 'OnPlayerDeath' on plugin 'RustRewards v3.0.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.RustRewards.OnPlayerDeath (BasePlayer player, HitInfo info) [0x000eb] in <c9b856248817407a899396cbc8125162>:0
at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0035b] in <c9b856248817407a899396cbc8125162>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0
09/10 19:31:02 | [Death Notes] Legends Tale had enough of life.
09/10 19:31:02 | Legends Tale[76561198400794076] was suicide by Suicide

 

IKK

Posted

for me too

  • Administrator
Steenamaroo

Posted

Can anyone give me a case where this error occurs?
I'm not getting it for console 'kill' suicide.

IKK

Posted

one of the two could be the right one

 

Quote

(16:03:25) | [Welcomer] 美KD1.2 left the server (Reason: Disconnected)

(16:03:36) | Failed to call hook 'OnPlayerDeath' on plugin 'RustRewards v3.0.3' (NullReferenceException: Object reference not set to an instance of an object)

at Oxide.Plugins.RustRewards.OnPlayerDeath (BasePlayer player, HitInfo info) [0x000eb] in <ba70de95a4564a35885502f1653740cc>:0

at Oxide.Plugins.RustRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0035b] in <ba70de95a4564a35885502f1653740cc>:0

at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <31122a27a2414cd799150f8677cf39d4>:0

at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <0fbce81d88d64454b3e7abb24df7026b>:0

at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <0fbce81d88d64454b3e7abb24df7026b>:0

(16:03:36) | [Death Notes] [Bibou] arnaud05 à mis fin a ses jour.

 

IKK

Posted

most of the time it works when the person ends his life

 

  • Administrator
Steenamaroo

Posted

Oh, never mind. I'd already patched it.

Will be sorted in next V, although I'll not rush to release it incase anything else comes up.
It's safe to ignore that for now.

 

Thanks for the info, folks.

TheBot

Posted

I am not sure if there is a connection but lately apart from the RustRewards error I also get another error when somebody dies which kicks 3 or 4 unrelated players when it happens. Usually this happens when a player dies. The player who dies does not get kicked but others do.

 

(00:29:00) | 102.132.149.54:61152/76561198102041760/MadMax disconnecting: Exception (cs:64612): NullReferenceException: Object reference not set to an instance of an object. BasePlayer.GetHeldEntity () (at <00000000000000000000000000000000>:0) BasePlayer.PostLateClientCycle () (at <00000000000000000000000000000000>:0) BasePlayer.LateClientCycle () (at <00000000000000000000000000000000>:0) Client.LateUpdate () (at <00000000000000000000000000000000>:0)
(00:29:00) | 41.76.117.189:53192/76561199179841377/Ray disconnecting: Exception (cs:64612): NullReferenceException: Object reference not set to an instance of an object. BasePlayer.GetHeldEntity () (at <00000000000000000000000000000000>:0) BasePlayer.PostLateClientCycle () (at <00000000000000000000000000000000>:0) BasePlayer.LateClientCycle () (at <00000000000000000000000000000000>:0) Client.LateUpdate () (at <00000000000000000000000000000000>:0)
(00:29:00) | 165.0.78.144:54005/76561199136004189/Vee disconnecting: Exception (cs:64612): NullReferenceException: Object reference not set to an instance of an object. BasePlayer.GetHeldEntity () (at <00000000000000000000000000000000>:0) BasePlayer.PostLateClientCycle () (at <00000000000000000000000000000000>:0) BasePlayer.LateClientCycle () (at <00000000000000000000000000000000>:0) Client.LateUpdate () (at <00000000000000000000000000000000>:0)

 

  • Administrator
Steenamaroo

Posted

Hi,

I don't believe this to be related. I know what the error is in RustRewards and it's just a simple null error for something I failed to check.
 

This pasted error appears to be coming from the client `BasePlayer.PostLateClientCycle()` which I can't see being related in any way.

Guest

Posted

Changed Status from Pending to No Response

1.6m

Downloads

Total number of downloads.

7.7k

Customers

Total customers served.

115.3k

Files Sold

Total number of files sold.

2.3m

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.