GatherManager

Moved

Total Downloads: 59,074 - First Release: Oct 23, 2014 - Last Update: Aug 27, 2017

4.93893/5, 131 likes
  1. Has high quality gather rate been fixed yet? wulf said that they added a hook for it now
     
  2. @Ryan any chance we can make use of that hook now? :)
     
  3. Ohhh gees I completely missed the release notes! Haha thanks a lot, I'll read them properly next time :p
     
  4. this is downloading as a cs file. I can convert it to txt but thats it. How do I get it as a json?
     
  5. its meant to be a cs file thats the plugin you put it into your oxide/plugins folder
     
  6. The .json is automatically generated in your oxide/config folder under the name of "GatherManager.json" please read this for reference. Installing and configuring plugins for Oxide | Oxide
     
  7. I have this error:
    Code:
    15:31 [Error] Failed to initialize plugin 'GatherManager v2.2.6' (InvalidCastException: Value is not a convertible object: System.Double to System.Collections.Generic.Dictionary`2[[System.String, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089],[System.Object, mscorlib, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089]])
    15:31 [Stacktrace]   at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Double.System.IConvertible.ToType (System.Type targetType, IFormatProvider provider) [0x00000] in <filename unknown>:0
      at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Convert.ChangeType (System.Object value, System.Type conversionType) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GatherManager.GetConfigValue[Dictionary`2] (System.String category, System.String setting, System.Collections.Generic.Dictionary`2 defaultValue) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GatherManager.LoadConfigValues () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GatherManager.Init () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GatherManager.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.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <filename unknown>:0
    15:31 [Info] Unloaded plugin Gathering Manager v2.2.6 by Mughisi
    15:31 [Info] No previous version to rollback plugin: GatherManager
    How do i fix this?
     
  8. Please regenerate your configuration file. It looks like the plugin cannot read it.

    Not sure why it wouldn't fix it for you though.
     
  9. This is my config file, after the latest steam update it wont work and i had gather rate at 4..

    Code:
    {
      "Messages": {
        "Dispensers": "Resource Dispensers",
        "HelpText": "/gather - Shows you detailed gather information.",
        "HelpTextAdmin": "To change the resources gained by gathering use the command:\ngather.rate <type:dispenser|pickup|quarry|survey> <resource> <multiplier>\nTo change the amount of resources in a dispenser type use the command:\ndispenser.scale <dispenser:tree|ore|corpse> <multiplier>\nTo change the time between Mining Quarry gathers:\nquarry.tickrate <seconds>",
        "HelpTextMiningQuarrySpeed": "Time between Mining Quarry gathers: {0} second(s).",
        "HelpTextPlayer": "Resources gained from gathering have been scaled to the following:",
        "HelpTextPlayerDefault": "Default values.",
        "HelpTextPlayerGains": "Resources gained from {0}:",
        "InvalidArgumentsDispenserType": "Invalid arguments supplied! Use dispenser.scale <dispenser:tree|ore|corpse> <multiplier>",
        "InvalidArgumentsGather": "Invalid arguments supplied! Use gather.rate <type:dispenser|pickup|quarry|survey> <resource> <multiplier>",
        "InvalidArgumentsMiningQuarrySpeed": "Invalid arguments supplied! Use quarry.rate <time between gathers in seconds>",
        "InvalidDispenser": "{0} is not a valid dispenser. Check gather.dispensers for a list of available options.",
        "InvalidMiningQuarrySpeed": "You can't set the speed lower than 1 second!",
        "InvalidModifier": "Invalid modifier supplied! The new modifier always needs to be bigger than 0!",
        "InvalidResource": "{0} is not a valid resource. Check gather.resources for a list of available options.",
        "MiningQuarries": "Mining Quarries",
        "ModifyDispenser": "You have set the resource amount for {0} dispensers to x{1}",
        "ModifyMiningQuarrySpeed": "The Mining Quarry will now provide resources every {0} seconds.",
        "ModifyResource": "You have set the gather rate for {0} to x{1} from {2}.",
        "ModifyResourceRemove": "You have reset the gather rate for {0} from {1}.",
        "NotAllowed": "You don't have permission to use this command.",
        "Pickups": "pickups",
        "SurveyCharges": "Survey Charges"
      },
      "Options": {
        "GatherDispenserModifiers": 4.0,
        "GatherResourceModifiers": 4.0,
        "MiningQuarryResourceTickRate": 4.0,
        "PickupResourceModifiers": 4.0,
        "QuarryResourceModifiers": 4.0,
        "SurveyResourceModifiers": 4.0
      },
      "Settings": {
        "ChatPrefix": "Gather Manager",
        "ChatPrefixColor": "#008000ff"
      }
    }
    I dont understand why one steam update ruins the entire config..
     
  10. You could alternatively put your config file in
    You have setup your configuration wrong. Take a look at the configuration files posted above for examples of how to lay it out.

    For you, I advise you change the gather rates using the commands listed in this plugins overview.
     
  11. What do you mean? The above i dont understand how that would help.. The one ive been using is the only one that has been working.. not else really work except this one.. ive tried making my own but it doesnt work..
     
  12. I am but its not working and its giving me no signs that it is doing anything at all.
     
  13. You are probably moving it in the wrong folder, or your server is not online / doesn't have oxide installed.
    [DOUBLEPOST=1504552394][/DOUBLEPOST]
    The configuration file you sent here is corrupt, so that is why the plugin is erroring. There is no way that configuration file would have been working for you.

    Please regenerate your configuration file and edit the gather properties for everything you want to change using the commands described in the plugins overview.
     
  14. It worked with the previous update. Now it doesnt work when i updated my server..

    If i regenerate it, how will i know how to get the config again?

    I dont know how to make a config, its wayyyy too confusing and ive only gotten configs through random comments at this forum :S (all tho i dont remember those configs at this time..)
     
  15. Like I have said multiple times, you do not need to edit this plugins config.

    You can set the values for your gather rates etc using the easy to use commands listed in the plugin overview. If you chose to read them you could maybe have a much better understanding of how this plugin works with the config.

    The update of your server would not have altered anything, other than possibly overriding Oxide so no plugins will load.

    But I can tell you right now that configuration file will not work.

    Regenerate your configuration, put the commands for your gather rate in the servers console / RCON and then it will automatically write those values to the configuration file.

    Then you will see where you have went wrong.
     
  16. The commands in rcon doesnt work, the config ive been using has been the one the i described. It worked perfectly last update and it wont work now.

    Rcon commands dont work, i go in the game, write the command for multiplier and its still vanilla when i hit trees, nodes etc.. It doesnt change anything.

    Even if i regenerate my config, how will i then set it up? I just want all the multipliers to be multiplied by 4.
     
  17. What command are you trying to use in rcon