14:10 [Error] Failed to call hook 'OnDispenserGather' on plugin 'GatherRewards v1.4.3' (NullReferenceException: Object reference not set to an instance of an object)
14:10 [Stacktrace] at Oxide.Plugins.GatherRewards.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0
at Oxide.Plugins.GatherRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (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

GatherRewards
Gives players money through Economics/ServerRewards for various actions (gathering, animal kills)
Total Downloads: 4,549 - First Release: Jan 12, 2015 - Last Update: Jun 10, 2018
- 5/5, 13 likes
-
-
-
-
Can you fix '$' being displayed for ServerRewards points? Replace with 'RP' perhaps?
-
-
-
to an instance of an object)
(12:29:24) | Failed to call hook 'OnDispenserGather' on plugin 'GatherRewards v1.4.3' (NullReferenceException: Object reference not set to an instance of an object)
(12:29:25) | Failed to call hook 'OnDispenserGather' on plugin 'GatherRewards v1.4.3' (NullReferenceException: Object reference not set to an instance of an object)
(12:29:27) | Failed to call hook 'OnDispenserGather' on plugin 'GatherRewards v1.4.3' (NullReferenceException: Object reference not set to an instance of an object)
(12:29:28) | Failed to call hook 'OnDispenserGather' on plugin 'GatherRewards v1.4.3' (NullReferenceException: Object reference not set to an instance of an object) -
-
-
-
ill check
Last edited by a moderator: Apr 15, 2017 -
Currently noticing if a value is specified for killing a Clan Member (-5 in this case), killing a player typically results in receiving -5 for killing a 'clan member', although the player is not in a clan, let alone my clan. I'm sure there's a logic issue with that variable somewhere.
-
-
-
-
Failed to call hook 'OnDispenserGather' on plugin 'GatherRewards v1.4.3' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.GatherRewards.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0
at Oxide.Plugins.GatherRewards.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (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
I use last oxide and last update Rust -
-
Canopy Sheep updated GatherRewards with a new update entry:
1.4.4
-
Hi,
My config does not seem to be reflected in game, I.E. Mine messages showing when they have been disabled, ever after a server restart. The file validates as correct JSON to:
Code:{ "Messages": { "ReceivedForGather": "You have received ${0} for gathering {1}.", "ReceivedForKill": "You have received ${0} for killing a {1}.", "ReceivedForLoot": "You have received ${0} for looting {1}." }, "Settings": { "Rewards": { "Bear": 25, "Boar": 25, "Chicken": 25, "Corpse": 25, "Horse": 25, "Ore": 25, "Stag": 25, "Wolf": 25, "Wood": 25 }, "ShowMessages": false } }