GatherManager

Moved

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

4.93893/5, 131 likes
  1. that's the plugin you'd use for loot. gather manager is more about resources.
     
  2. why when pickaxe ore dont i get the HQM-ore also 5x ? everything else works
     
  3. Ryan updated Gather Manager with a new update entry:

    2.2.5

     
  4. Seems to work but I have some errors in console

    Code:
    (01:52:22) | Failed to call hook 'OnDispenserBonus' on plugin 'GatherManager v2.2.5' (InvalidOperationException: Operation is not valid due to the current state of the object)
    (01:52:23) | at System.Linq.Enumerable.Single[ItemAmount] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.Single[ItemAmount] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GatherManager.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GatherManager.OnDispenserBonus (.ResourceDispenser dispenser, .BasePlayer player, .Item item) [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.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    (01:52:24) | Failed to call hook 'OnDispenserBonus' on plugin 'GatherManager v2.2.5' (InvalidOperationException: Operation is not valid due to the current state of the object)
    (01:52:24) | at System.Linq.Enumerable.Single[ItemAmount] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
      at System.Linq.Enumerable.Single[ItemAmount] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GatherManager.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.GatherManager.OnDispenserBonus (.ResourceDispenser dispenser, .BasePlayer player, .Item item) [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.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
  5. Version 2.2.5 spamming tons of error on the server after plugin update.
    Code:
    (01:09:23) | Failed to call hook 'OnDispenserBonus' on plugin 'GatherManager v2.2.5' (InvalidOperationException: Operation is not valid due to the current state of the object)
    (01:09:23) | at System.Linq.Enumerable.Single[ItemAmount] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0
    at System.Linq.Enumerable.Single[ItemAmount] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.GatherManager.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.GatherManager.OnDispenserBonus (.ResourceDispenser dispenser, .BasePlayer player, .Item item) [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.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Aug 27, 2017
  6. the same
    Code:
    Failed to call hook 'OnDispenserBonus' on plugin 'GatherManager v2.2.5' (InvalidOperationException: Operation is not valid due to the current state of the object)
    at System.Linq.Enumerable.Single[ItemAmount] (IEnumerable`1 source, System.Func`2 predicate, Fallback fallback) [0x00000] in <filename unknown>:0 at System.Linq.Enumerable.Single[ItemAmount] (IEnumerable`1 source, System.Func`2 predicate) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GatherManager.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0 at Oxide.Plugins.GatherManager.OnDispenserBonus (.ResourceDispenser dispenser, .BasePlayer player, .Item item) [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.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
     
    Last edited by a moderator: Aug 27, 2017
  7. Taking a look now
     
  8. Ryan updated Gather Manager with a new update entry:

    2.2.6

     
  9. How i update the plugin? I just delete old plugin and place new? So my cfg settings still save?
     
  10. Yeah just replace it. The server should reload it on it's own.
     
  11. @Ryan GatherManager bug, consistent when I unload and test animals, then reload and test animals. Dead animals can be 'skinned forever'. Their skinning HP should go down but instead, it either goes down a few hits then goes up to 100 and stays there, or never leaves 100HP. I went through 2 hours and 8 hatchets before giving up on one animal. Been experiencing this for months on random animals, but has increased exponentially since recent GatherManager updates. Anyone else experiencing this?
     
  12. That bug been there for a long time one reason why I dont use it now
     
  13. Works fine for me, try lowering the dispenser scale of the animals?
    [DOUBLEPOST=1503934745][/DOUBLEPOST]
    Well it's either user error or something wrong on the plugin end. If it ends up being plugin-sided I shall fix it :)
     
  14. Its been this way for months maybe from the start
     
  15. It's happening to helicopter gibs now as well.
     
  16. Send me your config file please.
     
  17. It's been the same for a year.

    Code:
    "Options": {
        "GatherDispenserModifiers": {
          "Tree": 5.0,
          "Ore": 5.0,
          "Flesh": 2.5
        },
        "GatherResourceModifiers": {
          "Cloth": 5.0,
          "High Quality Metal Ore": 5.0,
          "Metal Ore": 5.0,
          "Stones": 5.0,
          "Sulfur Ore": 5.0,
          "Wood": 5.0
        },
        "MiningQuarryResourceTickRate": 2.0,
        "PickupResourceModifiers": {
          "High Quality Metal Ore": 5.0,
          "Metal Ore": 5.0,
          "Stones": 5.0,
          "Sulfur Ore": 5.0
        },
        "QuarryResourceModifiers": {
          "High Quality Metal Ore": 15.0,
          "Metal Fragments": 15.0,
          "Metal Ore": 15.0,
          "Stones": 5.0,
          "Sulfur Ore": 15.0
        },
        "SurveyResourceModifiers": {}
      },
     
  18. Yea that's fine, I can't reproduce it myself so I'll test with your config file when I'm not busy.
     
  19. Hey,

    I'm still not able to reproduce your issue. Could you private message me the response in your servers RCON of the oxide command "plugins" please? I want to see if you have any potential plugins that'd be interfering.
     
  20. It's not something that comes up in console, it's some random thing no one can put their finger on. However, I notice when I restart my server (once a day) the unlimited skinning goes away, or becomes an anomaly, one in a hundred or so. It's like some "stack heap error" or something, I don't know, maybe @Resistance can be of more help, I will pay more attention to this bug as it happens in the future.
     
    Last edited by a moderator: Aug 30, 2017