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. Plugin flag pvpgod seems to still sometimes allow people to take damage from other players, People have taken damage from gunfire and from salvaged axe.
     
  2. Wrong thread??
     
  3. oh shoot your right i'm sorry,
    I LOVE THE PLUGIN THO, I have been using it to power my store for months, after i figured out how properly add and edit the config/data file lol. Keep up the great work >!!!
     
  4. okay guys, treat me like I'm 5 please. I'm assuming the example list cannot be changed into items or cost you would like (as i have tried this), but every time i enter my own coding, I get various missing parameter warnings or failed to compile. If someone would be so kind to show me an example of say 1 ak costs idk 1000 high quality metal, and where would I insert that syntax?
     
  5. >Hello ! need help here.
    Im trying to add 2prices items for one reward ans i m stuck with the syntax...
    I got error behind "DisplayName": "Rocket Launcher",

    "(JsonReaderException: After parsing a value an unexpected character was encountered: {. Path 'TradeLists.list4.Offers[1].Price', line 105, position 5.)"

    Code:
     "list4": {
          "Offers": [
            {
              "Price": {
                "DisplayName": "Battery-Small",
                "Amount": 4
              },
              "Reward": [
                {
                  "DisplayName": "Rocket Launcher",
                  "Amount": 1
                },
                {
                  "DisplayName": "High Velocity Rocket",
                  "Amount": 10
                }
              ]
            },
            {
              "Price": {
                "DisplayName": "Targeting Computer",
                "Amount": 5
              }
              {
                  "DisplayName": "Assault Rifle",
                  "Amount": 2
                },
              "Reward": [
                {
                  "DisplayName": "Auto Turret",
                  "Amount": 2
                }
              ]
            }
          ],
          "Listname": "list4"
     
  6. Is there a way to disable BP's recycling? I think it's buggy and I want to turn it off....
     
  7. RUST is asking for an update, please advise my players like this , thanks 5/15/16
     
  8. This will stop working tomorrow, update anyone please.
     
  9. There's got to be a way to make the system think it's a newer file I'll give it a try tonight and let you know
     
  10. I fixed it and it works! LOL. I just changed two lines as follows:

    Before change:

    void OnPlayerLoot(PlayerLoot lootInventory, object lootable)
    {
    var looter = lootInventory.GetComponent<BasePlayer>();

    After change:

    void OnLootEntity(BasePlayer player, object lootable)
    {
    var looter = player.GetComponent<BasePlayer>();

    I am not a coder, and I don't know WTF I'm doing. I just mimicked the changes made in the Airdrop Extended plugin 1.0.7.
    I can't take over this or any plugin, but I hope someone else can take this plugin over, just in case something more complicated needs to be fixed.
     

    Attached Files:

  11. Wulf

    Wulf Community Admin

    I'll likely be extending it a bit, but I'll be updating a few that I see.

    PS. You don't need to get the player, you already have it.
     
  12. It failed to compile if I didn't change the lootInventory to player on that second line. But yea, I don't know anything of how this stuff works. Finally got it to compile the third try, lol.
     
  13. Wulf

    Wulf Community Admin

    Likely because the reference looter, not player, is in the code everywhere still. You can remove that line and rename player to looter, or rename all references to looter to player.
     
  14. YOU ARE THE BOMB !! Thnx and all the players thank you !!!
     
  15. Can someone just upload their fixed cs file then plz
     
  16. Wulf

    Wulf Community Admin

    It has been posted already. MoegicBox | Page 5 | Oxide
     
  17. 5 messages above yours bro
     
  18. ......
     
    Last edited by a moderator: Jul 17, 2016
  19. Guys am i the only one who can't link boxes ? Like it says linkbox mode [ON] but it don't do anything when i open the box ? Thx for your help :).
     
  20. After the oxide update this doesn't appear to be working again. This was using the one posted above by snivel.


    Code:
    (13:11:42) | [Oxide] 05:11 [Error] MoegicBox plugin failed to compile!
    (13:11:42) | [Oxide] 05:11 [Error] MoegicBox.cs(548,21): error CS1061: Type `BaseEntity' does not contain a definition for `LookupShortPrefabName' and no extension method `LookupShortPrefabName' of type `BaseEntity' could be found. Are you missing an assembly reference?