Rust-Kits

Moved

Total Downloads: 70,199 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018

4.96216/5, 185 likes
  1. Alright, I've been testing this plugin, seemed to work fine, created basic kit, added cooldown, it worked, until I start getting this error after saving and restarting server:

    Code:
    00:05 [Error] Failed to call hook 'OnServerSave' on plugin 'Kits v3.1.7' (IOException: Invalid parameter)
    00:05 [Debug]   at System.IO.FileStream.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
      at System.IO.Stream.Close () [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter.Dispose (Boolean disposing) [0x00000] in <filename unknown>:0
    00:07 [Error] Failed to call hook 'OnServerSave' on plugin 'Kits v3.1.7' (IOException: Sharing violation on path /home/rust/serverfiles/server/rust-server/oxide/data/Kits_Data.json)
    00:07 [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[Dictionary`2] (System.Collections.Generic.Dictionary`2 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.WriteObject[Dictionary`2] (System.String name, System.Collections.Generic.Dictionary`2 Object, Boolean sync) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.SaveKitsData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.OnServerSave () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    00:08 [Info] Loading Oxide Core v2.0.1834...
    00:08 [Info] Loading extensions...
    00:08 [Info] Loaded extension CSharp v1.0.1834 by Oxide Team
    00:08 [Info] Loaded extension JavaScript v1.0.1834 by Oxide Team
    00:08 [Info] Loaded extension Lua v1.0.1834 by Oxide Team
    00:08 [Info] Loaded extension MySql v1.0.1834 by Oxide Team
    00:08 [Info] Loaded extension Python v1.0.1834 by Oxide Team
    00:08 [Info] Loaded extension SQLite v1.0.1834 by Oxide Team
    00:08 [Info] Loaded extension Unity v1.0.1834 by Oxide Team
    00:08 [Info] Loaded extension Rust v1.0.1834 by Oxide Team
    00:08 [Debug] Cleanup file: /home/rust/serverfiles/mono-2.0.dll
    00:08 [Debug] Cleanup file: /home/rust/serverfiles/msvcr120.dll
    00:08 [Info] Using Covalence provider for game 'Rust'
    00:08 [Info] Loading plugins...
    00:08 [Info] Loaded plugin Unity Core v1.0.0 by Oxide Team
    00:08 [Info] Loaded plugin Rust Core v1.0.0 by Oxide Team
    00:08 [Info] GatherManager, Kits and StackSizeController were compiled successfully in 2349ms
    00:08 [Info] Loaded plugin Gathering Manager v2.2.3 by Mughisi
    00:08 [Info] Loaded plugin Kits v3.1.7 by Reneb
    00:08 [Info] Loaded plugin Stack Size Controller v1.9.0 by AnExiledGod
    00:13 [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    00:13 [Debug]   at Oxide.Plugins.Kits.GetKitData (UInt64 userID, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.CanSeeKit (.BasePlayer player, System.String kitname, Boolean fromNPC, System.String& reason) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    00:14 [Error] Failed to call hook 'cmdChatKit' on plugin 'Kits v3.1.7' (NullReferenceException: Object reference not set to an instance of an object)
    00:14 [Debug]   at Oxide.Plugins.Kits.GetKitData (UInt64 userID, System.String kitname) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.CanSeeKit (.BasePlayer player, System.String kitname, Boolean fromNPC, System.String& reason) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.cmdChatKit (.BasePlayer player, System.String command, System.String[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    00:15 [Info] Kits was compiled successfully in 2056ms
    00:15 [Info] Unloaded plugin Kits v3.1.7 by Reneb
    00:15 [Info] Loaded plugin Kits v3.1.7 by Reneb
    The fix I found is when I delete Kits_Data.json and after a while it starts again... /kit doesn't even show up anything and it does not reddem my desired kit until I repeat same process by removing Kits_data again...
     

    Attached Files:

  2. upload the kit file from your data folder will fix it for you
    [DOUBLEPOST=1459117418][/DOUBLEPOST]
    Here you go fixed
     

    Attached Files:

  3. Thanks bud :)
    [DOUBLEPOST=1459173960,1459120850][/DOUBLEPOST]Okay...still getting error:

    Code:
    Saved 4,047 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01).
    Saving complete
    [Oxide] 16:57 [Error] Failed to call hook 'OnServerSave' on plugin 'Kits v3.1.7' (IOException: Sharing violation on path /home/rust/serverfiles/server/rust-server/oxide/data/Kits_Data.json)
    [Oxide] 16:57 [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[Dictionary`2] (System.Collections.Generic.Dictionary`2 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.WriteObject[Dictionary`2] (System.String name, System.Collections.Generic.Dictionary`2 Object, Boolean sync) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.SaveKitsData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.OnServerSave () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0
    Saved 4,048 ents, serialization(0.00), write(0.00), disk(0.00) totalstall(0.01).
    Saving complete
    [Oxide] 17:02 [Error] Failed to call hook 'OnServerSave' on plugin 'Kits v3.1.7' (IOException: Sharing violation on path /home/rust/serverfiles/server/rust-server/oxide/data/Kits_Data.json)
    [Oxide] 17:02 [Debug]   at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share, Int32 bufferSize, Boolean anonymous, FileOptions options) [0x00000] in <filename unknown>:0
      at System.IO.FileStream..ctor (System.String path, FileMode mode, FileAccess access, FileShare share) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.FileStream:.ctor (string,System.IO.FileMode,System.IO.FileAccess,System.IO.FileShare)
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding, Int32 bufferSize) [0x00000] in <filename unknown>:0
      at System.IO.StreamWriter..ctor (System.String path, Boolean append, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at (wrapper remoting-invoke-with-check) System.IO.StreamWriter:.ctor (string,bool,System.Text.Encoding)
      at System.IO.File.WriteAllText (System.String path, System.String contents, System.Text.Encoding encoding) [0x00000] in <filename unknown>:0
      at System.IO.File.WriteAllText (System.String path, System.String contents) [0x00000] in <filename unknown>:0
      at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[Dictionary`2] (System.Collections.Generic.Dictionary`2 config, Boolean sync, System.String filename) [0x00000] in <filename unknown>:0
      at Oxide.Core.DataFileSystem.WriteObject[Dictionary`2] (System.String name, System.Collections.Generic.Dictionary`2 Object, Boolean sync) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.SaveKitsData () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.OnServerSave () [0x00000] in <filename unknown>:0
      at Oxide.Plugins.Kits.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x00000] in <filename unknown>:0
      at Oxide.Plugins.CSharpPlugin.InvokeMethod (System.Reflection.MethodInfo 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 hookname, System.Object[] args) [0x00000] in <filename unknown>:0 
     
  4. Cai

    Cai

    how to hide kit from people that dont have perms?
     
  5. says no permissions for all players except me admin. What do I type for all players to have my kit..not vip, not anything except, let all players have the damn kit? Thanks
     
  6. upload your kit file from data folder
     
  7. It says I do not have permission to create kits, anyone know the permission node??
     
  8. If you mean to make kits you need to have ownerid
     
  9. Still says "You don't have access to this command"
     
  10. look in the users.cfg file what do you see
     
  11. Its blank what should I put???
    [DOUBLEPOST=1459219012][/DOUBLEPOST]
    I put ownerid 76561198288604628 Silence Owner
     
  12. tell me your steam64 id and in game name
     
  13. 76561198288604628 Silence
     
  14. Sorry it took so long was helpng someone on here
    ownerid 76561198288604628 "Silence" "Owner"
    Then type
    server.writecfg
    Then relog if in game
     
    Last edited by a moderator: Mar 29, 2016
  15. I came up with another issue after creating 2 kits I came across a problem when I try to create a kit saying " you are not creating a kit"
     
  16. If you need help over skype on making kits you can pm me we can talk in skype but need to be soon going off line soon
     
  17. Yes please.
     
  18. how to edit kits data? i wanna change max limit of my players after 30 times use, but when i change 30 to 0 and reload kit plugin nothing changed to max limit, plz help
     
  19. Cai

    Cai

    is there a way to stop people from opening kits they dont have perms to even admins? as well some other questions would love help if someone wants to get on ts at ts3.xtcr.net
     
  20. Ok so how do I make a kit for a specific usergroup like veterans or moderator?