You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I try and change the IslandInstanceCustomDatas1 without changing any of the number values I get the following error.
If I change it from 1.0 to 1 it will trigger on InstanceTreasureQualityMultiplier instead.
So there seems to be an issue with default value with one decimal.
Works if I remove the decimal and save with the following values:
-1, 1 ,0 , 1, 0 - Gives error with -1, 1.0, 0, 1.0, 0.0
The text was updated successfully, but these errors were encountered:
ok looking into this .. this seems like an odd .net bug that is easy to fix by developers and maybe even not to hard for normal users
everything that has to be done is make the expression bigger and give it a few more values actually (see what i marked in red )
basically NumberStyles.Float, CultureInfo.InvariantCulture, needs to be added and the reference
using System.Globalization;
and it should work just fine for floats ... it seems this is just a bug affecting floats for some reason in this solution .. might be a known bug in the targeted .net version fixed in other targeted versions
Edit... Also i hate windows forms .... WPF would have been so much better :P
Get error with default values unchanged
When I try and change the IslandInstanceCustomDatas1 without changing any of the number values I get the following error.
If I change it from 1.0 to 1 it will trigger on InstanceTreasureQualityMultiplier instead.
So there seems to be an issue with default value with one decimal.
Works if I remove the decimal and save with the following values:
-1, 1 ,0 , 1, 0 - Gives error with -1, 1.0, 0, 1.0, 0.0
The text was updated successfully, but these errors were encountered: