1. i tried with bullets but don't work
     
  2. You can stack them, i just do one each time then if it works i do 2 and so on, and all works for me. If i add too many then usually breaks somehow.
     
  3. Can u share pliz ? I want see this :p
     
  4. Keep in mind, mines for a x gather server.
    Code:
    {
      "Config": {
        "items": [
          {
            "name": "bone_fragments",
            "stackSize": 500000
          },
          {
            "name": "charcoal",
            "stackSize": 500000
          },
          {
            "name": "cloth",
            "stackSize": 500000
          },
          {
            "name": "fat_animal",
            "stackSize": 500000
          },
          {
            "name": "gunpowder",
            "stackSize": 500000
          },
          {
            "name": "lowgradefuel",
            "stackSize": 100000
          },
          {
            "name": "metal_fragments",
            "stackSize": 500000
          },
          {
            "name": "metal_ore",
            "stackSize": 500000
          },
          {
            "name": "metal_refined",
            "stackSize": 500000
          },
          {
            "name": "ammo_pistol",
            "stackSize": 250
          },
          {
           "name": "ammo_pistol_hv",
            "stackSize": 250
          },
          {
            "name": "ammo_rifle",
            "stackSize": 250
          },
          {
            "name": "ammo_rifle_hv",
            "stackSize": 250
          },
          {
            "name": "ammo_rifle_explosive",
            "stackSize": 250
          },
          {
            "name": "ammo_rifle_incendiary",
            "stackSize": 250
          },
          {
            "name": "ammo_rocket_basic",
            "stackSize": 50
          },
          {
            "name": "ammo_rocket_hv",
            "stackSize": 50
          },
          {
            "name": "ammo_rocket_fire",
            "stackSize": 50
          },
          {
            "name": "ammo_rocket_smoke",
            "stackSize": 50
          },
          {
            "name": "ammo_shotgun",
            "stackSize": 250
          },
          {
            "name": "arrow_wooden",
            "stackSize": 100
          },
          {
            "name": "paper",
            "stackSize": 10000
          },
          {
            "name": "bandage",
            "stackSize": 50
          },
          {
            "name": "largemedkit",
            "stackSize": 50
          },
          {
            "name": "syringe_medical",
            "stackSize": 50
          },
          {
            "name": "wolfmeat_raw",
            "stackSize": 250
          },
          {
            "name": "wolfmeat_cooked",
            "stackSize": 250
          },
          {
            "name": "chicken_cooked",
            "stackSize": 250
          },
          {
            "name": "chicken_raw",
            "stackSize": 250
          },
          {
            "name": "lock.code",
            "stackSize": 50
          },
          {
            "name": "furnace",
            "stackSize": 50
          },
          {
          "name": "ladder.wooden.wall",
          "stackSize": 25
          },
          {
           "name": "cupboard.tool",
           "stackSize": 25
          },
          {
            "name": "explosives",
            "stackSize": 250
          },
          {
            "name": "explosive.timed",
            "stackSize": 25
          },
          {
            "name": "mining.quarry",
            "stackSize": 50
          },
          {
            "name": "stones",
            "stackSize": 500000
          },
          {
            "name": "sulfur",
            "stackSize": 500000
          },
          {
            "name": "sulfur_ore",
            "stackSize": 500000
          },
          {
            "name": "wood",
            "stackSize": 500000
          }
        ]
      }
    }
     
  5. OMG thx my friend^^
     
  6. @Antec, does that config work for you? For some reason my config will not stack large med kits, syringes.


    Code:
    {
        "Config": {
            "items": [
                {
                    "name": "bone_fragments",
                    "stackSize": 75000
                },
                {   
                    "name": "charcoal",
                    "stackSize": 75000
                },
                {
                    "name": "cloth",
                    "stackSize": 75000
                },
                {
                    "name": "fat_animal",
                    "stackSize": 75000
                },
                {
                    "name": "gunpowder",
                    "stackSize": 75000
                },
                {
                    "name": "lowgradefuel",
                    "stackSize": 75000
                },
                {
                    "name": "metal_fragments",
                    "stackSize": 75000
                },
                {
                    "name": "metal_ore",
                    "stackSize": 75000
                },
                {
                    "name": "metal_refined",
                    "stackSize": 75000
                },
                {
                    "name": "paper",
                    "stackSize": 75000
                },
                {
                    "name": "stones",
                    "stackSize": 75000
                },
                {
                    "name": "sulfur",
                    "stackSize": 75000
                },
                {
                    "name": "sulfur_ore",
                    "stackSize": 75000
                },
                {
                    "name": "wood",
                    "stackSize": 75000
                },
                {
                    "name": "ammo_handmade_shell",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_pistol",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_pistol_fire",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_pistol_hv",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_rifle",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_rifle_explosive",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_rifle_incendiary",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_rifle_hv",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_rocket_basic",
                    "stackSize": 10
                },
                {
                    "name": "ammo_rocket_hv",
                    "stackSize": 10
                },
                {
                    "name": "ammo_rocket_fire",
                    "stackSize": 10
                },
                {
                    "name": "ammo_rocket_smoke",
                    "stackSize": 10
                },
                {
                    "name": "ammo_shotgun",
                    "stackSize": 1000
                },
                {
                    "name": "ammo_shotgun_slug",
                    "stackSize": 1000
                },
                {
                    "name": "arrow_hv",
                    "stackSize": 1000
                },
                {
                    "name": "arrow_wooden",
                    "stackSize": 1000
                },
                {
                    "name": "barricade.concrete",
                    "stackSize": 100
                },
                {
                    "name": "barricade.metal",
                    "stackSize": 100
                },
                {
                    "name": "barricade.sandbags",
                    "stackSize": 100
                },
                {
                    "name": "barricade.stone",
                    "stackSize": 100
                },
                {
                    "name": "barricade.wood",
                    "stackSize": 100
                },
                {
                    "name": "barricade.woodwire",
                    "stackSize": 100
                },
                {
                    "name": "wolfmeat_cooked",
                    "stackSize": 300
                },
                {
                    "name": "wolfmeat_raw",
                    "stackSize": 300
                },
                {
                    "name": "box_wooden",
                    "stackSize": 25
                },
                {
                    "name": "box_wooden_large",
                    "stackSize": 25
                },
                {
                    "name": "campfire",
                    "stackSize": 25
                },
                {
                    "name": "ladder.wooden.wall",
                    "stackSize": 25
                },
                {
                    "name": "cupboard.tool",
                    "stackSize": 25
                },
                {
                    "name": "apple",
                    "stackSize": 300
                },
                {
                    "name": "can_beans",
                    "stackSize": 300
                },
                {
                    "name": "can_tuna",
                    "stackSize": 300
                },
                {
                    "name": "chicken_cooked",
                    "stackSize": 300
                },
                {
                    "name": "chocolate",
                    "stackSize": 300
                },
                {
                    "name": "granolabar",
                    "stackSize": 300
                },
                {
                    "name": "humanmeat_cooked",
                    "stackSize": 300
                },
                {
                    "name": "humanmeat_raw",
                    "stackSize": 300
                },
                {
                    "name": "chicken_raw",
                    "stackSize": 300
                },
                {
                    "name": "mushroom",
                    "stackSize": 300
                },
                {
                    "name": "smallwaterbottle",
                    "stackSize": 300
                },
                {
                    "name": "furnace",
                    "stackSize": 25
                },
                {
                    "name": "lantern",
                    "stackSize": 25
                },
                {
                    "name": "lock.code",
                    "stackSize": 25
                },
                {
                    "name": "lock.key",
                    "stackSize": 25
                },
                {
                    "name": "antiradpills",
                    "stackSize": 300
                },
                {
                    "name": "bandage",
                    "stackSize": 15
                },
                {
                    "name": "largemedkit",
                    "stackSize": 10
                },
                {
                    "name": "syringe_medical",
                    "stackSize": 20
                },
                {
                    "name": "box_repair_bench",
                    "stackSize": 25
                },
                {
                    "name": "research_table",
                    "stackSize": 25
                },
                {
                    "name": "battery_small",
                    "stackSize": 250
                },
                {
                    "name": "blood",
                    "stackSize": 25
                },
                {
                    "name": "explosives",
                    "stackSize": 1000
                },
                {
                    "name": "skull_human",
                    "stackSize": 500
                },
          
                {
                    "name": "sleepingbag",
                    "stackSize": 25
                },
                {
                    "name": "supply_signal",
                    "stackSize": 10
                },
                {
                    "name": "trap_bear",
                    "stackSize": 100
                },
                {
                    "name": "spikes.floor",
                    "stackSize": 100
                },
                {
                    "name": "explosive.timed",
                    "stackSize": 25
                },
                {
                    "name": "grenade.beancan",
                    "stackSize": 10
                },
                {
                    "name": "grenade.f1",
                    "stackSize": 10            },
                {
                    "name": "blueberries",
                    "stackSize": 300
                }
            ]
        }
    }
     
  7. I don't try this but it's maybe the name ?
     
  8. The one i posted is the exact one i use and works fine, try deleting them and add them 1 by 1.
     
  9. Must be deleted line by line ?
     
  10. I would start deleting the ones that don't work then adding them 1 by 1, but that's just me.
    Use Json validator also.
     
  11. i dont really understand how to do this lol
     
  12. Keep getting this on the latest update:

    Code:
    > oxide.reload StackSizes
    [Oxide] 2:00 PM [Error] Exception while calling NextTick callback (InvalidOperationException: Process has not been started.)
    [Oxide] 2:00 PM [Debug]   at System.Diagnostics.Process.get_HasExited () [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.Diagnostics.Process:get_HasExited ()
      at Oxide.Plugins.PluginCompiler.CheckCompiler () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.PluginCompiler.Compile (System.Collections.Generic.List`1 plugins, System.Action`2 callback) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPluginLoader.CompileAssembly (Oxide.Plugins.CompilablePlugin[] plugs) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPluginLoader.<CompilationRequested>m__0 () [0x00000] in <filename unknown>:0
      at Oxide.Core.OxideMod.OnFrame (Single delta) [0x00000] in <filename unknown>:0 
    Any idea what it could be?
     
  13. U need to try restart with changing {
    "name": "lowgradefuel",
    "stackSize": 75000 -> 30000
    },

    One by on u need to try like this
     
  14. Ok, installing this MOD on my local machines test server, I found this to be a compiler error; specifically for the LoadDefaultConfig hook, relating to missing arguments. I don't know how this worked previously but on line 108 I changed

    Code:
    [HookMethod("LoadDefaultConfig")]
            void CreateDefaultConfig()
    to

    Code:
     [HookMethod("LoadDefaultConfig")]
            void LoadDefaultConfig()
    I found the discrepancy between the Hook and the Function names to be a bit weird so I tried changing it. At this point it now seems to work without issue.
     
    Last edited by a moderator: Jun 28, 2015
  15. Perfect, thanks mate.
     
  16. Hello there,

    Most of them are working like I edited the file,
    but some of them don't seem to work for some reason. I am sure these have to work, because on some
    servers I already encountered the stack sizes I want to change. I already asked another admin, he
    was sure that the formation was okay.
    Code:
                },
                {
                    "name": "Bandage",
                    "stackSize": 15
                },
                {
                    "name": "largemedkit",
                    "stackSize": 5
                },
                {
                    "name": "syringe_medical",
                    "stackSize": 20
                },
                {
                    "name": "explosive.timed",
                    "stackSize": 25
                {,
                {
                    "name": "explosives",
                    "stackSize": 1000
                {
    Ladders and wood for example work instantly after changing the stack sizes. Can anyone help me
    with that problem?
     
    Last edited by a moderator: Jun 29, 2015
  17. The coding quotes are all the wrong way around man. TBH, use the quote below, and just change the numbers below, nothing else. That'll get you going, too hard to go through cleaning up the horrible code.

     
  18. EDIT:

    Ah, dont worry, Stricken is right :)

    ---

    Chrisss, check my change above. On StrickenAza34's server, before a server restart, everything was stacking fine except wood. After a restart the entire stacking system reverted back to default.

    I can not guarantee this is the issue you are experiencing, but if you are sure your configuration file is correct, the server may not be loading the file like it should; this was exactly the error that was being experienced by StrickenAza34 as the compiler error was preventing the changed config file from being read and was properly using the last values it had been given somehow.
     
  19. All wrong ?, there was just one Mistake.. now here is my full Stack Sizes json, please take a look

    Where can i change it? im new to host a server im sorry
    Code:
    {
        "Config": {
            "items": [
                {
                    "name": "bone_fragments",
                    "stackSize": 75000
                },
                {
                    "name": "charcoal",
                    "stackSize": 100000
                },
                {
                    "name": "cloth",
                    "stackSize": 25000
                },
                {
                    "name": "fat_animal",
                    "stackSize": 25000
                },
                {
                    "name": "gunpowder",
                    "stackSize": 100000
                },
                {
                    "name": "lowgradefuel",
                    "stackSize": 25000
                },
                {
                    "name": "metal_fragments",
                    "stackSize": 100000
                },
                {
                    "name": "metal_ore",
                    "stackSize": 250000
                },
                {
                    "name": "metal_refined",
                    "stackSize": 75000
                },
                {
                    "name": "paper",
                    "stackSize": 1000
                },
                {
                    "name": "stones",
                    "stackSize": 250000
                },
                {
                    "name": "sulfur",
                    "stackSize": 100000
                },
                {
                    "name": "sulfur_ore",
                    "stackSize": 250000
                },
                {
                    "name": "wood",
                    "stackSize": 250000
                },
                {
                    "name": "ammo_handmade_shell",
                    "stackSize": 128
                },
                {
                    "name": "ammo_pistol",
                    "stackSize": 128
                },
                {
                    "name": "ammo_pistol_fire",
                    "stackSize": 128
                },
                {
                    "name": "ammo_pistol_hv",
                    "stackSize": 128
                },
                {
                    "name": "ammo_rifle",
                    "stackSize": 128
                },
                {
                    "name": "ammo_rifle_explosive",
                    "stackSize": 128
                },
                {
                    "name": "ammo_rifle_incendiary",
                    "stackSize": 128
                },
                {
                    "name": "ammo_rifle_hv",
                    "stackSize": 128
                },
                {
                    "name": "ammo_rocket_basic",
                    "stackSize": 5
                },
                {
                    "name": "ammo_rocket_hv",
                    "stackSize": 5
                },
                {
                    "name": "ammo_rocket_fire",
                    "stackSize": 5
                },
                {
                    "name": "ammo_rocket_smoke",
                    "stackSize": 5
                },
                {
                    "name": "ammo_shotgun",
                    "stackSize": 128
                },
                {
                    "name": "ammo_shotgun_slug",
                    "stackSize": 128
                },
                {
                    "name": "arrow_hv",
                    "stackSize": 128
                },
                {
                    "name": "arrow_wooden",
                    "stackSize": 128
                },
                {
                    "name": "barricade.concrete",
                    "stackSize": 100
                },
                {
                    "name": "barricade.metal",
                    "stackSize": 100
                },
                {
                    "name": "barricade.sandbags",
                    "stackSize": 100
                },
                {
                    "name": "barricade.stone",
                    "stackSize": 100
                },
                {
                    "name": "barricade.wood",
                    "stackSize": 100
                },
                {
                    "name": "barricade.woodwire",
                    "stackSize": 100
                },
                {
                    "name": "wolfmeat_cooked",
                    "stackSize": 500
                },
                {
                    "name": "wolfmeat_raw",
                    "stackSize": 500
                },
                {
                    "name": "box_wooden",
                    "stackSize": 25
                },
                {
                    "name": "box_wooden_large",
                    "stackSize": 25
                },
                {
                    "name": "campfire",
                    "stackSize": 25
                },
                {
                    "name": "ladder.wooden.wall",
                    "stackSize": 25
                },
                {
                    "name": "cupboard.tool",
                    "stackSize": 25
                },
                {
                    "name": "chicken_cooked",
                    "stackSize": 300
                },
                {
                    "name": "chicken_raw",
                    "stackSize": 300
                },
                {
                    "name": "mushroom",
                    "stackSize": 300
                },
                {
                    "name": "furnace",
                    "stackSize": 25
                },
                {
                    "name": "lantern",
                    "stackSize": 25
                },
                {
                    "name": "lock.code",
                    "stackSize": 25
                },
                {
                    "name": "lock.key",
                    "stackSize": 25
                },
                {
                    "name": "antiradpills",
                    "stackSize": 10
                },
                {
                    "name": "Bandage",
                    "stackSize": 15
                },
                {
                    "name": "largemedkit",
                    "stackSize": 5
                },
                {
                    "name": "syringe_medical",
                    "stackSize": 20
                },
                {
                    "name": "box_repair_bench",
                    "stackSize": 25
                },
                {
                    "name": "research_table",
                    "stackSize": 25
                 },
                 {
                    "name": "battery_small",
                    "stackSize": 250
                 },
                 {
                    "name": "blood",
                    "stackSize": 25
                 },
                 {
                    "name": "explosives",
                    "stackSize": 1000
                 },
                 {
                    "name": "trap_bear",
                    "stackSize": 100
                 },
                 {
                    "name": "spikes.floor",
                    "stackSize": 100
                 },
                 {
                    "name": "explosive.timed",
                    "stackSize": 25
                 },
                 {
                    "name": "grenade.beancan",
                    "stackSize": 10
                 },
                 {
                    "name": "grenade.f1",
                    "stackSize": 10
                 },
                 {
                    "name": "ladder",
                    "stackSize": 10
                 },
                 {
                    "name": "skull_wolf",
                    "stackSize": 300
                }
            ]
        }
    }
     
    Last edited by a moderator: Jun 29, 2015
  20. 2 mistakes in the passage you quoted above. I'm new to server hosting too, hence why I used the above Config file to help me out, without all the hassle, then form that, I changed the numbers (values) to what I needed. If you can't see the errors yourself, you really should use the above config. I dont think anyone will want to sit there, and go through your config, which has all the indents missing because you didn't quote it as code.

    This is my config, edited from the above.

    Code:
    {
      "Config": {
        "items": [
          {
            "name": "bone_fragments",
            "stackSize": 10000
          },
          {
            "name": "charcoal",
            "stackSize": 50000
          },
          {
            "name": "cloth",
            "stackSize": 10000
          },
          {
            "name": "fat_animal",
            "stackSize": 10000
          },
          {
            "name": "gunpowder",
            "stackSize": 10000
          },
          {
            "name": "lowgradefuel",
            "stackSize": 10000
          },
          {
            "name": "metal_fragments",
            "stackSize": 10000
          },
          {
            "name": "metal_ore",
            "stackSize": 10000
          },
          {
            "name": "metal_refined",
            "stackSize": 10000
          },
          {
            "name": "ammo_pistol",
            "stackSize": 250
          },
          {
           "name": "ammo_pistol_hv",
            "stackSize": 250
          },
          {
            "name": "ammo_rifle",
            "stackSize": 250
          },
          {
            "name": "ammo_rifle_hv",
            "stackSize": 250
          },
          {
            "name": "ammo_rifle_explosive",
            "stackSize": 250
          },
          {
            "name": "ammo_rifle_incendiary",
            "stackSize": 250
          },
          {
            "name": "ammo_rocket_basic",
            "stackSize": 50
          },
          {
            "name": "ammo_rocket_hv",
            "stackSize": 50
          },
          {
            "name": "ammo_rocket_fire",
            "stackSize": 50
          },
          {
            "name": "ammo_rocket_smoke",
            "stackSize": 50
          },
          {
            "name": "ammo_shotgun",
            "stackSize": 250
          },
          {
            "name": "arrow_wooden",
            "stackSize": 100
          },
          {
            "name": "paper",
            "stackSize": 10000
          },
          {
            "name": "bandage",
            "stackSize": 50
          },
          {
            "name": "largemedkit",
            "stackSize": 50
          },
          {
            "name": "syringe_medical",
            "stackSize": 50
          },
          {
            "name": "wolfmeat_raw",
            "stackSize": 250
          },
          {
            "name": "wolfmeat_cooked",
            "stackSize": 250
          },
          {
            "name": "chicken_cooked",
            "stackSize": 250
          },
          {
            "name": "chicken_raw",
            "stackSize": 250
          },
          {
            "name": "lock.code",
            "stackSize": 25
          },
          {
            "name": "furnace",
            "stackSize": 10
          },
          {
            "name": "ladder.wooden.wall",
            "stackSize": 25
          },
          {
            "name": "cupboard.tool",
            "stackSize": 5
          },
          {
            "name": "explosives",
            "stackSize": 250
          },
          {
            "name": "explosive.timed",
            "stackSize": 25
          },
          {
            "name": "mining.quarry",
            "stackSize": 50
          },
          {
            "name": "stones",
            "stackSize": 20000
          },
          {
            "name": "sulfur",
            "stackSize": 10000
          },
          {
            "name": "sulfur_ore",
            "stackSize": 10000
          },
          {
            "name": "wood",
            "stackSize": 20000
          }
        ]
      }
    }