McJtyMods / XNet

Advanced item/liquid/energy/... networking
MIT License
92 stars 51 forks source link

[bug] Power Channel cannot be disabled for seperate networks connected between routers #175

Open michaelagard opened 6 years ago

michaelagard commented 6 years ago

Server/Client: Horizons III 1.1.0 build, Minecraft version 1.12.2 XNet: 1.12-1.4.1

In this example, I have 2 networks connected through one router. We'll call these red, and green. Power generation is coming from network red and is being extracted from the generators on a power channel called Red Power. The router is set to have Red Power published to Power.

On the green network, I have a channel called Green Power. I have Green Power connected to the red network's published name, "Power". So in theory, I should be able to share power between these two networks on the "Power" channel. This works flawlessly, but the issue lies in when I disable processing on network green's "Green Power" channel. The router's channel "Power" is still able to push power to the machines/controller on network green.

michaelagard commented 6 years ago

https://www.youtube.com/watch?v=5XTtEyvp4uc video of bug

godsyn commented 6 years ago

@McJty In addition, if you would like to connect and we'll gladly show you where the issue lies within our server.

I've emailed you the server information to the email address provided in your profile, and have referenced this ticket.

calloatti commented 6 years ago

https://github.com/McJty/XNet/issues/82

Solution for now: do not route power.

CptLance commented 6 years ago

Found a work around,

Turn the router on the power channel on and off

On the controller, set up what you want to do in that local network, tuen on the channel, click the router on the power channel, insert power, then close the channel (not the channel the like ah sub channel? idk what you call it, the page that lets you control connectors, insert/extract selection) , power should flow.

OR

another one that also worked set up everything then, on the local channel that your transmitting power from, turn that router on and off (on the power channel)

Hope this helps 😄

Edit: spelling, clarification