GatherManager

Moved

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

4.93893/5, 131 likes
  1. Hi I have a problem as well;
    Code:
    9:40 AM [Info] Loaded plugin Gathering Manager v2.2.1 by Mughisi
    9:40 AM [Error] Failed to initialize plugin GatherManager (InvalidCastException: Value is not a convertible object: System.Int32 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]])
    9:40 AM [Debug]   at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
      at System.Int32.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 (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
    9:40 AM [Info] Unloaded plugin Gathering Manager v2.2.1 by Mughisi
    I am running 2.0.1257, Rust Protocol: 1306

    Any help would be great
     
  2. Wulf

    Wulf Community Admin

    You have an invalid value in your config somewhere. Please upload it here and I'll take a look.
     
  3. "[Warning] GatherManager plugin is using deprecated hook: OnGather" why?
     
  4. Wulf

    Wulf Community Admin

  5. 2.0.1257, Rust Protocol: 1306

    Is there anything that can be done to fix this issue I have? Please let me know :)
     
  6. Wulf, thanks for the tip, deleted the files and restarted all OK thanks once again you are a legend
     
  7. I have this code whats does it mean? also is there a way to tell if they are hacking or spawning in goods? walling etc?
    Code:
    System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [Oxide] 3:06 AM [Error] Failed to call hook 'OnSurveyGather' on plugin 'Gathering Manager' (ArgumentException: failed to convert parameters)
    [Oxide] 3:06 AM [Debug]   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 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [Oxide] 3:06 AM [Error] Failed to call hook 'OnSurveyGather' on plugin 'Gathering Manager' (ArgumentException: failed to convert parameters)
    [Oxide] 3:06 AM [Debug]   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 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [Oxide] 3:06 AM [Error] Failed to call hook 'OnSurveyGather' on plugin 'Gathering Manager' (ArgumentException: failed to convert parameters)
    [Oxide] 3:06 AM [Debug]   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 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [Oxide] 3:06 AM [Error] Failed to call hook 'OnSurveyGather' on plugin 'Gathering Manager' (ArgumentException: failed to convert parameters)
    [Oxide] 3:06 AM [Debug]   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 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [Oxide] 3:06 AM [Error] Failed to call hook 'OnSurveyGather' on plugin 'Gathering Manager' (ArgumentException: failed to convert parameters)
    [Oxide] 3:06 AM [Debug]   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 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [Oxide] 3:06 AM [Error] Failed to call hook 'OnSurveyGather' on plugin 'Gathering Manager' (ArgumentException: failed to convert parameters)
    [Oxide] 3:06 AM [Debug]   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 
      at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
    [Oxide] 3:06 AM [Info] [Rad Line v1.1.1] :: Radiation is now off
    StringPool.GetNumber - no number for string fx/headshot
    String ID is 0 - unknown effect fx/headshot
     
    Last edited by a moderator: Aug 8, 2015
  8. Wulf

    Wulf Community Admin

    Update Oxide, you're outdated.
     
  9. Excuse me Mr.Wulf, I got some questions for you.
    is m-GatherRate.lua and GatherManager.cs,lua old version ? because .cs couldn't let me enter /gather
     
    Last edited by a moderator: Aug 9, 2015
  10. hallo does anyone have a complate GatherManager.json file
     
  11. we need a nice updated version, i keep getting these loop errors. i unload and reload them to stop it from doing it for the moment. but it will lagg my server because of it...
     
  12. Wulf

    Wulf Community Admin

    Just delete your current one and it will generate a new one on plugin reload.

    Could you provide the errors? I haven't seen any errors.

    The old version is written in Lua. If the /gather command isn't working for you, check your logs for errors.
     
  13. Code:
    [Oxide] 7:41 PM [Error] Failed to call hook 'OnSurveyGather' on plugin 'Gathering Manager' (ArgumentException: failed to convert parameters)
    [Oxide] 7:41 PM [Debug] 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 at System.Reflection.MethodBase.Invoke (System.Object obj, System.Object[] parameters) [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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    i need help
    how fix
     
    Last edited by a moderator: Aug 9, 2015
  14. Wulf

    Wulf Community Admin

    Update Oxide.
     
  15. Just a quick one, on the quarries, doing, "gather.rate quarry "High Quality Metal" 10 dont seem to do anything, the rate dont change, but it says in console its changed, stone, sulfur work fine, just HQ metal.
     
  16. try reloading plugin?
     
  17. how can you increase the rate from pumpjack?
     
  18. is a console command
    just write gather.rate quarry "Crude Oil" 10
    or just write gather.rate Pump Jack "Crude Oil" 10
    and here is a full item list http://docs.oxidemod.org/rust/#item-list :D
     
    Last edited by a moderator: Aug 11, 2015
  19. I try entering gather.rate Pump Jack "Crude Oil" 10 and I get this back: "Invalid arguments supplied! Use gather.rate"

    It works for the quarry one though.
     
  20. Yeah im the same i have it set at x3 but still only get x1 but everything else works fine even Crude Oil on gather.rate quarry but HQMetal is a no go i have even run a few tests to see resetting it back to x1 with 20 LGFuel and x5 with LGFuel and get the same HQMetal. could you please explain what might be happening? and how this might be fixed? i have the latest update v2.2.1.