MineMaarten / PneumaticCraft

PneumaticCraft source
Other
84 stars 51 forks source link

Random vacuum? #270

Closed Frontrider closed 9 years ago

Frontrider commented 9 years ago

Every gui displays negative values. Seems to happen with advanced tubes, above 4 bar.

RViper80 commented 9 years ago

There was an issue that was just fixed where the pressure chamber multiblock would not look like it was formed properly after unloading and reloading the chunk it was in. When looking at one of the GUIs of the pressure chamber walls, it would say 0x0x0 with a negative pressure. This might be related to this issue.

Are you updated to 1.4.1-38? Does it still happen in that version?

Frontrider commented 9 years ago

We just updated now (nothing was tested yet), and there was no chamber in that system. I kinda think that the flux compressor did it, since we saw it having negative rf in its buffer.

MineMaarten commented 9 years ago

The only negative values you should have seen in the RF converters, and it should be fixed in the 1.4.x versions :).

Please come back with feedback on the new version (whether it's good, so we can close this, or bad, so I can fix it).

RViper80 commented 9 years ago

I just had two regulators blow up on me, and the rest of the system ended up with -15k pressure. I have been unable to reproduce it in a creative test world yet, but I will try to figure it out.

Edit 1: Nope, wasn't the regulators, it was the charging module. which apparently can't take high pressure. Some info on that module would be nice. All the high pressure tubes that were left did end up with the -15k pressure from it yet.

Edit 2: Just had a regulator blow up while I was breaking/replacing some advanced air compressors. It left -53682.4 pressure in a closed regular tube loop. The charging module was fine this time.

Edit 3: Think I figured it out. When the pressure gets over the regulator's threshold (both Advanced PCB and regular redstone) and then dips back down below it, the regulator explodes and most of the time leaves a high negative pressure in any remaining tube networks/machines.

Edit 4: One more issue. After building up the pressure in an advanced tube with a regulator on, then slowly dropping it, you can notice that the one specific tube that the regulator is attached to does not decrease in pressure with the rest of the system. After the rest of the system drops enough (doesn't even have to get below the threshold set, seems like just about a 3 bar difference) the regulator explodes.

MineMaarten commented 9 years ago

Version?

RViper80 commented 9 years ago

The latest - 1.4.1-38

MineMaarten commented 9 years ago

And you're sure it's set up correctly? Above is good, below is wrong (the regulator tube will only regulate towards the side it's pointing).

https://www.dropbox.com/s/pjd3r5jt9mwkaaw/2014-11-25_16.54.28.png?dl=0

RViper80 commented 9 years ago

Yes, its like the above. Put a pressure gauge module on both the tube next to the creative compressor and the one with the regulator. I noticed it only does this with a closed system, if you have one end open like you do in those shots, it works just fine.

You can see here, the pressure gauges are different, the regulator one isn't decreasing. 2014-11-25_10 01 27

MineMaarten commented 9 years ago

I can't reproduce it :(! I even tried every orientation, just to see if it was some weird orientation glitch https://www.dropbox.com/s/otzp4bkbwm6olkb/2014-11-25_17.09.22.png?dl=0

Frontrider commented 9 years ago

so, random vacuum can be prevented by building a loop?

MineMaarten commented 9 years ago

oh.... I was able to reproduce the explosion by placing a machine next to an advanced pressure tube >.> (and the vacuum)

RViper80 commented 9 years ago

Yeah, I've had that happen too, the machine drops the pressure rapidly in the system, except for that regulator tube. The pressure difference gets too large then, and BOOM!

MineMaarten commented 9 years ago

@Frontrider: I don't see a relation with your issue though. You didn't mention anything about explosions.

MineMaarten commented 9 years ago

I found the issue. It was caused by an integer overflow, which was caused by me using the wrong variable somewhere.

@Frontrider: Your issue is different I think, but that one should be fixed already in earlier versions I think...

RViper80 commented 9 years ago

Not to put words in his/her mouth, but Frontrider did mention the exploding regulator, just in a different report (#269). I figured the two were related, since I only saw the negative values in machines and pipes after the regulators exploded. Anyway, glad to know its fixed. I'll just be sticking with a low capacity tube system for now :P

Frontrider commented 9 years ago

@RViper80 I just wanted to say, that the vacuum itself can be the same issue. I tell the guy to install a

The negative rf, is something what i mentioned. I tought that it might be related, since its a newer block compared to the rest (I tought that it might generate negative pressure from negative rf.). We updated, but you should check that out anyway, since if it was supposed to be fixed in an older update than theres might be something else there. Also, we used the top tier ender io conduits to power it, should not matter, but may matter.

For the vacuum, i will check what version we have (its not me who started to play with it),we only update if its game breaking.