Stacksize

Moved

Total Downloads: 4,775 - First Release: Jan 24, 2016 - Last Update: Jul 27, 2017

5/5, 6 likes
  1. Wow! your on it, Ty very much for adding signs. I often leave notes in the form of 12+ signs around the server. This will be an an amazing help. Thank you again :)
     
  2. Please add Arrow Thx, it will be great
     
  3. Arrow can not be added until they make the ResourceItem class public. (It's an internal class)
     
  4. Noviets answer me please
     
  5. Your question was already answered. Along with many others that do not seem to read the other pages :(
    Post #21
     
  6. Noviet
    just tell me when you add rubies in your plugin ) ) sorry for my english)
     
  7. Engines are already added
     
  8. NullReferenceExepction:eek:bject reference not set to an instance of an object

    Error version oxide 3.5.1
     
  9. @Noviets I found a way to change the stacksize of any item, including the ones with internal (inaccessible) classes. Send me a PM.
     
  10. Noviets updated Stacksize with a new update entry:

    1.1.0

     
  11. i tried but my food dont stack for some reason. can someone help me?

    Code:
    if(Config["Steak"] == null) Config.Set("Steak", 255);
                if(Config["Ruby"] == null) Config.Set("Ruby", 255);
                if(Config["Arrows"] == null) Config.Set("Arrows", 255);
                if(Config["FreshOwrong"] == null) Config.Set("FreshOwrong", 255);
                if(Config["Dynamite"] == null) Config.Set("Dynamite", 100);
                if(Config["C4"] == null) Config.Set("C4", 255);
                if(Config["Paints"] == null) Config.Set("Paints", 255);
                if(Config["PoisonTrap"] == null) Config.Set("PoisonTrap", 255);
                if(Config["CarParts"] == null) Config.Set("CarParts", 1);
                if(Config["CarPanels"] == null) Config.Set("CarPanels", 1);
                if(Config["Wheels"] == null) Config.Set("Wheels", 1);
                if(Config["Designs"] == null) Config.Set("Designs", 255);
                if(Config["Drills"] == null) Config.Set("Drills", 255);
                if(Config["Wrench"] == null) Config.Set("Wrench", 255);
                if(Config["OwnershipStake"] == null) Config.Set("OwnershipStake", 255);
                if(Config["ConstructionHammer"] == null) Config.Set("ConstructionHammer", 255);
                if(Config["BlastFurnace"] == null) Config.Set("BlastFurnace", 255);
                if(Config["Backpacks"] == null) Config.Set("Backpacks", 255);
                if(Config["LandcrabMine"] == null) Config.Set("LandcrabMine", 255);
                if(Config["Sign"] == null) Config.Set("Sign", 255);
                SaveConfig();
            }
        }
    }
     
  12. Can you give me some tips? i'm quite new

    Edit: Nevermind i found it xD
     
  13. Duplicate (Delete me)
     
  14. Noviets updated Stacksize with a new update entry:

    1.1.1

     
  15. I've loaded the .cs to the oxide/plugins folder on the server. I've added the code below to the config file. It's not working, what am I doing wrong?

    {
    "Arrows": 75,
    "Backpacks": 1,
    "BlastFurnace": 1,
    "C4": 1,
    "CarPanels": 1,
    "CarParts": 1,
    "ConstructionHammer": 1,
    "Designs": 1,
    "Drills": 1,
    "Dynamite": 5,
    "FreshOwrong": 1,
    "LandcrabMine": 1,
    "OwnershipStake": 1,
    "Paints": 1,
    "PoisonTrap": 1,
    "Ruby": 5,
    "Sign": 1,
    "Steak": 5,
    "Wheels": 1,
    "Wrench": 1
    }
     
  16. Once you change the config type this in game: /reload Stacksize
     
  17. Designs and paints are set to 5 but they are not stacking.
     
  18. Designs and Paints are hardcoded to stack on 1 only. They can spawn on loot crates with stack of 5 but once you split them you can't join them back.