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

This subforum contains all the issues which we already resolved.
Horkrux
Manual Inserter
Manual Inserter
Posts: 1
Joined: Mon Oct 21, 2024 6:00 pm
Contact:

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

Post 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 1058 times
10-21-2024, 20-15-57.png
10-21-2024, 20-15-57.png (45.47 KiB) Viewed 1058 times
10-21-2024, 20-15-45.png
10-21-2024, 20-15-45.png (95.88 KiB) Viewed 1058 times

Ichorio
Burner Inserter
Burner Inserter
Posts: 11
Joined: Fri Jan 01, 2016 3:12 pm
Contact:

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

Post 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

kovarex
Factorio Staff
Factorio Staff
Posts: 8195
Joined: Wed Feb 06, 2013 12:00 am
Contact:

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

Post by kovarex »

Hello, thanks for the report, it is now fixed for the next version.

raehik
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Oct 22, 2024 2:26 pm
Contact:

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

Post 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?)

JAetherwing
Inserter
Inserter
Posts: 34
Joined: Sat Dec 29, 2018 2:51 pm
Contact:

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

Post by JAetherwing »

Also, it is still not possible to enter the minus sign in the configuration dialog

Post Reply

Return to “Resolved Problems and Bugs”