1. Code:
    localConfig.items = JsonConvert.DeserializeObject<List<itemMeta>>(
                    "[" +
                    "{'name': 'bone_fragments', 'stackSize': 100000}," +
                    "{'name': 'bandage', 'stackSize': 100}," +
                    "{'name': 'charcoal', 'stackSize': 100000}," +
                    "{'name': 'cloth', 'stackSize': 100000}," +
                    "{'name': 'fat_animal', 'stackSize': 100000}," +
                    "{'name': 'gunpowder', 'stackSize': 100000}," +
                    "{'name': 'lowgradefuel', 'stackSize': 100000}," +
                    "{'name': 'metal_fragments', 'stackSize': 100000}," +
                    "{'name': 'metal_ore', 'stackSize': 100000}," +
                    "{'name': 'metal_refined', 'stackSize': 100000}," +
                    "{'name': 'paper', 'stackSize': 100000}," +
                    "{'name': 'stones', 'stackSize': 1000000}," +
                    "{'name': 'sulfur', 'stackSize': 100000}," +
                    "{'name': 'sulfur_ore', 'stackSize': 100000}," +
                    "{'name': 'wood', 'stackSize': 100000}" +
                    "]"
    Why don't bandages stack, also metal ore only stacks to 10000
     
    Last edited by a moderator: May 15, 2015
  2. hey wulf can u help me? In my json file i added lines of items i wanted to stack. Example:
    Code:
          {
            "name": "fat_animal",
            "stackSize": 1000000
          },
         {
            "name": "lock.code",
            "stackSize": 50
          },
         {
            "name": "lock.key",
            "stackSize": 50
          },
         {
            "name": "box_wooden",
            "stackSize": 50
          },
         {
            "name": "box_wooden_large",
            "stackSize": 50
          },
    But it isnt working in the server. (except a few like large medkit and code lock)
    For cs file i only added these lines:

    "{'name': 'gunpowder', 'stackSize': 10000}," +
    "{'name': 'lowgradefuel', 'stackSize': 10000}," +
    "{'name': 'metal_fragments', 'stackSize': 10000}," +
    "{'name': 'largemedkit', 'stackSize': 1}," +
    "{'name': 'wolfmeat_cooked', 'stackSize': 20}," +
     
    Last edited by a moderator: May 9, 2015
  3. [5/9/2015 10:42:07 PM] [Oxide] 10:42 PM [Error] Failed to load plugin 'stacksize' (no source found)
    [DOUBLEPOST=1431212571,1431204329][/DOUBLEPOST]go do an update Please plugins no longer works on the new release
     
  4. Wulf

    Wulf Community Admin

    Please post your full Oxide log. Also, did you edit the plugin directly at all?
     
  5. Here the file
    [DOUBLEPOST=1431216333][/DOUBLEPOST]12:45 info stacksizes
     

    Attached Files:

  6. Wulf

    Wulf Community Admin

    It appears to compile and load just fine aside from the initial loading error, but other than that it should work. Did you edit the config?
     
  7. yes
    [DOUBLEPOST=1431216887][/DOUBLEPOST]here the file .json
     

    Attached Files:

  8. CHR

    CHR

    Well i like this Plugin... but im unavle to stack bandages etc... i hope someone can update this... would love to stack grenades and stuff
     
  9. you should add a default to the top of the config for things that are not listed, and if that is enabled or not. Save a lot of typing ;)
     
  10. Last edited by a moderator: May 15, 2015
  11. HI. I get reports that stacks plugin not longer working,
    after the update from rust to day. we all have 1000 max not 500000 stack sizes any more. (

    i have something changed in the LUA and stack sizes works now. ;)
     
    Last edited by a moderator: May 15, 2015
  12. Wulf

    Wulf Community Admin

  13. Plugin is not work with new update :( All stacks max 1000
     
  14. plugin is worked man
     
  15. I have change everything in the list, in the StackSizes.cs
    with one extra zero 0 . 1000000
    view screenshot
    http://prntscr.com/75kokx
    And update the Oxide 2 restart the server .
    so I did it, and it is still working.

    let me hear if it works well with you
     
  16. Want more the 1000 stack on my server but cant find a way to install
     
  17. Good for you. Unfortunately for me still not work since last rust update. The plugin load in without any problem, but no effect in game.
     
  18. How to add new items?
    Code:
    HV Pistol Ammo
    HV 5.56 Rifle Ammo
    High Velocity Rocket
    Smoke Rocket WIP!!!!
    Rocket
    and etc
    Thanks in advance!
     
  19. I was wondering if you could add like ammo stacksizes to this?

    ~I added the ammo's into the lines, but the stacking doesnt seem to be working? Do I use nickname or item name?
     
    Last edited by a moderator: May 16, 2015
  20. how do I ammo stacking when edity json file tryed the same code with like name wooden_arrow stack size 100 any help or this only for resources