Stack Size Controller

Allows you to set the max stack size of every item.

Total Downloads: 39,408 - First Release: Feb 10, 2017 - Last Update: Oct 27, 2017

5/5, 50 likes
  1. Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.9.6' (InvalidCastException: Cannot cast from source type to destination type.)

    at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00000] in :0 at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in :0 at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in :0 at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in :0

    HELP?
     
    Last edited by a moderator: Aug 28, 2017
  2. Update Oxide
     
  3. I already did the update and the have the same error
     
  4. [Stack Size Controller] WARNING: Item 'Salvaged Cleaver' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Salvaged Sword' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Semi-Automatic Rifle' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Double Barrel Shotgun' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Pump Shotgun' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Waterpipe Shotgun' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Metal horizontal embrasure' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Metal Vertical embrasure' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Wood Shutters' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Silencer' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Sleeping Bag' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Custom SMG' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Stone Spear' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Wooden Spear' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Stone Hatchet' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Thompson' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Torch' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Prison Cell Gate' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Prison Cell Wall' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Chainlink Fence Gate' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Chainlink Fence' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Shop Front' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Metal Window Bars' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Reinforced Window Bars' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Wooden Window Bars' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Wood Chestplate' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] WARNING: Item 'Wood Armor Pants' will not stack more than 1 in game because it has durabililty (FACEPUNCH OVERRIDE). Changing stack size to 1..

    [Stack Size Controller] Updating configuration file with new values.



    ALL OK NOW
     
  5. i have many items stack set to 64000. they where working yerterday but today if i try to take a stack of 13000 stone it only give stack of 1000 ?

    is it possible i have too many 64000 stack in the config ?
     
  6. Many items cant be more than 1 as they don't stack if you try it will reset them also the max is 2147483647 so don't go over it or you will get an error
     
  7. Next >
    yeah thanks it was something wrong with my server.
     
  8. something wrong with your server would not reset the config making a mistake in the config would reset it
     
  9. Plugin doesn't work anymore after latest Oxide Update
    EDIT: My fault for some reason i just had to reload the plugin... Sorry
     
    Last edited by a moderator: Aug 31, 2017
  10. This plugin isn't working anymore since the update.
     
  11. I reloaded the plugin and checked the config, but the plugin does not seem to be working.
     
  12. Weird, the plugins working for me except that every time my server restarts I have to manually reload the plugin
     
  13. I am having this same issue.
     
  14. Having an issue with Stack sizes not changing when mod is installed, worked fine up until the Sept update
     
  15. Ya, plugins dead
     
  16. same for me but if I reload the plugin all works fine till server restart
     
  17. I've reinstalled Oxide, and reinstalled the update and oxide, seems to work fine now. Not sure what happened, but I'm glad its working
     
  18. (04:32:50) | Unloaded plugin Stack Size Controller v1.9.6 by Canopy Sheep

    (04:32:50) | Loaded plugin Stack Size Controller v1.9.6 by Canopy Sheep

    (04:32:50) | Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.9.6' (InvalidCastException: Cannot cast from source type to destination type.)

    (04:32:50) | at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00000] in <filename unknown>:0

    at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0

    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0

    please advise?
     
  19. Warning to anyone using this plugin coupled with Furnace Splitter: If you have Ore Stack Sizes over 65k, players can easily DUPE the Ore. We turned 100k sulfer into 500million in about 30 seconds. I had to change all the ore stack sizes to 65k, and now the dupe no longer works. Hopefully the 2 developers of these plugins can figure out what is causing this and get it fixed. Figured I'd give a general warning for you guys though.
     
  20. the plugin is not working (not stacking as instructed in config), and i found this in my logs.

    04:32 [Info] Loaded plugin Stack Size Controller v1.9.6 by Canopy Sheep
    04:32 [Error] Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.9.6' (InvalidCastException: Cannot cast from source type to destination type.)
    04:32 [Stacktrace] at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0
    04:34 [Info] Unloaded plugin Stack Size Controller v1.9.6 by Canopy Sheep
    04:34 [Info] Loaded plugin Stack Size Controller v1.9.6 by Canopy Sheep
    04:34 [Error] Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.9.6' (InvalidCastException: Cannot cast from source type to destination type.)
    04:34 [Stacktrace] at Oxide.Plugins.StackSizeController.OnServerInitialized () [0x00000] in <filename unknown>:0
    at Oxide.Plugins.StackSizeController.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Plugins.CSharpPlugin.InvokeMethod (HookMethod method, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x00000] in <filename unknown>:0
    at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00000] in <filename unknown>:0