Replenish

Easily reset/replenish loot in storage boxes and containers after a certain amount of time.

Total Downloads: 1,542 - First Release: Jun 10, 2016 - Last Update: Apr 5, 2018

5/5, 11 likes
  1. Skrallex submitted a new resource:

    Replenish - Easily reset/replenish loot in storage boxes after a certain amount of time.

    Read more about this resource...
     
  2. Skrallex updated Replenish with a new update entry:

    1.1.0

     
  3. What about making the replenish boxes unkillable?
     
  4. can we get non destroy on boxes that are replenish? or have the box respawn on replenish if destroyed?
     
  5. Is it possible to have random loot for ever...Because the responable item is only the same
     
  6. Plugin IS GREAT
     
  7. Can we please get an update for this!
    [Oxide] 02:20 [Error] Replenish plugin failed to compile!
    [Oxide] 02:20 [Error] Replenish.cs(382,45): error CS1501: No overload for method `CreateByItemID' takes `4' arguments
     
  8. Wulf

    Wulf Community Admin

    Here you go.
     
  9. Thank you Wulf <3
     
  10. love this plugin , i am getting this in console [Oxide] 08:19 [Error] Replenish.cs(366,31): error CS1061: Type `Item' does not contain a definition for `IsBlueprint' and no extension method `IsBlueprint' of type `Item' could be found. Are you missing an assembly reference?
     
  11. PLEASE FIX THE PLUGIN.
     
  12. I updated the file, it seems to be working fine now.
     
    Last edited by a moderator: Jul 10, 2016
  13. Wulf

    Wulf Community Admin

    It was already fixed, see Replenish | Oxide.
     
  14. it did me error.... so now sober schism fixed it Your update didnt work for meh

    @Wulf
     
  15. yea @Wulf you must have upload the wrong version that was fixed, that one you have still has blueprints in the code which was messing it up
     
  16. Wulf

    Wulf Community Admin

    It just wasn't tested and there wasn't any confirmation. ;) Here's the other:
     

    Attached Files:

  17. @Wulf Used your fixed version but as
    Now it works! Thanx for the fix @Wulf ! :)
     
  18. Thank you Wulf, it is working great now, appreciate all your work
     
  19. hello, rust just did another update just a minute ago, i tried to use the replenish and keep getting kicked everytime i get ready to hit a box. This is what im getting InvalidProgramException: Invalid IL code in Hammer:DoAttackShared (HitInfo): IL_003d: ret
     
  20. Apologies for my absence, I wasn't getting notifications for replies to this thread. I've fixed the crashing since the XP update, however am currently away on holiday until next week so won't be able to upload and finish it. For the moment, just use the version kindly provided by Wulf, it just removes the couple of lines referencing whether or not an item is a blueprint when saving and restoring the box inventory.

    I've also added support for inventories other than the large and small boxes, ie. Furnaces, refineries, small stashes, stockings, camp-fires etc. so that will be available when I can finish testing and reupload.