mekanism / Mekanism

A mod for Minecraft
MIT License
1.39k stars 528 forks source link

Machines rotating by themselves #3977

Closed jadeonking closed 7 years ago

jadeonking commented 7 years ago

the advanced solar panel and electrolytic separator just randomly rotate it doesn't seem to effect the inputs and outputs of the machines not sure if any other Mekanism machines do this and to clarify only mekanism machines are doing this its very strange

Kzorith commented 7 years ago

I have noted this with a bio-generator that I have placed in the world. It will, at random turn 90 degrees right, breaking the connection with the energy cell that it's touching and stopping work. It also appears to clear out the biofuel that is displayed in the window of it. However if I open the UI, it rotates back to it's original position and begins working again. This was in both 292 and 294 releases.

Ommina commented 7 years ago

Add Elite Enriching. Elite Crushing, and Elite Smelting factories to the list of tiles that turn around randomly. Interestingly, while they are turned, The One Probe reports them all as "Elite Smelting Factory". As with @Kzorith above, opening the GUI fixes both the rotation and the name reported.

In my case, all machine are supposed to be facing South. I've not noticed a North-facing machine rotated.

292 with forge 2122.

duragizer commented 7 years ago

Having the same problem, for me it is contained within a chunk but if it starts in a chunk all the mekanism machines will rotate and flicker. Also in the machines GUI the item slots, power meter flicker in and out looks like it is empty but there are items there, the auto split flicker on and off.

Also when this happens the FPS is unplayable, get 3fps around the machines. Solved that by using optifine though, with that fps is unaffected.

OldManMining commented 7 years ago

Same rotating problems, but mine includes the bins. I come back to my storage area and every face (or almost every one) has rotated 180º. Same as above, where you access the bin and it shows correct again. In my new base building zone, it seems to be when I leave the area and come back. In my previous mining area, however, I could set down a bin or machine and watch it turn backwards almost instantly. On a side note, I thought the area of the map was glitched, because inventories would vanish as you were using them (crates, chests, machines, everything from any mod or vanilla) and show back up after clicking the sort button or waiting a few seconds. On changing areas, this seems to have stopped, but the Mekanism rotating continues.

Hexmare commented 7 years ago

Add the Digital Miner to the rotating list. Using version .295 and when I first put the miner down it was rotating 90 degrees. When I Saw this take place, I was not able to destroy the machine and replace. I disconnected and reconnected to my local server and was able to destroy the miner and replace it. After re-setting the miner it no longer rotated, however it did shift back and forth 1 block. The operation of the unit was normal, the power feed even though it looked disconnected still was feeding power. Very odd.

Skar78 commented 7 years ago

Same problem. Encountered in multiple instances:

Abridged Beta 4, 5 and 6 - with factory upgrades under a Forestry farm see here - and now also in Hermitpack 1.4 and 1.5.

However in Germitpack everyhting was fine for many many hours, until I created a space controller from rftools with a space covering the mekanism factories.

ghost commented 7 years ago

I am also affected by this bug in 295 but it seems to happen more often in chunks that are chunkloaded by FTB Utilities--although not only in those chunks.

ab9rf commented 7 years ago

I am having problems with a metallurgic infuser that will briefly appear in the desired orientation, then rotate to a different orientation a few seconds later. Attempts to rotate it with a configurator have no apparent effect.

An adjacent enrichment chamber more or less rotates normally, except that sometimes when I rotate the enrichment chamber, the metallurgic infuser also rotates. And then a few seconds later, both rotate to a different position.

This behavior is quite irritating.

kurisubrooks commented 7 years ago

Having this with my metallurgic infuser, enrichment chamber and energized smelter. Quite annoying, aesthetically. The machines still work and outputs are as expected, but they just seem to always want to face South 😞

It should be noted that Mekanism Generators seem to be completely unaffected by this.

Ricket commented 7 years ago

I'm having machines randomly rotate very often. Here's an example:

image

The two metallurgic infusers both rotated on their own, the back faces are supposed to be facing the middle of that cluster of machines. And the gas tank is hilariously laying on its side! It's obviously supposed to be upright (I don't think you can even normally place it sideways like that).

If I right-click each machine then it will typically fix the rotation of the machine I right-clicked, though sometimes it messes up some other machine. For example I just right-clicked the tank and it went upright, then I right-clicked one metallurgic infuser and it fixed and I right-clicked the second metallurgic infuser, and it fixed but messed up the gas tank again. And then I right-clicked the gas tank and it was fixed. Now they are all their correct rotation:

image

But just now as my game was paused and I was typing the above, they rotated back to the broken rotations:

image

Spugit commented 7 years ago

Modpack: All The Mods

Same problem here. Some machines (noticed it first with the bins) are rotating themselves to face north.

It breaks connections with cables and other machines and the bins stop accepting items.

DietmarKrause commented 7 years ago

latest build of All the mods(23 March 2017) the wind turbine rotate counter clockwise 90 degrees from time to time and they dont give RF any more. Opening the GUI solves it for the moment, often only for 5 sec. or so. It started after building a enderio farming station with dark oak wood trees 10 blocks away, but they dont obstruct the sky of the wind mills. Perhaps the wind mills were to close to one- another, they had a space of 2 blocks between them. I rebuild them on the roof on my building with 3 blocks space and enderio conduits and until now everything seems to be fine.

SteveSutton1989 commented 7 years ago

I also noticed this. With all machines so far. One of the main causes for me is when something is updated. Ex: turn on my Rf tools shield projector or turning on a compressor. Again though it doesn't effect input and output it's purely graphical.

DietmarKrause commented 7 years ago

I have to look for this: if it is purely graphical. I am not sure until now. But the far to laud win mills were suddenly quiet :) And update: yes can be. in my case i had a enderio farm station with oak seeds and boen meal in it. The chunk gets updated by every use of bone meal i guess?

tomelfring commented 7 years ago

Acording to @Ricket, who had made a pull request for fixing this issue:

Forge 1922+ introduced a new TileEntity syncing mechanism, which by default calls readFromNBT with a compound that contains only x/y/z/id data. It does this on chunk load, and when blocks are marked dirty or need update. As a result, the Mekanism tile entities were having readFromNBT called where the expected keys were not in the NBTTagCompound, so all the state was being set default, until later Mekanism's custom networking would overwrite it to bring it in sync with the server again, and repeat. I just added an implementation which does not call readFromNBT. Fixes: #3977 #4170 (maybe others too) In the future, we should remove Mekanism's custom networking code for sending TileEntity state, and instead use this built-in one properly. It looks like they have similar interfaces so it should be a fairly straightforward port.

This issue has a fix available, it's only a matter of time to have it in a released version.