Recycle

Recycle crafted items to base resources

Total Downloads: 3,965 - First Release: Aug 11, 2015 - Last Update: Apr 1, 2018

5/5, 12 likes
  1. I fixed it once for another issue, but this new update wrecked it again, as well as a bunch of other plugins. I don't know how to fix the "failed to compile" issue.
    I think Nogrod, Wulf, and a few other people know how. I guess we'll have to wait for someone because the original author doesn't maintain this plugin.
     
  2. Try using the file attached to this post, I have just corrected the errors that made the plugin fail to compile due to the recent rust updates. If there are other issues feel free to report them to the post and I am sure someone will be able to look at it :)
     
  3. Appears to load fine, shows help commands etc... but when you type the command /mrec or add a list to the box using /mlink <list> the box just opens and you don't get the confirmation the action took place creating a recycle box or trade box.
     
  4. Missed a change of prefab names, should work now with the attached file. (Only tested recycling)
     

    Attached Files:

  5. Fantastic - thanks again.

    upload_2016-7-25_15-28-27.png
     
  6. For developer: Recommend changing all calls of
    Code:
    LookupShortPrefabName()
    to
    Code:
    ShortPrefabName
    - the function being called was changed to a property.
     
  7. Wulf

    Wulf Community Admin

    The original author doesn't maintain it anymore, but it should already have been here: MoegicBox | Page 6 | Oxide
     
  8. If the original developer is no longer maintaining it, I might be interested in doing so myself. I've already made a couple of changes to the copy of the plugin I have on my server, and am going to begin testing it shortly. Is that something I would be able to do?
     
  9. Wulf

    Wulf Community Admin

    Feel free to post your updated versions here and I'll take a look. Just make notes of what you changed too.
     
  10. Calytic

    Calytic Community Admin Community Mod

    Calytic updated Recycle with a new update entry:

    2.0.0

     
  11. Calytic

    Calytic Community Admin Community Mod

    Calytic updated Recycle with a new update entry:

    2.0.1

     
  12. Pretty good. I just struggled a little with the fact that you can't do /rec in building blocked. I figured it out though.

    I'll miss the part about being able to make a box, a recycle box. I got a reputation for using them. People would know when I raided them by all the recycle boxes I would leave. Also it was quite hilarious when they would find out by accidentally putting all their rockets in one of them without checking if it was a recycle box or not.
    I know it's troll, but hey, welcome to rust.
    Maybe consider bringing that ability back?
     
  13. So, what are all the commands? The new post only shows /rec, and that works anywhere outside of building areas, and does not work on boxes.

    The older plugin doesn't use /rec at all...how do you use it? There is a claimed gui, but no gui is found.
     

  14. It just makes a section to the right of your screen of a small box with 1 free slot to drop stuff in. As long as you have /rec privilege.
     
  15. The new one does, yes. Not the old one, only really interested in the old one. As it seemed to have actual uses.
     
  16. Yea I wish he would maintain the old one instead. I got both on my server. They both work.
     
  17. Yes, I understand that...but there is a total lack of documentation for the old one. And no one seems to be kind enough to write what the commands are.
     
  18. From memory I can say:
    /mrec to enable, then you open box and it makes it a recycle box
    /mulink to make the box not a recycle box.

    I know there were other commands, but I don't know them. I think you may be able to look at the code in the .cs file and find the commands. I'll check later....
    [DOUBLEPOST=1473467958][/DOUBLEPOST]This is what I can grab from the code:

    /mrec starts recycle box mode
    /mlists shows available tradelists
    /mshow xxxx shows the contents of list named xxxx
    /mlink xxxx starts link mode for list named xxxx
    /mulink starts unlink

    Not sure what that other stuff actually does. I only used /mrec and /mulink
     
  19. Calytic

    Calytic Community Admin Community Mod

    Foreword:

    This plugin was requested, conceptualized and supported financially by @[HBros]Moe. He asked of me to publish it here under my name, even though he owns this code and it is thus a gift from him to the community.

    Moe, thanks for your contribution!

    Overview:

    This plugin allows admins to setup trade boxes to automate player-to-server trades based on configurable price-reward lists. The plugin also allows players to setup recycling boxes.

    Commands:

    /moe displays available commands and help
    /mlists lists all existing tradelists (admin only)
    /mshow xxx displays the contents of the xxxx list (admin only)
    /mlink xxxx *inks tradelist xxxx to the next box the player opens (admin only)
    /mulink converts the next opened box to a normal box
    /mrec converts the next opened box to a recycling box (must have price)

    Config:

    This plugin uses a different method to create/load it's config file, consequently the config is created in the data folder as opposed to the standard config folder. Load the plugin a first time to create the default config, edit it and then use oxide.reload MoegicBox to activate your configuration. Sorry to multiplay/clanforge hosted admins, sucks to be you.

    Other:

    I recommend using ZonesManager or some other plugin to protect the whole area around trade boxes if that matters to your situation.

    Also note that there currently is no ownership check on the /unlinkbox command, allowing any player to convert a recycle box back to a normal box even if he did not setup the box or have building privs.

    Important notes on recycling:

    There is an unintended side effect that I purposely left that allows players to recycle blueprints. For some reason, this results in giving the mats of the actual item to the player (put an AK bp in the box, AK mats appear in your inventory). Didn't plan this, but hey, OK I guess The recycler uses a % to give back mats and rounds up the amounts. In some cases, this may result in more than the actual % being given back. Recycling a medkit for example will give you back at least one syringe even if you set your % very low.
     
  20. Calytic

    Calytic Community Admin Community Mod

    Calytic updated Recycle with a new update entry:

    2.0.2