[0.7.1] Item count bug. Shows 4.3G?

This subforum contains all the issues which we already resolved.
Post Reply
Psycho0124
Fast Inserter
Fast Inserter
Posts: 101
Joined: Sat Oct 12, 2013 3:46 am
Contact:

[0.7.1] Item count bug. Shows 4.3G?

Post by Psycho0124 »

I was putting down some conveyer belts while crafting some belt splitters and underground belts and noticed that this had appeared in my inventory bar:
Image
My inventory was mostly empty while crafting and I noticed there was a standard copper wire laying on the ground where I had been standing (maybe dropped from an error in the splitter crafting?). There were also several instances of "Not enough ingredients" in the console that I hadn't noticed while building.

I hit Q while holding the 4.3G stack and it filled my inventory up with 64 stacks of conveyer.
I had assigned that slot to the yellow conveyer belts (with middle-mouse click) just moments before if it's any help.

I'm almost certain it had something to do with me placing the belts and crafting recipes that require them at the same time. I think it decided to use the stack of belts I was holding/had picked up to craft with. Somehow it drive the item count below zero and a "wrapping" error occurred with the item count variable?


The save game from just after the glitch occurred (but before my inventory filled up) is attached in case it's any help.
Attachments
_autosave1.zip
(1.31 MiB) Downloaded 152 times

azoundria
Long Handed Inserter
Long Handed Inserter
Posts: 80
Joined: Fri Feb 08, 2013 9:30 am
Contact:

Re: [0.7.1] Item count bug. Shows 4.3G?

Post by azoundria »

I can confirm max unsigned int: 4,294,967,295, which would be displayed as 4.3G :P

Hope you like conveyer belts.

Psycho0124
Fast Inserter
Fast Inserter
Posts: 101
Joined: Sat Oct 12, 2013 3:46 am
Contact:

Re: [0.7.1] Item count bug. Shows 4.3G?

Post by Psycho0124 »

:lol: Yeah, I thought about carpeting the map in them to see what the biters would think of it. I managed to get the stack into a chest before it re-stacked and blasted it to death with my pistol to salvage my savegame though. Die demon! :twisted:

I'll give it some more prodding today and see if I can duplicate it reliably. It seems pretty rare but I've had it happen two or three times in previous versions too. Anybody else ever encountered it?

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

Re: [0.7.1] Item count bug. Shows 4.3G?

Post by kovarex »

I believe this has been solved in 0.7.2

Post Reply

Return to “Resolved Problems and Bugs”