There he was way to remove wood and Ore to prevent it polluting the console ?

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
-
Wulf Community Admin
-
Is there a way to add money to an NPC?
-
Wulf Community Admin
-
Money for the action of killing them.
-
Wulf Community Admin
-
The latest update spams the console like crazy....it generates so much lag on low end servers.
-
Wulf Community Admin
-
The one from wed (attach), there's no error, it just spamms with gather info ->
[Info] [Gather Rewards] Zeus etc etc (everytime he hits something that is enabled in the plugin to give him money, stones, trees, everything) -
Wulf Community Admin
-
.
[DOUBLEPOST=1441583937][/DOUBLEPOST]
1st of all -> plugin errors (happens when he loots from crates) ->
Code:4:18 PM [Error] Failed to call hook 'OnPlayerLoot' on plugin 'GatherRewards v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.) 4:18 PM [Debug] at Oxide.Plugins.GatherRewards.OnPlayerLoot (.PlayerLoot lootInventory, .BaseEntity targetEntity) [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 4:18 PM [Error] Failed to call hook 'OnPlayerLoot' on plugin 'GatherRewards v2.0.0' (InvalidCastException: Cannot cast from source type to destination type.) 4:18 PM [Debug] at Oxide.Plugins.GatherRewards.OnPlayerLoot (.PlayerLoot lootInventory, .BaseEntity targetEntity) [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
Last edited by a moderator: Sep 7, 2015 -
Wulf Community Admin
-
Hmm, okay, got it. I'll see what i can do with that economics problem and come back later if i encounter any other problems.
Thanks for your help !
[DOUBLEPOST=1441586001][/DOUBLEPOST] -
Wulf Community Admin
-
Fixed it, now it works.
Attached Files:
-
-
Hi , i dont see in the reward list kill human get reward configure :/ not hitting corpse , killing any human.
-
Wulf Community Admin
-
Code:
[9/9/2015 9:39:21 PM] [Oxide] 9:39 PM [Error] Failed to call hook 'OnEntityDeath' on plugin 'money-for-gather v1.2.1' File: money-for-gather.lua Line: 145 attempt to index field 'Initiator' (a nil value): at NLua.Lua.ThrowExceptionFromError (Int32 oldTop) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args, System.Type[] returnTypes) [0x00000] in <filename unknown>:0 at NLua.Lua.CallFunction (System.Object function, System.Object[] args) [0x00000] in <filename unknown>:0 at NLua.LuaFunction.Call (System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Ext.Lua.Plugins.LuaPlugin.OnCallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hookname, System.Object[] args) [0x00000] in <filename unknown>:0
-
Wulf Community Admin
Gather Rewards | Page 5 | Oxide -