GatherManager

Moved

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

4.93893/5, 131 likes
  1. Check your logs for errors, if it's saying that the command isn't found that it's not loading correctly and an error should be present in the logs.
     
  2. works from in game chat command only
     
  3. Woops, didn't see he said rusty :p thanks :)
     
  4. Hello Folks! :D

    Mughisi , it happens the same as Robo2929 , it works for wood but not for stones :(
     
  5. Suggestion : You should add an option for only for speed.I edited mine @ my server for example if 1x gives you 750 wood this will give also 750 wood but faster :). @Mughisi , you may add this as optional ablity.

    Here is the code for who wants this also.
    Code:
    function PLUGIN:OnGather( dispenser, entity, item )
        -- Increase the amount of the item gained with the modifier, this needs to be
        -- extended in the future to allow for on playerbase modifications, different
        -- modifiers per resource and different resources per dispenser.
        if entity:ToPlayer() then
            if tonumber( item.amount ) then
                CurrentAmount = item.amount;
                ChangeAmount = (CurrentAmount * self.Config.Settings.GatherMultiplier) - CurrentAmount;
                ItemList = dispenser.containedItems;
                ItemList = ItemList:GetEnumerator();
                while ItemList:MoveNext() do
                    if (ItemList.Current.itemid == item.info.itemid) then
                        if (ChangeAmount >= ItemList.Current.amount) then
                            ChangeAmount = ItemList.Current.amount
                        end
                        item.amount = item.amount + ChangeAmount;
                        ItemList.Current.amount = ItemList.Current.amount - ChangeAmount 
                    end
                end
            end
            counter = 0
            ItemList = dispenser.containedItems;
            ItemList = ItemList:GetEnumerator();
            while ItemList:MoveNext() do
                counter = counter + ItemList.Current.amount
            end
            if math.floor(counter) <= 0 then
                TreeObj = dispenser
                TreeObj:SendMessage("KillMessage");
            end
        end
    end
     
  6. i think gather is broke. its not taking the correct settings for rates.
     
  7. There was a complete change in the code that calculates how much resources you get from a ResourceDispenser, all what this plugin does is grab the amount and multiplies it with your value before giving the item.
     
  8. I did 3x = 10× with the change
     
  9. the rates are all over the place atm since the update i had to set it on like 30x just to get 600wood per hit off a tree but then cloth and few other thigns change to 2500 per hit everything is really unbalanced
     
  10. how to change the level? to moderator could not use
     
  11. Wulf

    Wulf Community Admin

    Same answer as with the other post I replied to.

    Also, it's likely the plugin isn't working, which is why you can't seem to use it. You should check your logs for errors.
     
  12. u just have to set it alot higher like above 10x atm to get any decent wood hits from trees
     
  13. I meant to do ban the player and Moderator
    so that only the administrator can use
    [DOUBLEPOST=1424368204][/DOUBLEPOST]excuse me for my bad english
     
  14. Hey, is there any option to set gather to type of resource? f.e: /gather wood 20 (20 as multiplier) or /gather wood 1000 as amount per hit?
     
  15. I'll be adding the options to change the modifier per resource in a future update, I'm just busy right now so it's taking me longer as expected to be releasing plugin updates/improvements.
     
  16. Hello im sorry for asking that but i typed in /gather 2 for testing and my console says Resources from gathering is set to x1 , i tried 3,4 and much more but it always tells me in console changed to x1 :S can someone help me?
     
  17. Are you set as owner with the "ownerid" console command? Since the plugin only returns the current value with the command /gather when the player using the command doesn't have the required AuthLevel
     
  18. Its working now :) Thx sry^^
     
  19. Is gather rate still working since the new Rust update? 03/05/2015.
     
  20. Wulf

    Wulf Community Admin

    Test and see! :)