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

This subforum contains all the issues which we already resolved.
SaltBlood
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Dec 17, 2024 3:04 pm
Contact:

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

Post 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.
Attachments
placement.png
placement.png (684.35 KiB) Viewed 622 times
bugged request.png
bugged request.png (2.9 MiB) Viewed 622 times
Loewchen
Global Moderator
Global Moderator
Posts: 9664
Joined: Wed Jan 07, 2015 5:53 pm
Contact:

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

Post by Loewchen »

Post a save file with the issue present please.
SaltBlood
Manual Inserter
Manual Inserter
Posts: 2
Joined: Tue Dec 17, 2024 3:04 pm
Contact:

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

Post 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.
Attachments
Bugged Game State.zip
(14.41 MiB) Downloaded 13 times
Rhamphoryncus
Fast Inserter
Fast Inserter
Posts: 122
Joined: Tue Jul 14, 2015 10:57 pm
Contact:

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

Post 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?
Attachments
mods.tycoon.zip
Just in case the mods matter. I rename the directory to manage my playthroughs.
(77.23 MiB) Downloaded 4 times
tycoon_4.2G.zip
(9.28 MiB) Downloaded 3 times
Rseding91
Factorio Staff
Factorio Staff
Posts: 14781
Joined: Wed Jun 11, 2014 5:23 am
Contact:

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

Post by Rseding91 »

Thanks for the report. This is now fixed for the next release.
If you want to get ahold of me I'm almost always on Discord.
Post Reply

Return to “Resolved Problems and Bugs”