Armor Slot Manager

Плагин Armor Slot Manager 1.0.2

  • Автор темы Автор темы Esenija
  • Дата начала Дата начала

Esenija

Автор темы
15 Дек 2021
654
41
170
26
Armor Slot Manager - Этот плагин позволяет управлять дополнительными слотами для брони на одежде.

Этот плагин позволяет управлять дополнительными слотами для брони на одежде. Он предоставляет возможность настраивать вероятность появления слотов при спавне предметов, а также при их создании (крафтинге), с возможностью настройки привилегий для разных групп игроков.

Основные возможности плагина:

Настройка шанса появления слотов при создании или спавне предмета
Добавляет возможность 4 слотов для брони
Позволяет настраивать шанс появления каждого слота
Позволяет настраивать шансы...​
 
Не запускается плагин. Выдаёт такую ошибку.

Could not initialize plugin 'ArmorSlotManager v1.0.1' (JsonSerializationException: A member with the name 'Шанс для третьего слота (0.0 - 100.0)' already exists on 'Oxide.Plugins.ArmorSlotManager+ChanceSettings'. Use the JsonPropertyAttribute to specify another name.) at Newtonsoft.Json.Serialization.JsonPropertyCollection.AddProperty (Newtonsoft.Json.Serialization.JsonProperty property) [0x000e4] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateProperties (System.Type type, Newtonsoft.Json.MemberSerialization memberSerialization) [0x00072] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x0003a] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x000e1] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00038] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContainerContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.Serialization.JsonContract& memberContract, System.Object& memberValue) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0008c] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x000b0] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeDictionary (Newtonsoft.Json.JsonWriter writer, System.Collections.IDictionary values, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0017b] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0013a] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0008c] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x000b0] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00079] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00253] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00028] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.Formatting formatting, Newtonsoft.Json.JsonSerializerSettings settings) [0x0000e] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, Newtonsoft.Json.Formatting formatting, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[T] (T config, System.Boolean sync, System.String filename) [0x00039] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Plugins.ArmorSlotManager.SaveConfig () [0x00006] in <661974f98b2e436c989be1c19918d363>:0 at Oxide.Plugins.ArmorSlotManager.LoadDefaultConfig () [0x0002c] in <661974f98b2e436c989be1c19918d363>:0 at Oxide.Core.Plugins.Plugin.LoadConfig () [0x00039] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Plugins.ArmorSlotManager.LoadConfig () [0x00000] in <661974f98b2e436c989be1c19918d363>:0 at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0000f] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <42f9bedc659b4f4786eb778d3cd58968>:0 at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <96a91b13745c460b902f7aa227b500f6>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <8cb2d664f1574f2b96d53f1c1869d96a>:0
 
Не запускается плагин. Выдаёт такую ошибку.

