[MC-7771] Comparator not updating status after reloading chunks Created: 18/Jan/13 Updated: 27/Mar/17 Resolved: 01/Mar/13 |
|
| Status: | Resolved |
| Project: | Minecraft: Java Edition |
| Component/s: | None |
| Affects Version/s: | Snapshot 13w02b, Snapshot 13w03a, Snapshot 13w04a, Snapshot 13w05a |
| Fix Version/s: | Snapshot 13w09c |
| Type: | Bug | ||
| Reporter: | Anthony Martin | Assignee: | Unassigned |
| Resolution: | Fixed | Votes: | 22 |
| Labels: | redstone-comparator | ||
| Issue Links: |
|
||||||||||||||||||||||||||||||||
| CHK: | |||||||||||||||||||||||||||||||||
| Confirmation Status: | Community Consensus | ||||||||||||||||||||||||||||||||
| Game Mode: | Survival | ||||||||||||||||||||||||||||||||
| Description |
|
When the world unloads, often comparators pointing away from containers will continue to output their signal, even when the container becomes empty. Steps to recreate: 1. Place a hopper 1 block above the ground. When the hopper empties, one would expect the powered rail to become active, causing the minecart to move away. Instead, due to this bug, this cannot happen unless the comparator is broken and put back. If it is left alone, it stays powered, even when the hopper becomes empty. Possible Clues: This behavior was observed on SMP; player located greater than 1 million blocks away from spawn. |
| Comments |
| Comment by Ali [ 28/Feb/13 ] |
|
i noticed that my comparator clocks freeze if they are pointing to north/south, not if pointing to east/west! |
| Comment by MisterSanderson [ 12/Feb/13 ] |
|
Duplicate of MC-711. |
| Comment by Zipron Brendt [ 01/Feb/13 ] |
|
http://youtu.be/aKV31r30Iuc more 13w05a testings, finally found a way to 100% duplicate the glitch. |
| Comment by Zipron Brendt [ 31/Jan/13 ] |
|
Still bugged in 13w05a |
| Comment by Adam Sligar [ 29/Jan/13 ] |
|
Here is the working we are currently using in our server. Create a block above the problem comparator(s) then run redstone on top of that block...turn the redstone on/off to cause an update. This is currently being used in an autosorter for a quarry...the items are transfered by cart to a sorting system and the cart runs over a detector rail which briefly turns on a line of redstone that runs above the rows of comparators. |
| Comment by Kimitsu Desu [ 29/Jan/13 ] |
|
@Calvin what bug are you talking about? Also, I personally don't think that solving this problem by kickstarting comparators with random block updates is a good idea. Very bad for reliability. |
| Comment by Calvin Scrabeck [ 29/Jan/13 ] |
|
Kimitsu Desu, I was actually thinking about this last night while I couldn't sleep XD, currently they don't, but they should! It makes perfect sense to me, and it would keep everyone from abusing a really usefull bug. I hope that is added! |
| Comment by Yuki Mitsu [ 29/Jan/13 ] |
|
http://www.youtube.com/watch?v=UxaP8qtlffA |
| Comment by Kimitsu Desu [ 29/Jan/13 ] |
|
Can comparators receive random block updates? |
| Comment by George Gates [ 28/Jan/13 ] |
|
I can make this happen repeatedly with command block output by moving away so the chunk unloads. After heading back in, I need to cause a block or redstone update to the affected comparator to make it start working again. |
| Comment by Zipron Brendt [ 28/Jan/13 ] |
|
Hmm, this is very strange, It seems that with some it works, and others it don't.. I don't get it.. But yes indeed you're right, still bugged.. |
| Comment by Kimitsu Desu [ 28/Jan/13 ] |
|
@Zipron Brendt, can't confirm. Still gets stuck for containers placed after 13w04a. |
| Comment by Zipron Brendt [ 28/Jan/13 ] |
|
Ok, I know now why it doesn't work and what to do to fix it: |
| Comment by Philipp Nier [ 28/Jan/13 ] |
|
Can confirm. Very annoying. Tips to reproduce in smp: 1 Build up this setup: http://m.youtube.com/watch?v=pwEc8ZbWqWE |
| Comment by Kimitsu Desu [ 28/Jan/13 ] |
|
Can confirm for CSP, SMP. Always happens to me after server restart. For instance, automatic chicken egg dispenser stops shooting and just keeps collecting eggs (comparator pointing out of the dispenser persists in OFF state) |
| Comment by Zipron Brendt [ 27/Jan/13 ] |
|
http://youtu.be/eckWeXK2Nck Here you go. |
| Comment by Anthony Martin [ 27/Jan/13 ] |
|
Thanks for going to so much trouble to try to recreate the issue, Martin. Unfortunately, the problem is indeed still present in 13w04a. I tested the same rail/hopper configuration, even broke the comparators and placed them back, just in case that made any difference. It did not. Lag was practically eliminated from this test because the SMP server being tested was accessed directly by the op player on the LAN, no other players were on. I did manage to simplify the steps to recreate the problem, and even confirmed a new clue: the problem may be directional. Or direction affects it in some way. I made four pistons activated by button/comparator. Only one of them is affected by this defect right away. The one in my example that has problems is the one in the front left of the picture: This screenshot was taken while looking North. So the comparator being affected is the one pointing East. But this behavior seems random. I have another comparator affected by this defect in a completely different circuit pointing South ( the piston is triggered by a block powered from the top). Just logging out and logging back in triggers the bug, in this case. Subsequent tests did not reveal the same issue each time, so this is highly intermittent. Also confirmed that block updates do indeed clear the problem temporarily. |
| Comment by GrygrFlzr [ 27/Jan/13 ] |
|
Unable to reproduce in 13w04a, both with comparators directly pointing from the hopper or with a block in-between. |
| Comment by Zipron Brendt [ 27/Jan/13 ] |
|
I have 256 comparators in my base only for item sorting, I don't want to build 256 pistons, which will make my setup a lot larger, just for a bug which should be fixed.. I don't understand why mojang doesn't look into this one, it's a major bug.. So everyone thumb it up? |
| Comment by Calvin Scrabeck [ 26/Jan/13 ] |
|
Best workaround for now is to essentially BUD the comparator. I place a piston right next to it conected with redstone to a buttonand when I log onto my world I hit that one button and all the pistons in my base go off and reset the non-updating comparators essentially. Really big fix though, since I'm sure it won't be a problem in 1.5 :S |
| Comment by Adam J. Sycz [ 25/Jan/13 ] |
|
This definitely happens in SP after chunk unloading/reloading. Every, single, time. I don't have to break comparators though, any action involving redstone update next to it fixes her up. One of my (hopefully temporary) workarounds is to trigger a signal (from either detector rail or mob falling thru tripwire) next to comparator. It does not have to actually modify comparator's state directly. In one instance I have a redstone torch placed directly above the repeater amplifying comparator signal (hopper load); said torch is operated by falling mob tripwire. The torch is shining onto repeater from top 1 block above - so it has no effect on the actual circuit but seems it works well as my train no longer waits till infinity and I've tested it at least a dozen times now. I do similar thing at unloading station, where arriving cart triggers a signal (just a wire will do) running in the vicinity of the comparator. One thing I noticed that the comparator attached directly to hopper/chest etc works fine. Trouble for me seems to be with comparators attached via block. |
| Comment by John White [ 22/Jan/13 ] |
|
It effects comparators on chests, droppers etc as well. Every time I log back into my SMP server I have to break and replace a most of the comparators as they're disabled. It's a race to get to my item sorter before it gets swamped by items! |
| Comment by Tony Chiu [ 21/Jan/13 ] |
|
This does not happen in SP as far as I have tested. Pointing a comparator at an existing one does not solve the situation as it seems comparators stop updating the blocks in front of them for whatever reason. |
| Comment by Zipron Brendt [ 21/Jan/13 ] |
|
I actually though SP and SMP were the same? you could point another comperator to the once you need for sorting machines, however they could also get stuck.. |
| Comment by Tony Chiu [ 20/Jan/13 ] |
|
I have tested this extensively, it happens most of the time, and it happens the moment you log off and back on. Any workarounds for an item sorter on SMP? |
| Comment by Adam Sligar [ 19/Jan/13 ] |
|
This bug has also happened to me, but I was standing literally right next to the comparator |