upload all json files and post error
Rust-Kits
Moved
Total Downloads: 70,147 - First Release: Oct 21, 2014 - Last Update: Jun 7, 2018
- 4.96216/5, 185 likes
-
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
-
-
Works fine. -
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?
-
/kit max 1 -
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>:0Attached Files:
-
-
Attached Files:
-
-
And @Adriok you only uploaded the same file as he uploaded not seeing the point in thatAttached Files:
-
-
-
-
Change;
"Default": "Default", >
"0": "Default", -
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": "" }
-
"Custom AutoKits": {
"Default": "Default",
"1": "KitName",
"2": "KitName"
},
My change;
"Custom AutoKits": {
"0": "Default",
"1": "KitName",
"2": "KitName"
}, -
Last edited by a moderator: May 2, 2018
-
-
-
-
so guys thank you but wich is the right one?
[DOUBLEPOST=1525284534][/DOUBLEPOST]
i just spawn with torch and stone -.-Last edited by a moderator: May 2, 2018 -
Resistance uploaded a fix for your config so should be fine