GatherManager

Moved

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

4.93893/5, 131 likes
  1. You cant do rates for groups
     
  2. Thank you :)
     
  3. Hello,
    I would like to increase x2 rocks like sulfur or metal

    I do not know how to do

    Thank you for your help
     

  4. Quarry.tickrate has been broken for months, and still is. :(
     
  5. Any reason the pump jack is generating 2 billion crude oil per tick?
     
  6. Hello folks,

    I'm fairly new to running a rust server and oxide at that.
    Now i've got most of my plugins to work but the most important one just wont work, Gather Manager...

    I've set the rates in the config file as instructed and have restarted the server to see if it works.
    I noticed that it wasn't unfortunately.. So when I checked the server console for the logs I noticed an error message.

    I'm not sure what to make of it, but i'm sure allot of you veterans in here will.
    Next to the error i've also made sure to view my gather rate config settings. Check out the attachment on this thread for the screenshot.

    If anyone can guide me into the right direction i'd be very grateful!

    Cheers,

    - Mag
     

    Attached Files:

  7. Delete the config you have done it wrong go read the overview and see the sample rcon commands you can use on the overview also reading passed posts members do upload configs like this one Gather Manager | Page 84 | Oxide
     
  8. Hey can anyone help me? When i restart server or somethime it changes thw rate to 100000 my friend is getting 54m wood from 1 hit...
     
  9. Hello, I am new to Rust server hosting and I rented a server from a place named Survival Servers. I don't have access to the start-example.bat, how do I use permissions and how will i change the multiplier on my server? Thanks!
     
  10. See the panel you login to from your host all you need should be there also asking your host would be the way to go as its there hosting
     
  11. after today update gather rate not working on HQ metal :\
     
  12. It needs an update I guess. I can get just 1 HQM. :/
     
  13. Can confirm that. Only 2 HQ per node for us
     
  14. Yes only getting 1 HQM per node
     
  15. It's only in 2 HQ :(
     
  16. Can also confirm, HQ is low!
     
  17. Code:
    if(item.info.displayName.english.Contains("Metal"))
    {
       var rands = rand.Next(1, 10);
       int HQ = item.amount;
       HQ *= rands;
       HQ /= 100;
       player.inventory.GiveItem(ItemManager.CreateByItemID(374890416, HQ), player.inventory.containerMain);
    }
    
    do the trick :)
    Giving 1-10% of metal amount gathered to HQ and put in player inventory
     
  18. Im not a plugin dev. Noob question...where do I put this? xD
    Thanks! =]
     
  19. they changed nodes period. metal ore nodes nolonger give high amounts of hqm they have said start using quarries if you want hqm now.

    so unless there's way to bypass the vanilla change you cant till the plugin dev responds/updates. i would hope maybe he'd set up a default config with gather rates for all nodes/types/resources so if maybe we wanna revert to old nodes..but yeah... kinda sad now about the change
    [DOUBLEPOST=1498780479][/DOUBLEPOST]heres what devs changed.

    Code:
    Lastly, in what is sure to be a controversial decision, I have removed HQM from ore nodes with the exception of the metal one. You will instead receive 2 HQM in the finishing bonus of a metal ore node. This means if you want to pump out guns you're going to need to build a quarry. I plan to revisit how quarries work next week, and make them not only more viable but necessary and fun to use. If you're a lone wolf you should be able to get by via recycling or trading. You shouldn't need to pump out 5 AK47s a day, so getting 2 HQM for hitting a static object in the world for 10 seconds should not be a huge issue.
     
  20. Open up GatherManager and replace "OnDispenserGather" with this:
    Code:
            private void OnDispenserGather(ResourceDispenser dispenser, BaseEntity entity, Item item)
            {
                if (!entity.ToPlayer()) return;            var gatherType = dispenser.gatherType.ToString("G");
                var amount = item.amount;            if (GatherResourceModifiers.ContainsKey(item.info.displayName.english))
                    item.amount = (int)(item.amount * GatherResourceModifiers[item.info.displayName.english]);
                else if (GatherResourceModifiers.ContainsKey("*"))
                    item.amount = (int)(item.amount * GatherResourceModifiers["*"]);
                if(dispenser.name.Contains("metal-ore"))
                {
                    entity.ToPlayer().inventory.GiveItem(ItemManager.CreateByItemID(2133577942, 3), entity.ToPlayer().inventory.containerMain);
                }          
                if (!GatherDispenserModifiers.ContainsKey(gatherType)) return;            var dispenserModifier = GatherDispenserModifiers[gatherType];
                dispenser.containedItems.Single(x => x.itemid == item.info.itemid).amount += amount - item.amount / dispenserModifier;            if (dispenser.containedItems.Single(x => x.itemid == item.info.itemid).amount < 0)
                    item.amount += (int)dispenser.containedItems.Single(x => x.itemid == item.info.itemid).amount;
            }
    this will give a player 3 HQM every hit on a metal node, change the "3" to a number of your choice. Remember this is the number they will get EVERY hit.