Just use the notepad, find and replace. Not rocket science!

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
-
But for sure the best option is to update oxide, but i guess they only update when there is a new devblog. -
To make this as clear as i can.
#1. i cannot edit/change any of Oxides files The only thing i can do is install/uninstall. (I need to uninstall and reinstall to update)
#2. I will not edit a plugins .cs file, The file was created that way for a reason and i have neither the skill or patients to get every word, comma, slash, dash, period ect in the proper places.
I would rather enjoy the game instead of taking all my time editing mod files to correct an issue and probably make things worse.
I respect mod creators because i know i could not do what they do.
I remember trying to make a stick figure move in Dos 6.3 , it took me 3 weeks and i have never tried again.
Yes i am that old that i used Dos 6.3 and had a pc that would run it, IBM DX 486 , pre windows 95 install. -
But years before that, i took a computer class at school, where dos 6.3 and windows 3.11 was the best we had.
So enjoy the game, and in the next devblog the problem should be solved. -
if (dispenser.GetComponentInParent<ResourceEntity>() && shortName.Contains("wood"))
{
amount = config.Settings.Rewards[PluginRewards.Wood];
resource = "wood";
}
@Canopy Sheep ya add this in for the logs on the ground and tree branches ?
I did and it worked for me. but I would like it official Thanks.
[DOUBLEPOST=1508571223][/DOUBLEPOST] -
-
Logs on ground - already mentioned
Collectable Ores - I tried tp duplicate "ore" rewards for this, but I couldn't figure it out. lol
Barrels and crates possibly if its doable.
and apparently "clan member" works for bots (scientists spawned by botspawn), I've seen it on a friends server, but I cant figure it out how to get it to work for them on mine. -
ok i have not read all the past post so forgive me, BUT GR is taking away -100 points every time they kill a zombie / Murderer AND it is saying that the zombie /Murderer is a player. When i change the player to zero in config then it stops taking away money from my players. WHY are the zombies/ Murderers classified as players? Is this how all those servers are faking there pop? Please fix or tell me how to fix?
and yes wulf i updated oxide...
[DOUBLEPOST=1509408501][/DOUBLEPOST] -
-
I noticed an issue with GatherReward when you are running BotSpawn. Folks lose money when they shoot bots.
I took a look at the code and Friends and Clans are returing true for bots. So ideally we need to avoid calling if the entity is an NPC.
So lines 277 and 287 need a minor tweak to add: && !(entity is NPCPlayer)
Could you please add this to your code so it is compatible with BotSpawn?
Thanks! -
@Wulf
can this get an update? or can ya tell me what I have to replace to make it work with economics 3.1.1Thanks
-
Wulf Community Admin
-
-
@Wulf
Failed to call hook 'Deposit' on plugin 'Economics v3.1.2' (InvalidCastException: Cannot cast from source type to destination type.)
(16:12:00) | at Oxide.Plugins.Economics.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
when I kill the NPC...need updated? -
Wulf Community Admin
Wulf updated GatherRewards with a new update entry:
1.4.5
-
I may be doing something wrong here but after updating to 1.4.5 I'm receiving this:
Code:(18:18:28) | Failed to initialize plugin 'GatherRewards v1.4.5' (NullReferenceException: Object reference not set to an instance of an object) (18:18:28) | at Oxide.Plugins.GatherRewards.LoadConfigValues () [0x00000] in <filename unknown>:0 at Oxide.Plugins.GatherRewards.Init () [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 (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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0 (18:18:28) | Unloaded plugin Gather Rewards v1.4.5 by CanopySheep (18:18:28) | No previous version to rollback plugin: GatherRewards
-
-
Last edited by a moderator: Nov 10, 2017
-