1. That's an issue with Rust not working properly with stacks over 65536. Not something I can fix.
     
  2. yes but is there a console command , If we got that i can temporary fix it please man it would be the best thing ever <3
    [DOUBLEPOST=1439239258][/DOUBLEPOST]maybe ill even donate to you if you could make one , if i got money
    [DOUBLEPOST=1439239865][/DOUBLEPOST]also People are crashing our server by crafting 999 of an item and it just chucking it out
    And because that stacksize problem it allows them to
     
  3. I don't have time now to code a console command in right now. And I don't see why it's just chucking stuff out? Sounds like it's an issue with the stack sizes you set, not my plugin.
     
  4. I found a bug, HV Pistol ammo doesnt stack.
     
  5. Make sure it's configured correctly. No reason one item won't stack but others will.
     
  6. When ever I try to change a stack size it gose thru but in my rcon console I see "
    [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"

    But the stackall function works fine
     
  7. Please always make sure your version is updated. If you confirmed you are using the latest version, say so in your post or I might overlook it. I've used this plugin on my server I just started up without any issues, despite people saying it's broken. So make sure you are updated first, this is a good idea for ALL plugins.

    In your specific case, make sure you have a config file for this plugin present, if one doesn't exist, this is likely the reason for the error. And again, make sure the plugin is updated. If issue persists, I will attempt to reproduce.
     
  8. So, I just installed this as the last stack size mod I had was not working. I downloaded the latest version from here. I put it in the plugins folder. I then went to the cfg folder and edited the file to be like this:

    Code:
    {
      "12 Gauge Buckshot": 64,
      "12 Gauge Slug": 32,
      "5.56 Rifle Ammo": 64,
      "Acoustic Guitar": 1,
      "Animal Fat": 100000,
      "Anti-Radiation Pills": 20,
      "Apple": 10,
      "Bandage": 1,
      "Barbed Wooden Barricade": 1,
      "Baseball Cap": 1,
      "Battery - Small": 1,
      "Beancan Grenade": 1,
      "Bear Meat": 20,
      "Bed": 1,
      "Beenie Hat": 1,
      "Black Raspberries": 1,
      "Blood": 10000,
      "Blueberries": 20,
      "Blueprint Book": 100,
      "Blueprint Fragment": 10000,
      "Blueprint Library": 1,
      "Blueprint Page": 100,
      "Bone Armor Pants": 1,
      "Bone Fragments": 10000,
      "Bone Jacket": 1,
      "Boonie Hat": 1,
      "Boots": 1,
      "Bota Bag": 1,
      "Bucket Helmet": 1,
      "Building Plan": 1,
      "Burlap Headwrap": 1,
      "Burlap Shirt": 1,
      "Burlap Shoes": 1,
      "Burlap Trousers": 1,
      "Burned Chicken": 200,
      "Burned Human Meat": 200,
      "Burned Wolf Meat": 200,
      "Camera": 1,
      "Camp Fire": 1,
      "Can of Beans": 1,
      "Can of Tuna": 1,
      "Candle Hat": 1,
      "Charcoal": 5000,
      "Chocolate Bar": 1,
      "Cloth": 10000,
      "Code Lock": 1,
      "Coffee Can Helmet": 1,
      "Concrete Barricade": 1,
      "Cooked Chicken": 200,
      "Cooked Human Meat": 200,
      "Cooked Wolf Meat": 200,
      "Corn Seed": 500,
      "Crude Oil": 5000,
      "Door Key": 1,
      "Empty Can Of Beans": 1,
      "Empty Tuna Can": 1,
      "Explosive 5.56 Rifle Ammo": 64,
      "Explosives": 100,
      "F1 Grenade": 1,
      "Flare": 1,
      "Furnace": 1,
      "Granola Bar": 1,
      "Gun Powder": 10000,
      "Hammer": 1,
      "Handmade Shell": 64,
      "Hazmat Boots": 1,
      "Hazmat Gloves": 1,
      "Hazmat Helmet": 1,
      "Hazmat Jacket": 1,
      "Hazmat Pants": 1,
      "Hide Boots": 1,
      "Hide Pants": 1,
      "Hide Poncho": 1,
      "Hide Vest": 1,
      "High External Stone Wall": 10,
      "High External Wooden Wall": 10,
      "High Quality Metal": 1000,
      "High Quality Metal Ore": 10000,
      "High Velocity Arrow": 48,
      "High Velocity Rocket": 3,
      "Hoodie": 1,
      "Huge Wooden Sign": 1,
      "Human Skull": 1,
      "HV 5.56 Rifle Ammo": 64,
      "HV Pistol Ammo": 64,
      "Improvised Balaclava": 1,
      "Incendiary 5.56 Rifle Ammo": 64,
      "Incendiary Pistol Bullet": 64,
      "Incendiary Rocket": 3,
      "Jacket": 1,
      "Land Mine": 5,
      "Lantern": 1,
      "Large Furnace": 1,
      "Large Medkit": 1,
      "Large Water Catcher": 1,
      "Large Wood Box": 1,
      "Large Wooden Sign": 1,
      "Leather": 10000,
      "Leather Gloves": 1,
      "Lock": 1,
      "Longsleeve T-Shirt": 1,
      "Low Grade Fuel": 5000,
      "Medical Syringe": 1,
      "Metal Barricade": 1,
      "Metal Chest Plate": 1,
      "Metal Facemask": 1,
      "Metal Fragments": 10000,
      "Metal Ore": 10000,
      "Miners Hat": 1,
      "Mining Quarry": 1,
      "Mushroom": 10,
      "Note": 1,
      "Pants": 1,
      "Paper": 10000,
      "Paper Map": 1,
      "Pistol Bullet": 64,
      "Pump Jack": 1,
      "Pumpkin Seed": 500,
      "Raw Chicken Breast": 200,
      "Raw Human Meat": 200,
      "Raw Wolf Meat": 200,
      "Repair Bench": 1,
      "Research Table": 1,
      "Riot Helmet": 1,
      "Road Sign Jacket": 1,
      "Road Sign Kilt": 1,
      "Rocket": 3,
      "Rotten Apple": 1,
      "Salt Water": 2147483647,
      "Sandbag Barricade": 1,
      "Sleeping Bag": 1,
      "Small Oil Refinery": 1,
      "Small Water Bottle": 1,
      "Small Water Catcher": 1,
      "Small Wooden Sign": 1,
      "Smoke Rocket WIP!!!!": 3,
      "Snap Trap": 1,
      "Snow Jacket - Black": 1,
      "Snow Jacket - Red": 1,
      "Snow Jacket - Wood Camo": 1,
      "Spoiled Chicken": 20,
      "Spoiled Human Meat": 20,
      "Spoiled Wolf Meat": 20,
      "Stone Barricade": 1,
      "Stones": 100000,
      "Sulfur": 100000,
      "Sulfur Ore": 100000,
      "Supply Signal": 1,
      "Survey Charge": 10,
      "The Accident": 1,
      "Timed Explosive Charge": 10,
      "Tool Cupboard": 1,
      "T-Shirt": 1,
      "Water": 2147483647,
      "Wind Turbine": 1,
      "Wolf Headdress": 1,
      "Wolf Skull": 1,
      "Wood": 100000,
      "Wood Armor Pants": 1,
      "Wood Chestplate": 1,
      "Wood Storage Box": 1,
      "Wooden Arrow": 32,
      "Wooden Barricade": 1,
      "Wooden Floor Spikes": 1,
      "Wooden Ladder": 1,
      "Wooden Sign": 1
    }
    When we try to stack wood over 1,000 it will not do it. Same thing with anything else we try to stack. We do have the updater installed as well. Thank you for your time!
     
  9. Did you reload the plugin? oxide.reload StackSizeController
     
  10. Yes I'm having the same exact issue. ex: I type in the command in game /stack wood 25000 and it says "That is an incorrect item name. Please use a valid short name." I also did do oxide.reload StackSizeController

    EDIT: I'm not having the same exact issue I'm having an issue with only a few items like Metal Ore and Wood with stacking. Apparently I'm typing in the wrong Short Name but it is correct.
     
    Last edited by a moderator: Aug 14, 2015
  11. for some reason i cant stack wood no matter what name i use? please help!!
    [DOUBLEPOST=1439684035][/DOUBLEPOST]{
    "12 Gauge Buckshot": 64,
    "12 Gauge Slug": 32,
    "5.56 Rifle Ammo\n": 64,
    "Acoustic Guitar": 1,
    "Animal Fat": 1000,
    "Anti-Radiation Pills": 10,
    "Apple": 10,
    "Assault Rifle": 1,
    "Bandage": 1,
    "Barbed Wooden Barricade": 1,
    "Battery - Small": 1,
    "Beancan Grenade": 1,
    "Bear Meat": 20,
    "Bed": 1,
    "Black Raspberries": 1,
    "Blood": 1000,
    "Blue Longsleeve T-Shirt": 1,
    "Blueberries": 20,
    "Bolt Action Rifle": 1,
    "Bone Fragments": 1000,
    "Bone Knife": 1,
    "Bota Bag": 1,
    "Bucket Helmet": 1,
    "Building Plan": 1,
    "Burlap Headwrap": 1,
    "Burlap Shirt": 1,
    "Burlap Shoes": 1,
    "Burlap Trousers": 1,
    "Burned Chicken": 20,
    "Burned Human Meat": 20,
    "Burned Wolf Meat": 20,
    "Camera": 1,
    "Camp Fire": 1,
    "Can of Beans": 1,
    "Can of Tuna": 1,
    "Candle Hat": 1,
    "Charcoal": 500,
    "Chocolate Bar": 1,
    "Cloth": 1000,
    "Code Lock": 1,
    "Coffee Can Helmet": 1,
    "Concrete Barricade": 1,
    "Cooked Chicken": 20,
    "Cooked Human Meat": 20,
    "Cooked Wolf Meat": 20,
    "Corn": 1,
    "Corn Seed": 50,
    "Custom SMG": 1,
    "Door Key": 1,
    "Empty Can Of Beans": 1,
    "Empty Tuna Can": 1,
    "Eoka Pistol": 1,
    "Explosive 5.56 Rifle Ammo": 64,
    "Explosives": 100,
    "F1 Grenade": 1,
    "Flare": 1,
    "Furnace": 1,
    "Granola Bar": 1,
    "Green T-Shirt": 1,
    "Gun Powder": 1000,
    "Hammer": 1,
    "Handmade Shell": 64,
    "Hatchet": 1,
    "Hazmat Boots": 1,
    "Hazmat Gloves": 1,
    "Hazmat Helmet": 1,
    "Hazmat Jacket": 1,
    "Hazmat Pants": 1,
    "Hide Boots": 1,
    "Hide Pants": 1,
    "Hide Poncho": 1,
    "Hide Vest": 1,
    "High Velocity Arrow": 48,
    "High Velocity Rocket": 3,
    "Huge Wooden Sign": 1,
    "Human Skull": 1,
    "Hunting Bow": 1,
    "HV 5.56 Rifle Ammo": 64,
    "HV Pistol Ammo\t": 64,
    "Incendiary 5.56 Rifle Ammo": 64,
    "Incendiary Pistol Bullet": 64,
    "Incendiary Rocket": 3,
    "Lantern": 1,
    "Large Medkit": 1,
    "Large Water Catcher": 1,
    "Large Wood Box": 1,
    "Large Wooden Sign": 1,
    "Leather Gloves": 1,
    "Lock": 1,
    "Low Grade Fuel": 500,
    "Medical Syringe": 1,
    "Metal - Refined": 100,
    "Metal Barricade": 1,
    "Metal Chest Plate": 1,
    "Metal Facemask": 1,
    "Metal Fragments": 1000,
    "Metal Ore": 1000,
    "Miners Hat": 1,
    "Mining Quarry": 1,
    "Mushroom": 10,
    "Note": 1,
    "Paper": 1000,
    "Paper Map": 1,
    "Pick Axe": 1,
    "Pistol Bullet": 64,
    "Pump Shotgun": 1,
    "Pumpkin": 1,
    "Pumpkin Seed": 50,
    "Raw Chicken Breast": 20,
    "Raw Human Meat": 20,
    "Raw Wolf Meat": 20,
    "Red Jacket": 1,
    "Repair Bench": 1,
    "Research Table": 1,
    "Revolver": 1,
    "Road Sign Jacket": 1,
    "Rock": 1,
    "Rocket": 3,
    "Rocket Launcher": 1,
    "Rotten Apple": 1,
    "Salt Water": 2147483647,
    "Salvaged Axe": 1,
    "Salvaged Hammer": 1,
    "Salvaged Icepick": 1,
    "Sandbag Barricade": 1,
    "Semi-Automatic Pistol\n": 1,
    "Sleeping Bag": 1,
    "Small Water Bottle": 1,
    "Small Water Catcher": 1,
    "Small Wooden Sign": 1,
    "Smoke Rocket WIP!!!!": 3,
    "Snap Trap": 1,
    "Snow Jacket - Black": 1,
    "Snow Jacket - Red": 1,
    "Snow Jacket - Wood Camo": 1,
    "Spoiled Chicken": 20,
    "Spoiled Human Meat": 20,
    "Spoiled Wolf Meat": 20,
    "Stone Barriade": 1,
    "Stone Hatchet": 1,
    "Stone Pick Axe": 1,
    "Stone Spear": 1,
    "Stones": 1000,
    "Sulfur": 1000,
    "Sulfur Ore": 1000,
    "Supply Signal": 1,
    "Survey Charge": 10,
    "Thompson": 1,
    "Timed Explosive Charge": 10,
    "Tool Cupboard": 1,
    "Torch": 1,
    "Urban Boots": 1,
    "Urban Pants": 1,
    "Vagabond Jacket": 1,
    "Water": 2147483647,
    "Waterpipe Shotgun": 1,
    "Wolf Headdress": 1,
    "Wolf Skull": 1,
    "Wood": 1000,
    "Wood Storage Box": 1,
    "Wooden Arrow": 32,
    "Wooden Barricade": 1,
    "Wooden Floor Spikes": 1,
    "Wooden Ladder": 1,
    "Wooden Sign": 1,
    "Wooden Spear": 1
    }


    WHERE DO I PUT THIS? what section of the config file?!?!
    [DOUBLEPOST=1439685732][/DOUBLEPOST]NVM SOZ
     
  12. this isnt working im typing /stackall 10000 but it just keeps saying invalid command and i also put it in the oxide folder with all of my other Plugins and it doesnt work Please help!
     
  13. In the oxide folder, or the plugins folder?

    This plugin has been working fine on my end with /stackall.
     
  14. Same problem here.
    On some items the new stack size is working (eg. bandage) . Wood on the other site won't.
    I also have an error in the server console:
    ...
    [Oxide] 8:11 PM [Info] [Updater] ### Update check started!
    [Oxide] 8:11 PM [Info] [Updater] Supported plugin count: 7
    [Oxide] 8:11 PM [Info] [BetterLoot] BetterLoot: Updating in T-3 ...

    [Oxide] 8:11 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.6.0' (InvalidCastExc
    eption: Cannot cast from source type to destination type.)
    [Oxide] 8:11 PM [Debug] at Oxide.Plugins.StackSizeController.OnServerInitialized () [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, S
    ystem.Object[] parameters, System.Globalization.CultureInfo culture) [0x00000] in <filename unknown>:0
    ...

    I also moved the wood entry on top of the config file (for testing purpose only) but this also won't work.
     
  15. Attach your config file (don't paste, attach it) and I'll look into it. Maybe run it on my local and see if I can reproduce.
     
  16. I have found my error *shame*:

    In the config i replaced , with 0, so every value was "multiplied" by 10 ^^.

    So Water and Salt Water become 21474836470 witch isn't a good idea for an int32 oO.

    sorry for wasting your time
     
  17. No problem, glad you found the issue.
     
  18. It say its an unknown command, please help!
     
  19. Guns do not stack.
     
  20. Can someone please help me , i typed /stackall 65000 and now all the stacks are to 65000 , and i cant edit them in StackSizeController.json , they just go back to 65k all the time