1kg of ice produces excessive amounts of Hydrogen and Oxygen

Alexandru Guzu shared this bug 2 years ago
Reported

Hello,

I was trying to figure out how much Oxygen and Hydrogen I get for every kg of ice. The wiki says the output is 5 L O2 + 10 L H2 so I put 1 kg of ice in the generator, took note of my ice storage, H2 storage and O2 storage and turned it on.


I got: 917 L of Hydrogen and about 450 L of Oxygen which is excessive.

If I put 100kg of ice in the generator, I get 808L Hydrogen and 404L Oxygen (less)


Is this a bug? That if we only put 1Kg of Ice we get the same amount as 100kg of ice?

Replies (5)

photo
1

Hello, Alexandru,

thanks for letting us know about this issue that you are experiencing.

However, when I did try that and put 1 ice into the O2/H2 generator, I got 1241 l of oxygen and 2483 l of hydrogen.

With 1000 of ice, I got 4987 l of oxygen and 9975 l of hydrogen.

My findings are way to far from yours. Can you please share me a video of what and how exactly you did to manage to reproduce this issue? That would be the most helpful.

Kind Regards

Keen Software House: QA Department

photo
1

Hi Ondrej,

Thanks for checking up on this. As the title says the issue is that 1 ice gives excessive amounts of hydrogen and oxygen rather than my numbers and yours not matching. 1 ice should give 1000 less oxygen and hydrogen than 1000 ice, not 5 times less!


Looking at your own findings, if for 1000 units of ice you obtain 4987 l of oxygen and 9975 l of hydrogen, then I would expect that for 1 unit, you would obtain 1000 times less, right? However your own findings show that you obtain about 4 times less.

Using very basic math:

1000 ice ---------> 4987 L oxygen

1 ice ---------> X L oxygen

X = 4987 / 1000 => X = 4.9 L oxygen (not 1241 L)


I am not sure why the issue is not obvious from your own findings and I don't think a video of me doing this would be helpful.

Let me put this differently. If i put 10 ice, one by one in the generator, I will get about 12,000 l of oxygen and 24,000 l of hydrogen which is much more than if I put 1000 ice.

I hope this clarifies the issue, or maybe we can get a 2nd opinion?

photo
2

Hello Alexandru,

yes, you are right that my finding are also a bit off. But I only wanted to be sure that I´m on right track here.

The issue was successfully reproduced and put into our internal system.

Kind Regards

Keen Software House: QA Department

photo
2

See https://spaceengineers.fandom.com/wiki/Oxygen_Generator_(O2/H2_Generator)#cite_note-chunk-3 for a closer analysis of the numbers.

I just never reported this because it looked so regular that I assumed that this compromise of chunked conversion was the intended implementation so as to avoid tracking every gram and litre to the millisecond and cause a lot of calculation overhead.

Oh well, guess I'll soon be touching that article again …

photo
1

Thanks for the detailed analysis. I am not sure exactly why Keen implemented it that way. From what you say, it means that any amount between 1kg and 125kg Ice will yield the same amount of gas. So if I would get a script to just put 1kg of ice at a time int he generator, and only add more once that is gone, I would multiply my gas at least 100-fold. of course it would probably take longer, but is still an exploit.

Leave a Comment
 
Attach a file