UGather

Adds zones, permissions, and other options to modify gather rates!

Total Downloads: 6,540 - First Release: Mar 14, 2016 - Last Update: Apr 28, 2018

5/5, 19 likes
  1. (03:20:38) | [Oxide] 11:20 [Error] Failed to call hook 'OnQuarryGather' on plugin 'IGather v0.0.4' (KeyNotFoundException: The given key was not present in the dictionary.)

    I just downloaded this mod,, This is what I got right after I installed it all the way down my console.
    [DOUBLEPOST=1458242892][/DOUBLEPOST]disregard the above post, but I just downloaded the updated version .06 ? and got this message on load.

    (12:22:48) | [Oxide] 20:23 [Error] IGather plugin failed to compile!

    (12:22:48) | [Oxide] 20:23 [Error] IGather.cs(12,56): error CS0031: Constant value `1763' cannot be converted to a `int'
     
  2. Oh sorry, give me a second.
     
  3. DylanSMR updated IGather with a new update entry:

    0.0.7


    [DOUBLEPOST=1458243164][/DOUBLEPOST]Fixed the problem with the resourceID, it was "1759f" :p
     
  4. I installed it and I'm getting this again. I don't know what all this means because im not smart. lol all I know is its taking up my console.

    given key was not present in the dictionary.)

    (13:13:14) | [Oxide] 21:13 [Error] Failed to call hook 'OnDispenserGather' on plugin 'IGather v0.0.7' (KeyNotFoundException: The given key was not present in the dictionary.)


    I have Zlevels, does that conflict with this? I don't have a modified gather rate, except the quarries, but im getting the same error for other hooks too, over and over, the console just keeps scrolling.

    heres another error for instance.

    (13:16:12) | [Oxide] 21:16 [Error] Failed to call hook 'OnCollectiblePickup' on plugin 'IGather v0.0.7' (KeyNotFoundException: The given key was not present in the dictionary.)
     
  5. No it shouldn't effect anything. Try reloading the plugin a few times. I will put a patch out later that should fix this. :D
    [DOUBLEPOST=1458251890][/DOUBLEPOST]Also, upon installing the most recent version. Make sure to rejoin the game after it loads as it acts as if your data was wiped(It really wasn't!)
     
  6. If the players in the game and data file an empty, then you get this error. Kick all players or restart server. Join player write to file, and error is gone.
    Hope you understand me, because my english level is google translate. :)
     
  7. Yes, I understand, im wiping map anyways so good time to get the server restarted.

    Thanks for your help. I like the Individual gather concept.
     
  8. Thanks! Ive been busy today so I never got the chance to respond.

    Thanks man :D
     
  9. how soon ?
     
  10. I tested work three plugins simultaneously (zLevelsRemastered, GatherManager and IGather). They work fine, but each has its own priority.
    1. zLevels - base rate.
    2. GatherManager - multiples the zLevels.
    3. IGather - highest priority. Multiplies all. :)

    E.g.
    zLevel give us 100 wood per 1 hit with an ax. GatherManager give x3 rate, i.e. we get already 300 wood. And IGather dominated over all the.. ;) That is, if IGatner adds x3, we get 900 wood.

    RUS: Я проверил работу трех плагинов вместе (zLevelsRemastered, GatherManager and IGather). Все работает, но каждый плагин имеет свой приоритет.
    1. zLevels - базовые рейты.
    2. GatherManager - умножает рейты Zlevels.
    3. IGather - наивысший приоритет. Умножает всё.

    Например:
    zLevels дает нам 100 дерева за 1 удар топором. GatherManager настроен на х3 рейты, т.е. мы получаем уже 300 дерева за удар. И IGather доминирует над всеми. ;) То есть если IGather добавляет х3 рейты, мы имеем уже 900 за удар.
     
  11. /igather setall This command cannot be used。
     
  12. Strangely. I'm used this command yesterday. Everything is working. Only there are no messages in chat, but datafile is changed.
     
  13. I don't have it showed no effect.
     
  14. How you use command? /igather setall all 3 work for me.
     
  15. Ill work with all the bugs soon. Me and a few friends have been doing stuff so I have been busy. Update will be tomorrow or saturday.
    [DOUBLEPOST=1458291836][/DOUBLEPOST]
    Setall or defaultall doesn't have messages yet. Im gonna add those soon as well.
     
  16. DylanSMR updated IGather with a new update entry:

    0.0.8

     
  17. Sorry, but I have this error.

    [Oxide] 22:29 [Info] IGather was compiled successfully in 2180ms
    [Oxide] 22:29 [Info] Loaded plugin IGather v0.0.8 by DylanSMR

    Then I hit the tree

    [Oxide] 22:30 [Error] Failed to call hook 'OnDispenserGather' on plugin 'IGather v0.0.8' (KeyNotFoundException: The given key was not present in the dictionary.)
    [Oxide] 22:30 [Debug] at System.Collections.Generic.Dictionary`2[System.UInt64,Oxide.Plugins.IGather+UserInfo].get_Item (UInt64 key) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.IGather.OnDispenserGather (.ResourceDispenser dispenser, .BaseEntity entity, .Item item) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.IGather.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0

    Is this possible due to the fact that I have changed production plugin
    GatherConfig for Rust?
     
  18. Try restarting your server, someone mentioned this earlier in my thread and posted a fix for me.
     
  19. does`n work VIP permission. give him and rate default. can fix?
     
  20. When you give a player VIP data they need to have not connected before. I plan on adding a way to remove that players data to make sure they get the VIP gather rate. For now just manually give them it.