Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Damage and rate changer: decimal number with point not accepted #53

Open
rody62 opened this issue Feb 18, 2023 · 0 comments
Open

Damage and rate changer: decimal number with point not accepted #53

rody62 opened this issue Feb 18, 2023 · 0 comments

Comments

@rody62
Copy link

rody62 commented Feb 18, 2023

Hi,
With Damage and rate changer, I have an error when I enter 0.5, but it works with 0,5 (comma OK, point KO).
I am french, and comma is the standard for decimal in france, so this could explain that, and I play on Epic Games version:

Exception in IL2CPP-to-Managed trampoline, not passing it to il2cpp: System.FormatException: Input string was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at System.Single.Parse(String s)
   at damage_changer.Main.<>c.<OnUpdate>b__4_0(String s) in C:\Users\Timothe\Documents\GitHub\btd6_mods\damage_changer\Main.cs:line 118
   at (il2cpp delegate trampoline) System.Void_System.Action`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]_System.String(IntPtr , IntPtr , Il2CppMethodInfo* )
Exception in IL2CPP-to-Managed trampoline, not passing it to il2cpp: System.FormatException: Input string was not in a correct format.
   at System.Number.ThrowOverflowOrFormatException(ParsingStatus status, TypeCode type)
   at System.Single.Parse(String s)
   at rate_changer.Main.<>c.<OnUpdate>b__1_0(String s) in C:\Users\Timothe\Documents\GitHub\btd6_mods\rate_changer\Main.cs:line 66
   at (il2cpp delegate trampoline) System.Void_System.Action`1[[System.String, System.Private.CoreLib, Version=6.0.0.0, Culture=neutral, PublicKeyToken=7cec85d7bea7798e]]_System.String(IntPtr , IntPtr , Il2CppMethodInfo* )

I take this chance to say:
Could you at least log in console the value on change for those two mods ?
And thank you for those great mods.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant