a sorki jednak działa
Posty napisane przez walus404
-
RE: Problem z SpawnConfig
@youhosi napisał w Problem z SpawnConfig:
Jeśli możesz spróbuj ten, tymczasowo usuń /przenieś aktualną konfigurację. Jeśli będzie działać, daj znać.
Niestety nie działa
22:39 [Info] [SpawnConfig] Config load failed: Error reading JObject from JsonReader. Current JsonReader item is not an object: String. Path 'MultiSpawners.RoachSpawner.Spawns[0].Position', line 16, position 52. at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Converters.VectorConverter.PopulateVector3 (Newtonsoft.Json.JsonReader reader) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Converters.VectorConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0
-
Problem z SpawnConfig
Witam mam problem z pluginem SpawnconfigConfig wyskakuje mi taki błąd:
[Info] [SpawnConfig] Config load failed: Error reading JObject from JsonReader. Current JsonReader item is not an object: String. Path 'MultiSpawners.RoachSpawner.Spawns[0].Position', line 16, position 52. at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Linq.JsonLoadSettings settings) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Linq.JObject.Load (Newtonsoft.Json.JsonReader reader) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Converters.VectorConverter.PopulateVector3 (Newtonsoft.Json.JsonReader reader) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Converters.VectorConverter.ReadJson (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue, Newtonsoft.Json.JsonSerializer serializer) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue (Newtonsoft.Json.Serialization.JsonProperty property, Newtonsoft.Json.JsonConverter propertyConverter, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerProperty, Newtonsoft.Json.JsonReader reader, System.Object target) [0x00000] in <filename unknown>:0 at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject (System.Object newObject, Newtonsoft.Json.JsonReader reader, Newtonsoft.Json.Serialization.JsonObjectContract contract, Newtonsoft.Json.Serialization.JsonProperty member, System.String id) [0x00000] in <filename unknown>:0 20:20 [Error] Failed to call hook 'OnServerInitialized' on plugin 'SpawnConfig v1.0.4' (NullReferenceException: Object reference not set to an instance of an object) at Oxide.Plugins.SpawnConfig.UpdateSpawns () [0x00000] in <filename unknown>:0 at Oxide.Plugins.SpawnConfig.OnServerInitialized () [0x00000] in <filename unknown>:0 at Oxide.Plugins.SpawnConfig.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 20:20 [Warning] Calling 'OnServerInitialized' on 'SpawnConfig v1.0.4' took 184ms
Oxide najnowszy z tego forum