Slimefun / Slimefun4

Slimefun 4 - A unique Spigot/Paper plugin that looks and feels like a modpack. We've been giving you backpacks, jetpacks, reactors and much more since 2013.
GNU General Public License v3.0
958 stars 547 forks source link

Generators power multiple energy network with unnerfed rate #3260

Open ybw0014 opened 2 years ago

ybw0014 commented 2 years ago

ā— Checklist

šŸ“ Description

When a solar generator is connected to two separate energy networks, it powers both networks with its rate not nerfed. And I tried to add the third network, that also happens. I only tested the solar generator, but I believe other generators have the same issue.

šŸ“‘ Reproduction Steps

  1. Put the solar generator
  2. Put the energy regulator 6 blocks away
  3. Put the capacitor
  4. Put another regulator in a new direction and put the capacitor near it

The final setup should be like in the screenshoot.

šŸ’” Expected Behavior

I think the generators should be nerfed if connected to multiple networks.

šŸ“· Screenshots / Videos

image

šŸ“œ Server Log

N/A

šŸ“‚ /error-reports/ folder

N/A

šŸ’» Server Software

Paper

šŸŽ® Minecraft Version

1.16.x

ā­ Slimefun version

DEV - 968

šŸ§­ Other plugins

N/A

variananora commented 2 years ago

Can confirm https://youtu.be/9awmb5YBBhQ

Boomer-1 commented 2 years ago

seems this is happening when machines are filling their buffers. once the power source is removed, all regulators go down to zero immediately but machines still run off of buffers.

Boomer-1 commented 2 years ago

2022-07-26_18 43 59 this was my testing environment. once the power source was removed, all regulators hit zero, then the machines ran off the buffers. the buffers were all charged simultaneously

JustAHuman-xD commented 1 year ago

I wonder if we can simply check if there is an energy net already at the location of a component when adding, if there is just don't add it

Shelly7078 commented 1 year ago

Cheating Slimefun 4 with big brain be like : (I wonder someone actually gonna use that)