Hey! Not sure if I'm doing it right but I tweaked your Load Multiple action by adding an additional value.GetValue().
So the main part looks like this:
Code: Select all
value.SetValue(ES3.Load<object>(key.Value, value.GetValue(), GetSettings()));

Hey! Not sure if I'm doing it right but I tweaked your Load Multiple action by adding an additional value.GetValue().
Code: Select all
value.SetValue(ES3.Load<object>(key.Value, value.GetValue(), GetSettings()));
Hi there,nFighter wrote: ↑Wed Nov 10, 2021 3:38 amHey! Not sure if I'm doing it right but I tweaked your Load Multiple action by adding an additional value.GetValue().
So the main part looks like this:this way it will not stop the whole FSM with an error if there is no such key in the file but will just use the current variable value instead. I believe it's much more convenient than assigning additional "Default Value" (as it was made in Load action). And definitely better than just getting an error that stops the FSM. What do you think, is it an acceptable solution to include it in official ES3?Code: Select all
value.SetValue(ES3.Load<object>(key.Value, value.GetValue(), GetSettings()));
![]()
Hi there,
Hi there,NoPants wrote: ↑Wed Jan 04, 2023 1:34 am Ok weird. I'll try something else, but I'm getting this error.
NotSupportedException: Generic type "System.Collections.Concurrent.ConcurrentDictionary`2[Assets.Scripts.Enum.ResourceType,CodeStage.AntiCheat.ObscuredTypes.ObscuredDouble]" is not supported by Easy Save.
Do you get the same error with a ConcurrentDictionary<int,int>?
Hi there,