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

Energy Conduits not transferring power when replaced #9

Open
Xefyr0 opened this issue Dec 3, 2024 · 4 comments
Open

Energy Conduits not transferring power when replaced #9

Xefyr0 opened this issue Dec 3, 2024 · 4 comments

Comments

@Xefyr0
Copy link

Xefyr0 commented Dec 3, 2024

Minecraft Version

1.20.1

Mod Version

Modpack: Monifactory 0.10.4; KubeJS EnderIO 0.6.0

Describe the bug!

After replacing a base full of KJS energy conduits, there were difficulties getting energy to transfer.

First, a relog was necessary to get the AE2 system powered:
https://www.twitch.tv/videos/2314611340?t=5h12m31s

Second, many other conduit interfaces had to have "Insert" toggled:
https://www.twitch.tv/videos/2314611340?t=5h21m1s

Disclaimer: I'm not the person depicted in the VOD. I'm one of the modpack's developers instead.
I'm happy to answer any questions about the issue, though!

Crash Report

No response

Log

No response

Additions and Modifications

No

Additions and Modifications Description

No response

Did the issue happen in singleplayer or on a server?

Server

@rlnt
Copy link
Member

rlnt commented Dec 3, 2024

The upgrade replacement logic is handled by EnderIO itself. It's not done by the add-on.
I could probably debug this issue and PR a fix to EnderIO when I find the time though.

Were you able to reproduce this in a smaller example?

@Xefyr0
Copy link
Author

Xefyr0 commented Dec 4, 2024

Yes actually - it was surprisingly simple. I had the impression that this bug wouldn't be very consistent for some reason.
reproducible

In the lastest version of Monifactory, I placed down an AE2 controller, Energetic Alloy Energy Conduit, and Numismatic Dynamo as shown in the image.
Next, I right-clicked on the conduit with a Vibrant Alloy Energy conduit, replacing it.
Jade then showed the AE2 controller using up its internal energy buffer without being replenished by the conduit.

@Xefyr0
Copy link
Author

Xefyr0 commented Dec 5, 2024

I should have done this earlier, but this bug is also reproducible with just KubeJS EnderIO and its dependencies.
Thus, we can rule out interactions with other mods as a potential cause. Both the above recreation and this recreation use the same script:

/**
 * Define custom EnderIO conduit tiers and their flow rate
 * using KubeJS-EnderIO.
 */
EnderIOEvents.conduits(event => {
    event.registerEnergyConduit("conductive_conduit", "Conductive Iron Energy Conduit", 512)
    event.registerEnergyConduit("energetic_conduit", "Energetic Alloy Energy Conduit", 2048)
    event.registerEnergyConduit("vibrant_conduit", "Vibrant Alloy Energy Conduit", 8192)
    event.registerEnergyConduit("endsteel_conduit", "End Steel Energy Conduit", 32768)
    event.registerEnergyConduit("lumium_conduit", "Lumium Energy Conduit", 131072)
    event.registerEnergyConduit("signalum_conduit", "Signalum Energy Conduit", 524288)
    event.registerEnergyConduit("enderium_conduit", "Enderium Energy Conduit", 2097152)
    event.registerEnergyConduit("cryolobus_conduit", "Cryolobus Energy Conduit", 8388608)
    event.registerEnergyConduit("sculk_superconductor_conduit", "Sculk Superconductor Energy Conduit", 134217728)
})

test

@rlnt
Copy link
Member

rlnt commented Dec 5, 2024

That's a good minimal reproduction setup, thank you. This is good to know. I already talked to Rover, and have some ideas, but I can't tell you an ETA. I don't have a lot of time at the moment.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants