Rust-Kits

Moved

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

4.96216/5, 185 likes
  1. upload all json files and post error
     
  2. Hello, i'm not sure if this is a big deal but, This popped out when i was removing a kit:

    Code:
    Failed to call hook 'cmdChatKit' on plugin 'Kits v3.2.9' (KeyNotFoundException: The given key was not present in the dictionary.)
      at System.Collections.Generic.Dictionary`2[System.UInt64,System.String].get_Item (UInt64 key) [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 (Oxide.Core.Plugins.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 
     
  3. delete kits_data.json if that does not fix it upload all json files here to be checked
     
  4. It deleted it fine. it just popped out. so figured posting it.
    Works fine.
     
  5. how do you add usage limits, so if i wanted to let them have a kit build kit but can only use once? how do i do that?
     
  6. when editing the kit do:
    /kit max 1
     

  7. ExType: JsonSerializationException
    Failed to initialize plugin 'Kits v3.2.9' (FormatException: Input string was not in the correct format)
    at System.Int32.Parse (System.String s, NumberStyles style, IFormatProvider provider) [0x00000] in <filename unknown>:0
    at System.Int32.Parse (System.String s, IFormatProvider provider) [0x00000] in <filename unknown>:0
    at System.Convert.ToInt32 (System.String value, IFormatProvider provider) [0x00000] in <filename unknown>:0
    at System.String.System.IConvertible.ToInt32 (IFormatProvider provider) [0x00000] in <filename unknown>:0
    at System.Convert.ToType (System.Object value, System.Type conversionType, IFormatProvider provider, Boolean try_target_to_type) [0x00000] in <filename unknown>:0
    at System.Convert.ChangeType (System.Object value, System.Type conversionType, IFormatProvider provider) [0x00000] in <filename unknown>:0
    at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.EnsureType (Newtonsoft.Json.JsonReader reader, System.Object value, System.Globalization.CultureInfo culture, Newtonsoft.Json.Serialization.JsonContract contract, System.Type targetType) [0x00000] in <filename unknown>:0
     

    Attached Files:

  8. Your config is wrong as far as I know, hope I helped you
     

    Attached Files:

  9. upload and reload
    And @Adriok you only uploaded the same file as he uploaded not seeing the point in that
     

    Attached Files:

  10. I changed the custom AutoKit ;)
     
  11. You should look again nothing was changed in the file you uploaded Kits
     
  12. Yes it does @Resistance;
    Change;

    "Default": "Default", >
    "0": "Default",
     
  13. This is the file you uploaded above now tell me what you changed in it
    Code:
    {
      "NPC - GUI Kits": {
        "0": {
          "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>",
          "kits": [
            "kit1",
            "kit2",
            "boom"
          ]
        },
        "1235439": {
          "description": "Welcome on this server! Here is a list of free kits that you can get.<color=green>Enjoy your stay</color>",
          "kits": [
            "kit1",
            "kit2"
          ]
        },
        "8753201223": {
          "description": "<color=red>VIPs Kits</color>",
          "kits": [
            "kit1",
            "kit3"
          ]
        }
      },
      "CopyPaste - Parameters": [
        "deployables",
        "true",
        "inventories",
        "true"
      ],
      "Custom AutoKits": {
        "0": "Default",
        "1": "KitName",
        "2": "KitName"
      },
      "UI KeyBinding": "",
      "Kit - Logging": true,
      "Show All Kits": false,
      "Background - URL": ""
    }
     
  14. OMG, he had;

    "Custom AutoKits": {
    "Default": "Default",
    "1": "KitName",
    "2": "KitName"
    },

    My change;

    "Custom AutoKits": {
    "0": "Default",
    "1": "KitName",
    "2": "KitName"
    },
     
  15. I know I was talking about the top part if you dont change that it will cause a error it is what he was getting after all
     
    Last edited by a moderator: May 2, 2018
  16. Ok fine then
     
  17. if you look at the file I uploaded you will see all the correct changes are done this is what I was talking about you uploaded a file that was only part fixed so no problem at least you will know for the future
     
  18. Thanks man
     
  19. so guys thank you but wich is the right one?
    [DOUBLEPOST=1525284534][/DOUBLEPOST]
    it is still not working

    i just spawn with torch and stone -.-
     
    Last edited by a moderator: May 2, 2018
  20. Did you try mine too?

    Resistance uploaded a fix for your config so should be fine