Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Ethylene Dupe Bug #5887

Closed
NielsPilgaard opened this issue Feb 19, 2020 · 2 comments
Closed

Ethylene Dupe Bug #5887

NielsPilgaard opened this issue Feb 19, 2020 · 2 comments
Labels
interaction Not Mekanism issues caused by another mod Old MC

Comments

@NielsPilgaard
Copy link

NielsPilgaard commented Feb 19, 2020

Issue description:

When Ethylene in gas form is inserted from a Gas Tank into a Gas Input from Advanced Generators (screenshot 1), 500 mB of Ethylene is drained, and the Gas Input receives 1000 mB of Liquid Ethylene. After that initial drain of 500 mB, the tank keeps supplying liquid ethylene, but none is drained.

The Advanced Generator correctly drains it's Gas Input buffer when the Gas Tank is removed.

This is effectively free power gen for 500mB of Ethylene.

Steps to reproduce:

  1. Get a Basic Gas Tank of Ethylene
  2. Build an Advanced Generator
    Can be done with the following blocks, as a freeform multiblock:
    • 1 Gas Input
    • 1 Gold Turbine
    • 1 Gas Turbine Controller
    • 1 Advanced Power Capacitor
  3. Place the Basic Gas Tank next to the Gas Input, and set it to Extract to that side.

Version (make sure you are on the latest version before reporting):

Forge: 1.12.2-14.23.5.2847

Reproduced with the following mods only:

  • Mekanism-1.12.2-9.8.3.390
  • MekanismGenerators-1.12.2-9.8.3.390
  • generators-0.9.20.12-mc1.12.2
  • bdlib-1.14.3.12-mc1.12.2
  • jei_1.12.2-4.15.0.293

If a (crash)log is relevant for this issue, link it here: (It's almost always relevant)

Latest.log in gist

Screenshots

Gas Tank next to Gas Input

billede

Liquid Ethylene in Gas Input

billede

@pupnewfster
Copy link
Member

We aren't actively developing 1.12 anymore, but I looked briefly to see if I could see a bug in their code, and I believe I found it. It seems they are implementing handling for our gas incorrectly. In this line they are always inserting the gas as a fluid into their machines if they can. This is a mistake, as they are entirely ignoring our doTransfer parameter which is used for simulation.

So in essence what they are doing, when we ask their tile to simulate inserting gas (so we can see how much would fit and calculation an even distribution), they are just ignoring the fact it is a simulation, and increasing their contents regardless.

@NielsPilgaard
Copy link
Author

Ah alright, thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
interaction Not Mekanism issues caused by another mod Old MC
Projects
None yet
Development

No branches or pull requests

2 participants