Page 1 of 1

[kovarex][2.0.7] Variable overflow negative parameter - Blueprint templates

Posted: Mon Oct 21, 2024 6:16 pm
by Horkrux
Expectation
Being able to produce negative values for parameters using the formula field
Issue
On placing the blueprint, 2.1G is used instead.
Reproduce
See the following blueprint, or simply try to blueprint a combinator and replacing one of his values with a resulting negative formula

Screenshot
10-21-2024, 20-14-45.png
10-21-2024, 20-14-45.png (87.54 KiB) Viewed 1357 times
10-21-2024, 20-15-57.png
10-21-2024, 20-15-57.png (45.47 KiB) Viewed 1357 times
10-21-2024, 20-15-45.png
10-21-2024, 20-15-45.png (95.88 KiB) Viewed 1357 times

Re: [kovarex][2.0.7] Variable overflow negative parameter - Blueprint templates

Posted: Thu Oct 24, 2024 12:06 am
by Ichorio
To expand on this, it's any negative number.

You don't need to use the formula field.
Anything that results in a negative number will flip it to max.

EDIT: This is a duplicate of viewtopic.php?f=182&t=116657

Re: [kovarex][2.0.7] Variable overflow negative parameter - Blueprint templates

Posted: Fri Oct 25, 2024 10:10 pm
by kovarex
Hello, thanks for the report, it is now fixed for the next version.

Re: [kovarex][2.0.7] Variable overflow negative parameter - Blueprint templates

Posted: Tue Oct 29, 2024 12:52 pm
by raehik
2.0.12 has fixed this problem for formulae evaluating to negative values. But setting a parameter to a negative value directly still fails in the same way (wrapping to INT_MAX). (Should I make a new thread for this?)

Re: [kovarex][2.0.7] Variable overflow negative parameter - Blueprint templates

Posted: Tue Oct 29, 2024 4:05 pm
by JAetherwing
Also, it is still not possible to enter the minus sign in the configuration dialog