1. WBF

    WBF

    Im having trouble installing this plugin, I have downloaded the most recent version I have dropped the StackSizes.cs file in to my oxide/plugins folder yes Its still stacking in 1000s? Please could someone tell me what I am going wrong?
     
  2. Wulf

    Wulf Community Admin

    Did you check your Oxide logs for errors?
     
  3. WBF

    WBF

    No errors are being shown :/

    Edit, I read back up the topic and used the command: "oxide.reload StackSizes" which fixed the issue!

    Does anyone know of a list of item Id's which I could use when Configuring new Items in the list?
     
  4. After the last week update, all stack was max 1000. Plugin is load in without any error. I tried many things for fix it, even I was deleted the plugin and config files from my server. Download again the plugin, upload to my server....restart many times, use oxide.reload StackSizes, but nothing help me. How I fix my problem? I deleted all of plugins (and config, data) files from my server, and upload again one by one, start with StackSizes. Fortunately this way solved my problem. Later swap config file to my one, and still work.

    WBF: https://docs.google.com/spreadsheets/d/1L3T5AXFw9Uxda-56wjVA0muisrbVAi3NgplU_rShHTY/
     
  5. oxide.reload pluginnamehere < is case sensitive
    ie. = oxide.reload Stacksizes
    [DOUBLEPOST=1432026679][/DOUBLEPOST]
    do you by chance have Item Config plugin as well, this plugin overwrites stacks, you either need to edit it to have the same stacks you set for stack sizes, or remove it
     
  6. Is there any way to stack ammo? we can get it to spawn in in the size we set but we cannot get it to stack in any way. I know the short names are correct but still not able to stack or put back into a stack after splitting
     
  7. I manged too stack medical just have too keep playing with it till it works coding has too be 100% too work on rusty after editing type this in the rusty console"oxide.reload StackSizes" manged too get all stacking working if u like I can send the coding
     
  8. I have some problem for add stack in the game. Somebody can look mistake in my file please ?
    The problem are for ammunition, all other work :)

    Code:
    {
      "Config": {
      "items": [
      {
      "name": "bone_fragments",
      "stackSize": 50000
      },
      {
      "name": "charcoal",
      "stackSize": 250000
      },
      {
      "name": "cloth",
      "stackSize": 500000
      },
      {
      "name": "fat_animal",
      "stackSize": 50000
      },
      {
      "name": "gunpowder",
      "stackSize": 50000
      },
      {
      "name": "lowgradefuel",
      "stackSize": 50000
      },
      {
      "name": "metal_fragments",
      "stackSize": 250000
      },
      {
      "name": "metal_ore",
      "stackSize": 250000
      },
      {
      "name": "metal_refined",
      "stackSize": 250000
      },
      {
      "name": "paper",
      "stackSize": 10000
      },
      {
      "name": "stones",
      "stackSize": 1000000
      },
      {
      "name": "sulfur",
      "stackSize": 250000
      },
      {
      "name": "sulfur_ore",
      "stackSize": 250000
      },
      {
      "name": "wood",
      "stackSize": 500000
      },
      {
      "name": "ammo_pistol",
      "stackSize": 5000
      },
      {
      "name": "ammo_shotgun",
      "stackSize": 5000
      },
      {
      "name": "ammo_rifle",
      "stackSize": 5000
      },
      {
      "name": "ammo_handmade_shell",
      "stackSize": 5000
      },
      {
      "name": "ammo_rocket_hv",
      "stackSize": 5
      },
      {
      "name": "ammo_rifle_hv",
      "stackSize": 5000
      },
      {
      "name": "ammo_pistol_hv",
      "stackSize": 5000
      },
      {
      "name": "ammo_rocket_basic",
      "stackSize": 5
      },
      {
      "name": "ammo_rocket_smoke",
      "stackSize": 1
      },
      {
      "name": "arrow_wooden",
      "stackSize": 1000
      },
      {
      "name": "grenade.beancan",
      "stackSize": 50
      },
      {
      "name": "grenade.f1",
      "stackSize": 50
      }
      ]
      }
    }
    

    EDIT : solution top => WBF: https://docs.google.com/spreadsheets/d/1L3T5AXFw9Uxda-56wjVA0muisrbVAi3NgplU_rShHTY/

    But not working :(
     
    Last edited by a moderator: May 20, 2015
  9. mabye you ammo type too high looks all good
     
  10. ok, i have change to this, but not working :(

    Code:
    {
      "Config": {
        "items": [
          {
            "name": "bone_fragments",
            "stackSize": 50000
          },
          {
            "name": "charcoal",
            "stackSize": 250000
          },
          {
            "name": "cloth",
            "stackSize": 500000
          },
          {
            "name": "fat_animal",
            "stackSize": 50000
          },
          {
            "name": "gunpowder",
            "stackSize": 50000
          },
          {
            "name": "lowgradefuel",
            "stackSize": 50000
          },
          {
            "name": "metal_fragments",
            "stackSize": 250000
          },
          {
            "name": "metal_ore",
            "stackSize": 250000
          },
          {
            "name": "metal_refined",
            "stackSize": 250000
          },
          {
            "name": "paper",
            "stackSize": 10000
          },
          {
            "name": "stones",
            "stackSize": 1000000
          },
          {
            "name": "sulfur",
            "stackSize": 250000
          },
          {
            "name": "sulfur_ore",
            "stackSize": 250000
          },
          {
            "name": "wood",
            "stackSize": 500000
          }
        ],
        "ammunition": [
        {
          "name": "ammo_pistol",
          "stackSize": 5000
        },
        {
          "name": "ammo_shotgun",
          "stackSize": 5000
        },
        {
          "name": "ammo_rifle",
          "stackSize": 5000
        },
        {
          "name": "ammo_handmade_shell",
          "stackSize": 5000
        },
        {
          "name": "ammo_rocket_hv",
          "stackSize": 5
        },
        {
          "name": "ammo_rifle_hv",
          "stackSize": 5000
        },
        {
          "name": "ammo_pistol_hv",
          "stackSize": 5000
        },
        {
          "name": "ammo_rocket_basic",
          "stackSize": 5
        },
        {
          "name": "ammo_rocket_smoke",
          "stackSize": 1
        },
        {
          "name": "arrow_wooden",
          "stackSize": 1000
        }
        ],
        "weapon": [
          {
            "name": "grenade.beancan",
            "stackSize": 50
          },
          {
            "name": "grenade.f1",
            "stackSize": 50
          }
        ]
      }
    }
    I am on the good way ?
     
  11. honestly i was able to do it in a breeze with item config. i couldnt get it working with stacksizes. no ammo would work with stacking more than 64 the default. But i was able to get it to 100 or more and able to split an restack with item config no problem.
     
  12. All ammo type I set to 1000, that work for me.
     
  13. what coding do you have on it?
     
  14. This is the front of my config file (StackSizes.json)
    Code:
    {
      "Config": {
        "items": [
          {
            "name": "ammo_pistol",
            "stackSize": 1000
          },
          {
            "name": "ammo_pistol_hv",
            "stackSize": 1000
          },
          {
            "name": "ammo_rifle",
            "stackSize": 1000
          },
          {
            "name": "ammo_rifle_hv",
            "stackSize": 1000
          },
          {
            "name": "ammo_rocket_basic",
            "stackSize": 100
          },
          {
            "name": "ammo_rocket_hv",
            "stackSize": 100
          },
          {
            "name": "ammo_rocket_smoke",
            "stackSize": 100
          },
          {
            "name": "ammo_shotgun",
            "stackSize": 1000
          },
     
  15. Code:
    [Error] Failed to call hook 'LoadDefaultConfig' on plugin 'Stack Sizes' (ArgumentNullException: Argument cannot be null.
    Parameter name: path)
    4:31 PM [Debug]   at System.IO.Path.InsecureGetFullPath (System.String path) [0x00000] in <filename unknown>:0
      at System.IO.Path.GetFullPath (System.String path) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.CheckPath (System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.Save (System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.StackSizes.CreateDefaultConfig () [0x00000] in <filename unknown>:0
      at (wrapper managed-to-native) System.Reflection.MonoMethod:InternalInvoke (object,object[],System.Exception&)
      at System.Reflection.MonoMethod.Invoke (System.Object obj, BindingFlags invokeAttr, System.Reflection.Binder binder, System.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    Just saw this in error log, plugin seems to be running fine though.
     
  16. You get this error when start first time this plugin, and your config not exist. In next secound your plugin make a config file, and start running fine.
     
  17. That work fine with your file !
    Thanks !
     
  18. mabye you ammo type too high looks all g
     
    Last edited by a moderator: May 21, 2015
  19. Everytime I add something I have to delete the config and start from scratch, I could never find the error. My stacksizes arent working with this current config:
    Code:
    {
      "Config": {
        "items": [
          {
            "name": "bone_fragments",
            "stackSize": 10000
          },
          {
            "name": "ammo_rifle",
            "stackSize": 1000
          },
          {
            "name": "charcoal",
            "stackSize": 20000
          },
          {
          {
            "name": "arrow_wooden",
            "stackSize": 1000
          },
          {
            "name": "ammo_shotgun",
            "stackSize": 1000
          },
          {
            "name": "ammo_pistol",
            "stackSize": 1000
          },
          {
            "name": "blueberries",
            "stackSize": 100
          },
          {
            "name": "cloth",
            "stackSize": 5000
          },
          {
            "name": "bandage",
            "stackSize": 10
          },
          {
            "name": "largemedkit",
            "stackSize": 10
          },
          {
            "name": "box_wooden_large",
            "stackSize": 10
          },
          {
            "name": "fat_animal",
            "stackSize": 15000
          },
          {
            "name": "gunpowder",
            "stackSize": 10000
          },
          {
            "name": "lowgradefuel",
            "stackSize": 10000
          },
          {
            "name": "metal_fragments",
            "stackSize": 10000
          },
          {
            "name": "metal_ore",
            "stackSize": 10000
          },
          {
            "name": "metal_refined",
            "stackSize": 10000
          },
          {
            "name": "paper",
            "stackSize": 1000
          },
          {
            "name": "stones",
            "stackSize": 100000
          },
          {
            "name": "sulfur",
            "stackSize": 15000
          },
          {
            "name": "sulfur_ore",
            "stackSize": 100000
          },
          {
            "name": "wood",
            "stackSize": 100000
          }
        ]
      }
    }
     
  20. Can some one explaine where i can find this default config? cant find it anywhere or is it blocked to seen i use Gameservers.com rentabel, can some one please help dont know where i can find it :s this i see abouts configs config/config.vdf server/cfg/mapis emty ... OXIDE/CONFIG/emty....