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 randomly stops "piping" #6356

Closed
radapaul opened this issue Jul 19, 2020 · 80 comments
Closed

Energy randomly stops "piping" #6356

radapaul opened this issue Jul 19, 2020 · 80 comments

Comments

@radapaul
Copy link

radapaul commented Jul 19, 2020

Issue description:

Energy cables randomly stop working sometimes , having to replace the malfunctioning one in order to repair the energy chain , and sometimes after replacing it stops 1-2 cables pieces further
Untitled

Steps to reproduce:

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

Forge: 32.0.67
Mekanism: 10.0.2

Other relevant version:

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

[gist / pastebin / etc link here. Please make sure that it isn't set to expire.]

@pupnewfster pupnewfster self-assigned this Jul 19, 2020
@pupnewfster pupnewfster added this to the 10.0.3 milestone Jul 19, 2020
@pupnewfster
Copy link
Member

I believe what is happening is that for some reason the networks are not "joining" together, but I am not quite sure why or how as I am unable to reproduce this. I would be interested in seeing the latest log the next time this happens and also what the network reader outputs about the network if used on both the working section of cabling, and the "broken" section of cabling. Also how often does this end up happening or was it only a odd one off occurrence that you haven't had happen again since?

@radapaul
Copy link
Author

radapaul commented Jul 21, 2020 via email

@pupnewfster pupnewfster modified the milestones: 10.0.3, 10.0.4 Jul 21, 2020
@pupnewfster pupnewfster modified the milestones: 10.0.4, 10.0.5, 10.0.6 Jul 27, 2020
@archer9234
Copy link

archer9234 commented Aug 3, 2020

I've ran into this problem on my server too. It happened from a different issue. Refined Storage bugged out when I connected external storage to a Immersive Engineering fluid tank. It broke the entire RS system. The grid wouldn't allow me to access the storage. Or pull things out. The grid would stay on, when it was fully cut off from power and the network. After Disconnecting it from the tank. It got "fixed". But than the power problem with mekanism started. It first happened to the RS Controller block losing power. The pipe lost power at the connection point, like here. Than followed by all Meka machine blocks losing power.

I did attempt removing the whole cabling in my base. It didn't fix it permanently, when the server is restarted. Also, the cabling storage amount will keep going up infinity, as you disconnect the problematic section. So say you have a purple cable. The internal buffer is 400MFE. Removing and adding it back on will increase it by 40 units. And you can do that till it has thousands of MFE units. And it will just drain. Even when nothing is using it. The piping problem can also spread to remaining pipe blocks and other devices that use power, on other mods. Deleting even the machines doesn't help. Either the entire map or chunk is permanently corrupted.

Also, the server was throwing out a error with the Mekanism energy cube. When this issue started. It saw the Controller block from RS as a energy cube. The error the server threw out in the console: https://imgur.com/i2HK5AW

@Remlej9
Copy link

Remlej9 commented Aug 3, 2020

This also happens for me on my friends server, and it always happens when we unload the chunks and then load them again. It's a pain to go through the entire cable and reconnecting all the cables. And when I reconnect them at one place it usually breaks at another place. https://imgur.com/a/AmmZApx

@pupnewfster
Copy link
Member

Ok a few things:

  1. What version of Mekanism are you on
  2. Just to confirm all these cases are on a server
  3. If you could provide a list of mods that would be useful given I am not currently sure (as I haven't been able to reproduce it) if this is mekanism, so getting a list of mods from everyone it is happening to may help narrow down what is actually causing this.

@archer9234
Copy link

archer9234 commented Aug 3, 2020

Here's my server mod folder as I left it since the bug occurred: https://imgur.com/CEjg7oW Minus Quark. That was added post bug.

@Remlej9
Copy link

Remlej9 commented Aug 4, 2020

I'm on a server running mekanism 10.0.6.429, these are my mods: https://imgur.com/a/U4AKxXh

Edit: It also seems to be occuring a bit randomly now as it hasn't happened in a while but when it happens it's because we enter the chunks in a portal or unload and load them again

@Eztex
Copy link

Eztex commented Aug 14, 2020

I have had this issue recurring for several weeks now. I am not running a server. Started with the Refined Storage controller losing power but most recently I have noticed several Mekanism machine were losing power. Advanced Smelter, Rotary Cond. etc. I seems that it will happen either when I quit to title or if I AFK and Minecraft goes to the Game Menu. My mod list is rather long so I'll see if I can generate an easy list. Forge 108, 1.16.1

Update 1 : This is happening every time I log in and is occurring on 2 different power grids that are not connected.

@MunkeeJuice
Copy link

I can report the same thing is happening in my single player world. I'm playing Valhelsia 3 (Mekanism version 10.0.9.432) This is happening a lot at the time of writing this. I have not left the chunks that the cables are in or quit to the game menu. It just
randomly happens to different sections of cable, sometimes replacing a section of cable fixes it, others you have to replace an entire length of cable. I have even tried upgrading sections of cable to higher tier to see if that would kick it into life but it is still the same.

Attached screenshot where you can see the power just stops.

2020-08-21_23 01 23

@AWalterJackson
Copy link

AWalterJackson commented Aug 22, 2020

So I'm operating a server using the Valehlsia 3 modpack on Version 3.0.11, which is running Mekanism 10.0.8 on Forge 32.0.106.

I've been running into this issue with cables running through my base, each cable thinks that it isn't connected to any other cables or machines, they can be manually fixed by replacing every 2nd cable (Replacing a cable seems to fix any cables adjacent to it, possibly because of the blockUpdate?)

I checked the server logs for the last week, and while there were some references to Mekanism finding unexpected tileEntities (always expecting an energy cube and finding something else), none of these were referencing blocks within the network I know to have broken.

I did find however that when I restarted the server (to get the log files), the cables had fixed themselves after the restart, so this may be a workaround for users experiencing this issue.

Screenshot of a "broken" cable according to HWYLA, showing that it isn't forming a cable network.
brokencable

Screenshot of a working cable according to HWYLA.
goodcable

Output from cables using a network reader. (Broken cable above, working cable below with the broken/not broken connection point visible just to the left of the minimap, the "full" cables are broken).
Screenshot 2020-08-22 14 41 46

@programmer2514
Copy link

I am playing Valhelsia 3 and I can confirm that this issue is still happening as of Mekanism v10.0.9.432 with Forge v32.0.108:
CableOn
CableOff
This is on a cable crossing ~12 chunks to power a Digital Miner.

@pupnewfster
Copy link
Member

I would be interested in knowing if anyone is still running into this with Mekanism 10.0.18 as various things have been fixed including some issues related to capabilities/chunk unloading/reloading.

@IdahoSixString
Copy link

IdahoSixString commented Dec 10, 2020

I am playing Valhelsia 3 and I can confirm that this issue is still happening as of Mekanism v10.0.17.444.

If I want things to reconnect I have to break cable and replace it

@pupnewfster
Copy link
Member

I am playing Valhelsia 3 and I can confirm that this issue is still happening as of Mekanism v10.0.17.444.

If I want things to reconnect I have to break cable and replace it

I said 10.0.18 not 10.0.17, whether it is broken on 10.0.17 or not is irrelevant to my question.

@Viktordrr4
Copy link

Playing Valhelsia 3 with 10.0.18.445 and have this issue.

@pupnewfster
Copy link
Member

https://discord.com/channels/554379889122213888/560583846509281280/912041633334296667 Seems like this may not be entirely fixed after all...

@pupnewfster pupnewfster reopened this Nov 21, 2021
@pupnewfster pupnewfster removed this from the 10.0.23 milestone Nov 21, 2021
@sippeeey
Copy link

sippeeey commented Dec 12, 2021

It seems to be the same problem in version 10.0.24. (Mekanism-1.16.5-10.0.24.453.jar)
It is randomly, sometimes the multi block structures are connected and any other are disconnected. Is also happens with the "induction casing battery" or "Thermal Evaporation Tower"

2021-12-12 12_25_32-Minecraft_ 1 16 5 - Multiplayer (3rd-party Server)

And its fixed randomly after Server restart. Before i restarted, the i had fix the left tower by replace on block from the multi block, but the right tower was broken. after restart also the right tower was fixed, although i dont replace a block from the multi block structure.

! To Replace a pipe on the port doesn't fix anythere.

2021-12-12 12_32_58-Minecraft_ 1 16 5 - Multiplayer (3rd-party Server)

Server java version:
openjdk version "16.0.1" 2021-04-20
OpenJDK Runtime Environment (build 16.0.1+9-Ubuntu-120.04)
OpenJDK 64-Bit Server VM (build 16.0.1+9-Ubuntu-120.04, mixed mode, sharing)

Client java verison:
Java 1.8.0_51 64bit

Minecraft Server version:
mohist-1.16.5-778-server.jar

Modlist:
ae2wtlib-0.3.2-1.16.5.jar
alexsmobs-1.12.1.jar
appleskin-forge-mc1.16.x-2.2.0.jar
appliedenergistics2-8.4.4.jar
Aquaculture-1.16.5-2.1.21.jar
BetterThirdPerson-Forge-1.16.4-1.5.1.jar
BiomesOPlenty-1.16.5-13.1.0.477-universal.jar
blockcarpentry-1.16-0.4.0.jar
Bookshelf-Forge-1.16.5-10.3.29.jar
carryon-1.16.5-1.15.5.15.jar
cfm-7.0.0pre22-1.16.3.jar
cgm-1.0.1-1.16.3.jar
Chisel-MC1.16.5-2.0.1-alpha.4.jar
chiselsandbits-1.0.43.jar
ChunkAnimator-1.16.5-1.2.4.jar
chunkloaders-1.1.7-mc1.16.5.jar
citadel-1.8.1-1.16.5.jar
CodeChickenLib-1.16.5-4.0.4.435-universal.jar
CraftTweaker-1.16.5-7.1.2.468.jar
create-mc1.16.5_v0.3.2g.jar
CreativeCore_v2.2.1_mc1.16.5.jar
CTM-MC1.16.1-1.1.2.6.jar
Cucumber-1.16.5-4.1.12.jar
Cyclic-1.16.5-1.5.11.jar
DynamicTrees-1.16.5-0.10.0-Beta25.jar
DynamicTreesBOP-1.16.5-2.0.6.jar
DynamicTreesPlus-1.16.5-0.1.0-Beta10.jar
elevatorid-1.16.5-1.7.13.jar
EnderStorage-1.16.5-2.8.0.168-universal.jar
fishingoverhaul-1.16.5-1.0.2.jar
FluxNetworks-1.16.5-6.1.7.12.jar
flywheel-1.16-0.2.5.jar
gravestone-1.16.5-1.0.6.jar
Hwyla-forge-1.10.11-B78_1.16.2.jar
invtweaks-1.16.4-1.0.1.jar
ItemPhysic_v1.4.18_mc1.16.5.jar
jei-1.16.5-7.7.1.137.jar
JEITweaker-1.16.5-1.0.1.35.jar
JustEnoughResources-1.16.5-0.12.1.128.jar
kotlinforforge-1.16.0-obf.jar
lemonlib-1.3.6.jar
Mantle-1.16.5-1.6.127.jar
Mekanism-1.16.5-10.0.24.453.jar
MekanismAdditions-1.16.5-10.0.24.453.jar
MekanismGenerators-1.16.5-10.0.24.453.jar
morecfm-1.3.1-1.16.3.jar
Morpheus-1.16.5-4.2.70.jar
MouseTweaks-2.14-mc1.16.2.jar
MysticalAgriculture-1.16.5-4.2.5.jar
obfuscate-0.6.2-1.16.3.jar
OreExcavation-1.8.157.jar
simplegens-1.16.5-3.0.9.2.jar
Space-Bosstools-1.16.5-5.4.jar
StorageDrawers-1.16.3-8.3.0.jar
supermartijn642configlib-1.0.9-mc1.16.jar
TConstruct-1.16.5-3.2.1.296.jar
TravelersBackpack-1.16.5-5.4.5.jar
valkyrielib-1.16.5-3.0.9.5.jar
vehicle-mod-0.45.2-1.16.3.jar
WailaHarvestability-mc1.16.x-forge-1.1.15.jar
WAWLA-1.16.5-8.0.1.jar
Xaeros_Minimap_21.22.2_Forge_1.16.5.jar
XaerosWorldMap_1.18.3_Forge_1.16.5.jar
xlfoodmod-1.16.4-1.2.0.jar

@pupnewfster
Copy link
Member

My guess is this isn't the case but I forgot to actually confirm it with the person who reported still having this in 10.0.24 on discord, but @sippeeey are you able to reproduce it if you test without Mohist?

@Icron387
Copy link

Icron387 commented Jun 25, 2022

Problem still exists in Mekanism 10.2.2

Here's a picture showing it happening within one chunk. Granted, I left said chunk and came back to this error, but still.

image

@pupnewfster

@SirEndii
Copy link
Contributor

This bug tastes good

pupnewfster added a commit to pupnewfster/Mekanism that referenced this issue Jul 27, 2022
…e of MinecraftForge/MinecraftForge#8909 to mark transmitters as unloaded when the chunk they are in becomes inaccessible (mekanism#7428 and hopefully also mekanism#6356)
pupnewfster added a commit to pupnewfster/Mekanism that referenced this issue Aug 6, 2022
…min forge version to 42.0.9. Added some initial game tests related to transmitters, and also make use of MinecraftForge/MinecraftForge#8909 to mark transmitters as unloaded when the chunk they are in becomes inaccessible (mekanism#7428 and hopefully also mekanism#6356)
pupnewfster added a commit that referenced this issue Aug 6, 2022
…min forge version to 42.0.9. Added some initial game tests related to transmitters, and also make use of MinecraftForge/MinecraftForge#8909 to mark transmitters as unloaded when the chunk they are in becomes inaccessible (#7428 and hopefully also #6356) (#7560)
@pupnewfster pupnewfster added this to the 10.3.2 milestone Aug 6, 2022
@pupnewfster
Copy link
Member

I believe this is fixed in 10.3.2 (for MC versions 1.19.1 and 1.19.2), if anyone can reproduce it on that version or newer please let me know and I will reopen the issue. Unfortunately due to the changes required for the fix it is not practical/feasible to backport the fix to unsupported MC versions (1.16 and 1.18).

@MenJoe
Copy link

MenJoe commented Dec 28, 2023

On MC 1.20.1, mekanism 10.4.5 and forge 47.2.16 it happens again. Im playing on ATM 9 version 0.2.33 and using FTB chunks to load base sometimes when i log back to server cables stop transmiting power, breaking 1 cable and placing it back sometimes fix it or propagate it to next cable. One fix to that i found is unload everyting, move away and load chunks again.

@mekanism mekanism deleted a comment from Caldoric Dec 28, 2023
@SirEndii
Copy link
Contributor

Tbf I never had this issue in my worlds
But I also don't have large cable networks, I use quantum entangloporters a lot

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