Jump to content
  • 0

Animated Sprite doesn't work?


Miharukun

Question

I tried to make my butterfly sprite animated and put it like, "AnimatedSprites": [butterfly.png],

 

after that when I run the server again, it became like this and after a second it gone. but when I erase the butterfly.png the server runs normal again.

 

Edit: This is the Error log

Quote

2020-02-23 07:05:25.362 [Error] Received unhandled exception from .

--------------------------------------------------------------------------------
2020-02-23 07:05:25.370 [Error] 
  Message: Unexpected character encountered while parsing number: p. Path 'AnimatedSprites', line 114, position 25.
    Stack:    at Newtonsoft.Json.JsonTextReader.ReadNumberCharIntoBuffer(Char currentChar, Int32 charPos)
   at Newtonsoft.Json.JsonTextReader.ReadNumberIntoBuffer()
   at Newtonsoft.Json.JsonTextReader.ParseNumber(ReadType readType)
   at Newtonsoft.Json.JsonTextReader.ReadStringValue(ReadType readType)
   at Newtonsoft.Json.JsonTextReader.ReadAsString()
   at Newtonsoft.Json.JsonReader.ReadForType(JsonContract contract, Boolean hasConverter)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateList(IList list, JsonReader reader, JsonArrayContract contract, JsonProperty containerProperty, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateList(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, Object existingValue, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.SetPropertyValue(JsonProperty property, JsonConverter propertyConverter, JsonContainerContract containerContract, JsonProperty containerProperty, JsonReader reader, Object target)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.PopulateObject(Object newObject, JsonReader reader, JsonObjectContract contract, JsonProperty member, String id)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal(JsonReader reader, Type objectType, JsonContract contract, JsonProperty member, JsonContainerContract containerContract, JsonProperty containerMember, Object existingValue)
   at Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize(JsonReader reader, Type objectType, Boolean checkAdditionalContent)
   at Newtonsoft.Json.JsonSerializer.DeserializeInternal(JsonReader reader, Type objectType)
   at Newtonsoft.Json.JsonConvert.DeserializeObject(String value, Type type, JsonSerializerSettings settings)
   at Newtonsoft.Json.JsonConvert.DeserializeObject[T](String value, JsonSerializerSettings settings)
   at Intersect.Options.LoadFromDisk() in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect (Core)\Config\Options.cs:line 173
   at Intersect.Server.Core.Bootstrapper.PreContextSetup(String[] args) in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect.Server\Core\Bootstrapper.cs:line 117
   at Intersect.Server.Core.Bootstrapper.Start(String[] args) in C:\TeamCity\buildAgent\work\40dc5d27074313da\Intersect.Server\Core\Bootstrapper.cs:line 40
 

 xeL89gP.png

Edited by Miharukun
added Error log
Link to comment
Share on other sites

2 answers to this question

Recommended Posts

×
×
  • Create New...