[Rseding91] [2.0.23] Integer overflow of material missing for construction alert
Posted: Tue Dec 17, 2024 3:25 pm
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.
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.