Could not initialize plugin 'ArmorSlotManager v1.0.1' (JsonSerializationException: A member with the name 'Шанс для третьего слота (0.0 - 100.0)' already exists on 'Oxide.Plugins.ArmorSlotManager+ChanceSettings'. Use the JsonPropertyAttribute to specify another name.) at Newtonsoft.Json.Serialization.JsonPropertyCollection.AddProperty (Newtonsoft.Json.Serialization.JsonProperty property) [0x000e4] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateProperties (System.Type type, Newtonsoft.Json.MemberSerialization memberSerialization) [0x00072] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateObjectContract (System.Type objectType) [0x0003a] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.DefaultContractResolver.CreateContract (System.Type objectType) [0x000e1] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.DefaultContractResolver.ResolveContract (System.Type type) [0x00038] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.CalculatePropertyValues (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContainerContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.Serialization.JsonContract& memberContract, System.Object& memberValue) [0x00053] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0008c] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x000b0] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeDictionary (Newtonsoft.Json.JsonWriter writer, System.Collections.IDictionary values, Newtonsoft.Json.Serialization.JsonDictionaryContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0017b] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0013a] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeObject (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract collectionContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x0008c] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.SerializeValue (Newtonsoft.Json.JsonWriter writer, System.Object value, Newtonsoft.Json.Serialization.JsonContract valueContract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty) [0x000b0] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalWriter.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00079] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonSerializer.SerializeInternal (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00253] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonSerializer.Serialize (Newtonsoft.Json.JsonWriter jsonWriter, System.Object value, System.Type objectType) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.SerializeObjectInternal (System.Object value, System.Type type, Newtonsoft.Json.JsonSerializer jsonSerializer) [0x00028] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, System.Type type, Newtonsoft.Json.Formatting formatting, Newtonsoft.Json.JsonSerializerSettings settings) [0x0000e] in <271c58b7a8684db5a2c92be17a81f252>:0 at Newtonsoft.Json.JsonConvert.SerializeObject (System.Object value, Newtonsoft.Json.Formatting formatting, Newtonsoft.Json.JsonSerializerSettings settings) [0x00000] in <271c58b7a8684db5a2c92be17a81f252>:0 at Oxide.Core.Configuration.DynamicConfigFile.WriteObject[T] (T config, System.Boolean sync, System.String filename) [0x00039] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Plugins.ArmorSlotManager.SaveConfig () [0x00006] in <661974f98b2e436c989be1c19918d363>:0 at Oxide.Plugins.ArmorSlotManager.LoadDefaultConfig () [0x0002c] in <661974f98b2e436c989be1c19918d363>:0 at Oxide.Core.Plugins.Plugin.LoadConfig () [0x00039] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Plugins.ArmorSlotManager.LoadConfig () [0x00000] in <661974f98b2e436c989be1c19918d363>:0 at Oxide.Core.Plugins.Plugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0000f] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Core.Plugins.CSPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Plugins.CSharpPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x00000] in <42f9bedc659b4f4786eb778d3cd58968>:0 at Oxide.Plugins.RustPlugin.HandleAddedToManager (Oxide.Core.Plugins.PluginManager manager) [0x0028e] in <96a91b13745c460b902f7aa227b500f6>:0 at Oxide.Core.Plugins.PluginManager.AddPlugin (Oxide.Core.Plugins.Plugin plugin) [0x00027] in <8cb2d664f1574f2b96d53f1c1869d96a>:0 at Oxide.Core.OxideMod.PluginLoaded (Oxide.Core.Plugins.Plugin plugin) [0x00035] in <8cb2d664f1574f2b96d53f1c1869d96a>:0
Ага вижу, загружу новый патч сегодня
Подождете ?
 
Приветствуб
[16:59:41][ArmorSlotManager] Automatically Harmony patched 'ItemModContainerArmorSlot.CreateForPlayer_Patch1' method. (CreateForPlayerPatch)
[16:59:41]Failed to call hook 'OnServerInitialized' on plugin 'ArmorSlotManager v1.0.2' (NullReferenceException: Object reference not set to an instance of an object)
at Oxide.Plugins.ArmorSlotManager.OnServerInitialized () [0x0000b] in <d463cb28a1054586b48466c879ea51ae>:0
at Oxide.Plugins.ArmorSlotManager.DirectCallHook (System.String name, System.Object& ret, System.Object[] args) [0x000ab] in <d463cb28a1054586b48466c879ea51ae>:0
at Oxide.Plugins.CSharpPlugin.InvokeMethod (Oxide.Core.Plugins.HookMethod method, System.Object[] args) [0x00079] in <42f9bedc659b4f4786eb778d3cd58968>:0
at Oxide.Core.Plugins.CSPlugin.OnCallHook (System.String name, System.Object[] args) [0x000de] in <d59b507fd76240e5b62228d0eae39b73>:0
at Oxide.Core.Plugins.Plugin.CallHook (System.String hook, System.Object[] args) [0x00060] in <d59b507fd76240e5b62228d0eae39b73>:0
[16:59:41]Loaded plugin ArmorSlotManager v1.0.2 by jtedal