Page 1 of 1

[Rseding91] [2.0.23] Integer overflow of material missing for construction alert

Posted: Tue Dec 17, 2024 3:25 pm
by SaltBlood
In the attached screen capture (bugged request) one of the alerts concerns missing construction material, specifically it says I am missing 4.2G (4.2 billion) portable solar panels. I have been using bots to fill my tanks equipment grid. Occasionally this bug pops up where I will get both a negative number in the "missing material for construction" section (not shown here and I get it less often), and what appears to be a integer underflow number. The reproduction for this bug is a little difficult since it requires one to be faffing about with a very low usage item like equipment in a very large bot network. What you have to do is request something you dont have but exists somewhere not in the network, for example in a different tanks equipment grid. The alert will say missing 1 of that material, then you remove that material from the second tank. Then you also have to request other equipment to the tanks grid as well as remove stuff from the other tanks equipment grid. I am not exactly sure what combination of removal and addition of equipment in exactly what order does it. But specifically having something not in the network added around the time it is requested, and especially very far away seems to trigger it.
In the second picture (placement) is my base, all of the requested material comes from the center and the tanks requesting equipment or having equipment removed from their grids by bots are circled in black.

Re: [2.0.23] Integer overflow of material missing for construction alert

Posted: Tue Dec 17, 2024 4:29 pm
by Loewchen
Post a save file with the issue present please.

Re: [2.0.23] Integer overflow of material missing for construction alert

Posted: Tue Dec 17, 2024 11:37 pm
by SaltBlood
I didnt have a game state with the bug so I reproduced it and saved the game with the bug present. It is pretty easy to create, hope this helps.

Re: [2.0.23] Integer overflow of material missing for construction alert

Posted: Fri Jan 03, 2025 7:12 pm
by Muche

Re: [2.0.23] Integer overflow of material missing for construction alert

Posted: Mon Jan 06, 2025 4:54 am
by Rhamphoryncus
I hit this myself, so have another save. It clears in less than a second though.

I've been ghosting rocket parts into the silos while working towards proper logistics, so lots of spam clicking ingredients from remote view or regular view. Occasionally removed parts instead, by accident, but I don't think that was the same part exhibiting the bug?

Re: [Rseding91] [2.0.23] Integer overflow of material missing for construction alert

Posted: Mon Jan 06, 2025 1:56 pm
by Rseding91
Thanks for the report. This is now fixed for the next release.