Failed to call hook 'OnEntityDeath' on plugin 'GatherRewards v1.6.1' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.GatherRewards.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x0020f] in <c0b73ca600974e28805064c21dff16a4>:0
at Oxide.Plugins.GatherRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0033f] in <c0b73ca600974e28805064c21dff16a4>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0
10kb/s in, 40kb/s out
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
hyped.[76561############] was killed by M4zePt[76561############]
Since latest Update I receive the above Exception.
NullReferenceException at OnEntityDeathFixed
I think your config file needs to get updated.. Save your oxide/config/GatherRewards.json to a local file. then delete from your server and reload GatherRewards. Then add back the missing point values you want from your saved copy. This should fix your NRE.
That has nothing to do with the Config. Just regenerated it and compared it to the existing. Beside the Values under "Rewards" and the PluginPrefix its equal.
I guess since you just updated it it may be a bug withing and I give it a try.
I can not reproduce on my end.. If you see it again can you explain the steps to reproduce please..
Well as the log outpot above shows it happens when a Player kill another Player. Since your Updates today the errors are gone. I will continue monitor a while to see :)
Failed to call hook 'OnEntityDeath' on plugin 'GatherRewards v1.6.3' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.GatherRewards.OnEntityDeath (BaseCombatEntity entity, HitInfo info) [0x0020f] in :0 at Oxide.Plugins.GatherRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x0033f] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <60c318df79ed41688ea59335e48d61ad>:0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000d8] in <50629aa0e75d4126b345d8d9d64da28d>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <50629aa0e75d4126b345d8d9d64da28d>:0
Mega When do you get that error? are the players in the same team/clan? do you have friends,clans, enabled? do you have values set for teamMember?
Merged post
This should now be resolved in 1.6.4.. The NRE occured if the player was not in a team and you have team member values other then 0