Posts by Zer0Aspect

    TypeError: Cannot read properties of undefined (reading 'toUpperCase')

    TypeError: Cannot read properties of undefined (reading 'toUpperCase')

    at BetterKeys.load (C:\Games\SPTarkov\user\mods\BetterKeys\src\mod.js:60:31)

    at BetterKeys.loadDatabase (C:\Games\SPTarkov\user\mods\BetterKeys\src\mod.js:49:14)

    at BetterKeys.postDBLoad (C:\Games\SPTarkov\user\mods\BetterKeys\src\mod.js:38:18)

    at PostDBModLoader.executeMods (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at PostDBModLoader.onLoad (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at App.load (C:\snapshot\project\obj\utils\App.js)

    TypeError: Cannot read properties of undefined (reading 'toUpperCase')

    TypeError: Cannot read properties of undefined (reading 'toUpperCase')

    at BetterKeys.load (C:\Games\SPTarkov\user\mods\BetterKeys\src\mod.js:60:31)

    at BetterKeys.loadDatabase (C:\Games\SPTarkov\user\mods\BetterKeys\src\mod.js:49:14)

    at BetterKeys.postDBLoad (C:\Games\SPTarkov\user\mods\BetterKeys\src\mod.js:38:18)

    at PostDBModLoader.executeMods (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at PostDBModLoader.onLoad (C:\snapshot\project\obj\loaders\PostDBModLoader.js)

    at App.load (C:\snapshot\project\obj\utils\App.js)


    Downloaded new version, getting this error in server command window

    3.4.0 has a bug that causes your issue, it's resolved in 3.4.1 but it wont fix an already broken profile.


    Have a look a the faq here: https://hub.sp-tarkov.com/faq/

    Specifically the question `I can't see any messages from a trader, its empty and i was sure i had some earlier!`

    Thanks for the response, what editor would be the best to use, or your personal choice even, to fix this problem?

    Whenever I press 'Receive All' in the message tab I get this long error ill post below. This happened I think after I completed a quest in his task tab, then restarted Tough Guy quest right after. Since this I've completed another task and accepted a few more. The new text messages show up, but the old ones are still lost. Can't receive the new rewards either. Still prints same error message in console


    Newtonsoft.Json.Serialization.JsonSerializerInternalReader.DeserializeConvertable (Newtonsoft.Json.JsonConverter converter, Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Object existingValue) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    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) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    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) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateObject (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    Newtonsoft.Json.Serialization.JsonSerializerInternalReader.CreateValueInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType, Newtonsoft.Json.Serialization.JsonContract contract, Newtonsoft.Json.Serialization.JsonProperty member, Newtonsoft.Json.Serialization.JsonContainerContract containerContract, Newtonsoft.Json.Serialization.JsonProperty containerMember, System.Object existingValue) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    Newtonsoft.Json.Serialization.JsonSerializerInternalReader.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType, System.Boolean checkAdditionalContent) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    Newtonsoft.Json.JsonSerializer.DeserializeInternal (Newtonsoft.Json.JsonReader reader, System.Type objectType) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    Newtonsoft.Json.JsonSerializer.Deserialize (Newtonsoft.Json.JsonReader reader, System.Type objectType) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonSerializerSettings settings) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    Newtonsoft.Json.JsonConvert.DeserializeObject (System.String value, System.Type type, Newtonsoft.Json.JsonConverter[] converters) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    Newtonsoft.Json.JsonConvert.DeserializeObject[T] (System.String value, Newtonsoft.Json.JsonConverter[] converters) (at <a188f91889dd430ea0449cfb94e0c4ca>:0)

    GClass740.ParseJsonTo[T] (System.String json, Newtonsoft.Json.JsonConverter[] converters) (at <b70ab122c7b54735837be52669483e6f>:0)

    DataHandler.method_7[T] (Class217 backRequest, System.String responseJsonText) (at <b70ab122c7b54735837be52669483e6f>:0)

    Rethrow as GException5: In response to http:///client/mail/dialog/getAllAttachments: After parsing a value an unexpected character was encountered: F. Path 'data.messages[0].templateId', line 1, position 194.

    DataHandler.method_7[T] (Class217 backRequest, System.String responseJsonText) (at <b70ab122c7b54735837be52669483e6f>:0)

    DataHandler.method_4[T] (Class217 backRequest, GClass558 backResponse) (at <b70ab122c7b54735837be52669483e6f>:0)

    DataHandler+Class222`1[T].method_1 () (at <b70ab122c7b54735837be52669483e6f>:0)

    Diz.Utils.AsyncWorker+Class2646`1[T].method_0 () (at <b70ab122c7b54735837be52669483e6f>:0)

    --- End of stack trace from previous location where exception was thrown ---

    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    DataHandler+Struct22`1[T].MoveNext () (at <b70ab122c7b54735837be52669483e6f>:0)

    --- End of stack trace from previous location where exception was thrown ---

    DataHandler+Struct21`1[T].MoveNext () (at <b70ab122c7b54735837be52669483e6f>:0)

    --- End of stack trace from previous location where exception was thrown ---

    System.Runtime.ExceptionServices.ExceptionDispatchInfo.Throw () (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    System.Runtime.CompilerServices.TaskAwaiter.ValidateEnd (System.Threading.Tasks.Task task) (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    System.Runtime.CompilerServices.TaskAwaiter`1[TResult].GetResult () (at <eae584ce26bc40229c1b1aa476bfa589>:0)

    Class210+Struct14`1[T].MoveNext () (at <b70ab122c7b54735837be52669483e6f>:0)

    UnityEngine.DebugLogHandler:LogException(Exception, Object)

    Class296:UnityEngine.ILogHandler.LogException(Exception, Object)

    Class296:method_2(Exception)

    LoggerClass:LogException(Exception)

    Struct14`1:MoveNext()

    System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetException(Exception)

    Struct21`1:MoveNext()

    System.Runtime.CompilerServices.AsyncTaskMethodBuilder`1:SetException(Exception)

    Struct22`1:MoveNext()

    System.Threading.Tasks.TaskCompletionSource`1:SetException(Exception)

    Diz.Utils.Class2648`1:method_0()

    GClass2592:CheckForFinishedTasks()

    Diz.Utils.AsyncWorker:FixedUpdate()