1. Gun's aren't supposed to stack. They have durability, stacking them would remove the durability. Assuming the game would even allow them to be stacked.

    Delete your config, reload the plugin.

    Use oxide.unload StackSizeController to unload the plugin. Edit the config, then oxide.load StackSizeController when done.

    Not sure why it isn't allowing changes, I'll try to look into it soon.
     
  2. After the last update your plugin is not working ;( i installed the plugin restart my server but th chat commands dont work and i cant find the config file :(
     
  3. It's working perfectly fine on my server. It likely wasn't added correctly.
     
  4. it's not working
    i'm admin but when i type /stack it said "you don't have permission to this command"
    changing the number from config isn't working too
     
  5. Try relogging or giving yourself the canChangeStackSize permission.
     
  6. I can't get metal ore or wood to stack, any help would be great thank you :)
     
  7. I have other plugins that work so I know it's not Oxide. I'm trying to use the command stackall 65000 but it says Invalid Command. StackSizeController is loaded through ftp so I'm not sure what's wrong.
     
  8. It's likely not install then.
     
  9. Does this plugin suffer from the bug with halfing stacks? Eg. When your trying to half a stack of 200k and only gives a quarter of what your halfing it at.
     
  10. Yes, every plugin will have that. There is no way around it.
     
  11. Thought so, thanks anyway.
     
  12. Can you fix the weapons not stacking and if the player put 999 in queue with instant craft then it just spews the weapon throwing from them.
     
  13. Weapons likely wouldn't stack, even if I set them to. Items with durability shouldn't stack. If someone is making 999 AK's, then they probably have other issues.
     
  14. Hi,

    The plugin isn't compiling and the only error i get in the console is this.

    [Oxide] 10:31 AM [Error] StackSizes plugin failed to compile!
    [Oxide] 10:31 AM [Error]

    in the compiler log i get this
    Code:
    [SERVER] Got Message: Compile
    [SERVER] Console: StackSizes.cs(75,43): warning CS0168: The variable `e' is declared but never used
    error CS1705: Assembly `Oxide.Core, Version=1.0.0.0, Culture=neutral, PublicKeyToken=null' depends on `Newtonsoft.Json, Version=6.0.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed' which has a higher version number than referenced assembly `Newtonsoft.Json, Version=4.5.0.0, Culture=neutral, PublicKeyToken=30ad4fe6b2a6aeed'
    C:\steamcmd\steamapps\common\rust_dedicated\Oxide.Core.dll (Location of the symbol related to previous error)
    Any ideas ?
     
    Last edited by a moderator: Sep 4, 2015
  15. Wrong plugin... this thread is related to the "StackSizesController.cs" plugin.
     
  16. sorry about the confusion this was the log i needed to paste ...
    Code:
    [Oxide] 11:12 AM [Error] StackSizeController plugin failed to compile!
    [Oxide] 11:12 AM [Error]
     
    Last edited by a moderator: Sep 4, 2015
  17. I'll need more of an error than that. It's running fine on my server.
     
  18. is there any log i can use to provide u with information ?
     
  19. /stackall 65000 command not found?
     
  20. [Oxide] 4:04 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.6.0' (InvalidCastException: Cannot cast
    from source type to destination type.)

    Getting this error ever since most recent Rust update.

    [Oxide] 4:11 PM [Info] StackSizeController was compiled successfully in 2356ms
    [Oxide] 4:11 PM [Info] Unloaded plugin Stack Size Controller v1.6.0 by AnExiledGod
    [Oxide] 4:11 PM [Info] Loaded plugin Stack Size Controller v1.6.0 by AnExiledGod
    [Oxide] 4:11 PM [Error] Failed to call hook 'OnServerInitialized' on plugin 'StackSizeController v1.6.0' (InvalidCastException: Cannot cast
    from source type to destination type.)
    [Oxide] 4: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, System.Object[] param