Probably i should create new thread, because the old one, where id i post that info, still marked as fixed.
Problem is similar to this thread i guess: Fixed - Failed to call hook 'OnPlayerDisconnected'
It starts usually from OnPlayerInit, where multiple plugins throws NPE. Then, for example, Vanish plugin might spam with NPE at OnPlayerTick. Obviously a problem somewhere at Rust or oxide. Happens with certain players, i guess. Because i have noticed, that vanish plugin is not always spammed. Well, i have fixed that spam, but anyway, something is going wrong with hooks.
UPD: thats a part of OnPlayerInit exceptions, actually there is 3-4 times more of plugins, which threw that.Code:(22:07:16) Failed to call hook 'OnPlayerDisconnected' on plugin 'AntiOfflineRaid v0.3.4' (NullReferenceException: Object reference not set to an instance of an object) (22:07:16) at Oxide.Plugins.AntiOfflineRaid.UpdateLastOnline (.BasePlayer player, Boolean hasMoved) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.AntiOfflineRaid.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) Failed to call hook 'OnPlayerDisconnected' on plugin 'BGrade v1.0.47' (NullReferenceException: Object reference not set to an instance of an object) (22:07:16) at Oxide.Plugins.BGrade.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.BGrade.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) Failed to call hook 'OnPlayerDisconnected' on plugin 'Backpacks v2.1.6' (NullReferenceException: Object reference not set to an instance of an object) (22:07:16) at Oxide.Plugins.Backpacks.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.Backpacks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) Failed to call hook 'OnPlayerDisconnected' on plugin 'Bank v0.1.3' (ArgumentNullException: Argument cannot be null. (22:07:16) Parameter name: key) (22:07:16) at System.Collections.Generic.Dictionary`2[BasePlayer,Oxide.Plugins.Bank+OnlinePlayer].TryGetValue (.BasePlayer key, Oxide.Plugins.OnlinePlayer& value) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.Hash`2[BasePlayer,Oxide.Plugins.Bank+OnlinePlayer].TryGetValue (.BasePlayer key, Oxide.Plugins.OnlinePlayer& value) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.Hash`2[BasePlayer,Oxide.Plugins.Bank+OnlinePlayer].get_Item (.BasePlayer key) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.Bank.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.Bank.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) Failed to call hook 'OnPlayerDisconnected' on plugin 'Bounty v0.2.2' (NullReferenceException: Object reference not set to an instance of an object) (22:07:16) at Oxide.Plugins.Bounty.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.Bounty.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) Failed to call hook 'OnPlayerDisconnected' on plugin 'BuildingBlockGUI v1.1.0' (NullReferenceException: Object reference not set to an instance of an object) (22:07:16) at Oxide.Plugins.BuildingBlockGUI.DestroyUI (.BasePlayer player) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.BuildingBlockGUI.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.BuildingBlockGUI.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) Failed to call hook 'OnPlayerDisconnected' on plugin 'CarCommander v0.2.48' (NullReferenceException: Object reference not set to an instance of an object) (22:07:16) at Oxide.Plugins.CarCommander.OnPlayerDisconnected (.BasePlayer player) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.CarCommander.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 (22:07:16) [Rust:IO Clans] OnPlayerDisconnected failed
Also i have noticed, that there is no logged (using Logger plugin) actions from the player, who (i suppose) caused that problem. I just see, that he is reconnected in 15 minutes, and then everything is ok.Code:17:14 [Error] Failed to call hook 'OnPlayerInit' on plugin 'AntiOfflineRaid v0.3.4' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.AntiOfflineRaid.UpdateLastOnline (.BasePlayer player, Boolean hasMoved) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiOfflineRaid.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.AntiOfflineRaid.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 17:14 [Error] Failed to call hook 'OnPlayerInit' on plugin 'Backpacks v2.1.6' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Backpacks.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Backpacks.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 17:14 [Error] ExType: TargetInvocationException 17:14 [Error] Failed to call hook 'OnPlayerInit' on plugin 'Bank v0.1.3' (ArgumentNullException: Argument cannot be null. Parameter name: key) at System.Collections.Generic.Dictionary`2[BasePlayer,Oxide.Plugins.Bank+OnlinePlayer].Add (.BasePlayer key, Oxide.Plugins.OnlinePlayer value) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Hash`2[BasePlayer,Oxide.Plugins.Bank+OnlinePlayer].Add (.BasePlayer key, Oxide.Plugins.OnlinePlayer value) [0x00000] in <filename unknown>:0 at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&) at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 17:14 [Error] Failed to call hook 'OnPlayerInit' on plugin 'BlueprintManager v1.0.1' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.BlueprintManager.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.BlueprintManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 17:14 [Error] Failed to call hook 'OnPlayerInit' on plugin 'Bounty v0.2.2' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Bounty.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Bounty.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 17:14 [Error] Failed to call hook 'OnPlayerInit' on plugin 'Clans v1.7.3' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.Clans.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.Clans.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 17:14 [Error] Failed to call hook 'OnPlayerInit' on plugin 'DeathNotes v5.2.20' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.DeathNotes.OnPlayerInit (.BasePlayer player) [0x00000] in <filename unknown>:0 at Oxide.Plugins.DeathNotes.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0 17:14 [Error] ExType: TargetInvocationException
A lot of NPEs after latest updates
Discussion in 'Rust Discussion' started by Melodeiro, Apr 17, 2018.